GM_addStyle - scriptish/scriptish GitHub Wiki

Description

GM_addStyle adds CSS to a document by creating a <style> element and inserting it to the bottom of the <head>.

Arguments

String css

A string of CSS.

Example

GM_addStyle("body { color: white; background-color: black; } img { border: 0; }");

Related Pages

Manual: API

⚠️ **GitHub.com Fallback** ⚠️