styles

Type:
<string> | <string[]>
It injects into the browser page over the target url.
  • CLI
  • JavaScript
  • Shell
  • Python
  • Ruby
microlink 'https://example.com&screenshot=true&styles.0=body { background: white; }&styles.1=div { border: 1px solid gray; font-family: "Comic Sans MS", "Comic Sans", cursive; }'
The code to be injected can be defined as:
  • Inline code (e.g., 'body{background:red}').
  • Absolute URLs (e.g., 'https://cdn.jsdelivr.net/npm/hack@0.8.1/dist/dark.css').