greasemonkey/greasemonkey — Issue #1468: Unreachable script's settings
Author: Drugoy
Created: 2011-11-13 16:23:09+00:00
State: open

I would like to reopen my old request (but I have not enough rights to), as I formed a new thesis to argue your one:

Currently, the "userscript commands" menu contains the list of commands only for the currently running scripts.
So if you want to configure your scripts - you'd need to make them meet "@include" rule's criteria.

And now imagine a situation when a script is meant to redirect a user from some "A" pages that meet "@include" rule's criteria to pages "B".
Page "A" - is the one which meets the "@include" rule's criteria, so if you want to change that script's settings - you'll need to turn the script off before you visit page "A" in order to not let script redirect you. But if you turn it off - you won't see script's settings, as they get shown only for active scripts.

This was an example when a script was made for redirecting the user.
And what if the script has many functions and among the list of them - is a one, that makes some kind of irreversible actions? For example: some data deletion/change.
Now imagine a situation when user wants to have that script working, but wants to turn off that particular function, that deletes/changes something on the page.
He'd need to visit the page that meets "@include" rule's criteria, but if that happens - the script will be executed and the irreversible actions would be done.