Greasemonkey script on Firefox network error page -
i want run greasemonkey script on firefox network error pages, such (but not limited to) one:

can chrome:// urls? if so, they? if not, there way?
well, on right track. 2 things:
- network error pages begin
about:neterror, notchrome://. if try accessww.example.com(missing w) redirectedabout:neterror?e=dnsnotfound&u=http%3a//ww.example.com/&c=utf-8&d=firefox%20can%27t%20find%20the%20server%20at%20ww.example.com - you cannot
// @include about:neterror*.
but since know url format, can
// @include * and check:
if (document.documenturi.search('about:neterror') != -1) { dostuffonneterror(); } thanks hints, brock.
Comments
Post a Comment