Inject a custom CSS URL to modify the layout, colors and visibility of elements on the webpage prior to taking a screenshot.
Using a custom CSS URL can be an effective way to hide elements such as menus, headers, footers, notices, popups and adverts. Another example is changing the background color to white to save ink when printing screenshots.
The example below is using a custom CSS to hide the top menu, search bar and change the background color:
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&css_url=https://www.addscreenshots.com/css/demo/youtube.css
&url=youtube.com