### [_disable-module-loaders_](https://github.com/warren-bank/js-disable-module-loaders)

This library:

```javascript
  global.define = global.require = global.exports = global.module = undefined
```

The problem that this library solves:

In userscripts&hellip;
* that run on web pages that include module loader libraries
* that [`@require`](https://www.tampermonkey.net/documentation.php?locale=en&q=externals#meta:require) external libraries that detect and utilize module loaders
  - the external libraries are not added to the global scope (ie: the `window` object)

How this library solves the problem:

```text
// @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](https://github.com/warren-bank)
* license: [GPL-2.0](https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)
