Screenshot Examples · Example 2 of 2 in Custom Styles
Inject a Stylesheet by URL
A capture of example.com with a stylesheet injected from a URL (css_url): the dark theme of a public stylesheet.
Asks for a capture of https://example.com with the stylesheet https://cdn.jsdelivr.net/npm/water.css@2/out/dark.css injected (css_url).
The browser loads the stylesheet and adds it to the page before the capture, like css but from a file: here the dark theme of Water.css, a small public stylesheet for plain HTML pages. The response looks like any capture of example.com; the difference is in the image.
Request
What this example sends. Every parameter is documented on Screenshot; the exact request is in the code panel.
| Parameter | Value |
|---|---|
urlquery | https://example.com |
css_query | https://cdn.jsdelivr.net/npm/water.css@2/out/dark.css |