@warren-bank/disable-module-loaders
v1.0.0
Published
global.define = global.require = global.exports = global.module = undefined
Maintainers
Readme
disable-module-loaders
This library:
global.define = global.require = global.exports = global.module = undefinedThe problem that this library solves:
In userscripts…
- that run on web pages that include module loader libraries
- that
@requireexternal libraries that detect and utilize module loaders- the external libraries are not added to the global scope (ie: the
windowobject)
- the external libraries are not added to the global scope (ie: the
How this library solves the problem:
// @run-at document-end
// @require https://cdn.jsdelivr.net/gh/warren-bank/js-disable-module-loaders/js/disable-module-loaders.js
// @require <some library 1>
// @require <some library 2>Legal
- copyright: Warren Bank
- license: GPL-2.0
