This software is no longer being tested or updated.
A web browser extension that can allow or block JavaScript.
Script Control is intended to be used as a developer addon.
For Chrome, navigate to chrome://extensions and enable developer mode. Then use load unpacked to select the deploy folder of Script Control as the extension directory.
For Edge, navigate to edge://extensions/ and enable developer mode. Then use load unpacked to select the deploy folder of Script Control as the extension directory.
For Firefox, navigate to about:debugging and enable add-on debugging. Then use load temporary add-on and select the manifest.json file within the deploy folder of Script Control. If FireFox does not load the extension, you may need to replace the background object inside source/manifest.json with the following code.
"background": {
"scripts": ["background.js"]
},
If you change any source files, use Feri to publish to the deploy directory.
Optionally set the log setting inside source/js/shared.js to true to log all sorts of information to the console.
Optionally set the rule_debug setting inside source/js/shared.js to true to log information about browser rule matches.
Use Feri to continually publish from the source directory to the deploy directory.
From the background service worker, run await test() to use the test suite.
This work has been marked as dedicated to the public domain.