GM addStyle: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
No edit summary
link to @require helper
 
Line 1: Line 1:
{{DISPLAYTITLE:GM_addStyle}}
As of Greasemonkey 4.0, this method has been removed.
As of Greasemonkey 4.0, this method has been removed.


<!-- TODO: When it exists, link to the compatibility polyfill docs. -->
You can `@require` a helper script to provide the same functionality, for example [https://gist.github.com/arantius/eec890c9ce4ff2f7abee896c0bba664d gm-addstyle.js].

Latest revision as of 15:12, 8 November 2023


As of Greasemonkey 4.0, this method has been removed.

You can `@require` a helper script to provide the same functionality, for example gm-addstyle.js.