A compatibility tool to ease making User Scripts compatible with both Greasemonkey 4 and other/older user script engines.
npm install gm4-polyfillThis utility is designed to ease authoring user scripts compatible with
both Greasemonkey 4 and other/older user script engines.
Include it in your script like:
``js``
// @require https://cdn.jsdelivr.net/npm/gm4-polyfill/gm4-polyfill.min.js
Read the source of the file for more details.