A Firefox extension to create/run/edit small scripts. Created to improve the Bookmarklet feature, specifically to allow quick editing and testing. It also supports running the scripts inside iframes (bookmarklets don't).
What is Scripts runner?
Scripts runner is a Firefox add-on that provides a convenient way to create, run, and edit small scripts. It improves the Bookmarklet feature by allowing quick editing and testing, and supports running scripts inside iframes. The extension also includes features to export, import, and manage scripts. However, caution is advised when running untrusted scripts obtained from unknown sources. The source code is available on Github for further customization and enhancement.
Provides a button that, when pressed, will show a list to create, delete, run and edit scripts. It also provides a button to export the current scripts to a json, and another to import scripts. [Don't run untrusted scripts obtained from unkown sources!]
Note: this is my first published extension, and it has currently very basic functionality. I'll consider upgrading it in the future, criticism is welcomed.
Source code available on Github: https://github.com/TrianguloY/Scripts-Runner---Firefox-extension
Permissions: <all_urls>: Permission needed to run scripts inside iframes generated dinamically (unfortunately the 'activeTab' permission don't allow this). No scripts are run in any background tab or anywhere else. storage: Permission used to save and retrieve the scripts. Otherwise when closing/reopening the extension they would be gone. clipboardRead: The export/import feature uses the clipboard for convenience. Will consider removing this to manual copy/paste. webNavigation: The permission needed to run scripts in the current tab/iframe.
Scripts runner is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this add-on. Review carefully before installing. We recommend that you only install Scripts runner if you trust the publisher.
Scripts runner has earned a fairly good reputation and likely can be trusted.