I've read that running scripts on other about pages than about:blank
was disabled due to security reasons but I wanted to know if it would
be possible to make it able to run securely on about:neterror pages.
The reason why I'd need that is because I've got a retry script for
error pages and it works for more than just the default "Problem
loading page" one but to make it work on that one I always have to
alter the greasemonkey.jar/content/browser.js.
This is what I changed this time, it looked a bit different before:
if (href.replace(/#.*/, '') == event.target.documentURI.replace(/#.*/,
'') || /^about:neterror/.test(event.target.documentURI)) {
I'm pretty certain that I may risk something that way since I don't
really have an idea what I'm doing there (besides getting it to work
on these error pages) as I didn't even find out how to enable it in
the first place, someone from the irc channel was so nice to hunt it
down for me.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.