I am writing a Greasemonkey script that has quite a few user settings (only using GM_getValue and GM_setValue).
What I would like to do is create a settings page for the script and add this to @ include-d sites. So, for example, it will work:
@include http:
@include about:myScriptConfig
Then the script will check the URL of the site to which it is called. If this is about: the one that he will create and display the settings page, otherwise he will simply run the script as usual.
I came up with this under the impression that you can type about: (anything) and that will be fine, only the text following: like the contents of the page. I remember this work the last time I checked it, but it was many years ago.
It looks like you cannot just display arbitrary data using, for example, about: x. Firefox just displays the error "The URL is invalid and could not be loaded."
I know about the data: the URI protocol, but it is not suitable for entering it manually in the address bar, does not lead to its own page.
Is there any equivalent behavior? Or do I just need to click the "Settings" button in the upper corner of greasemonkeyedsite.com, which hides and shows the settings for the div?
source
share