[Greasemonkey] Disable Javascript?

AK108 ak10864 at gmail.com
Tue Jun 21 13:13:08 EDT 2005


window.top = window; didn't work. I tried a few other things, but none
worked. The page uses

</head>
<SCRIPT LANGUAGE='javascript'>try { if (top == self)
{top.location.href='http://www.example.com/'; } } catch(er) {  }
</SCRIPT>
<body>

(hopefully the HTML won't get mauled by email programs)

Is there any way to remove this before Firefox renders the page?

On 6/18/05, Aaron Boodman <zboogs at gmail.com> wrote:
> This script will probably fix that:
> 
> window.top = window;
> 
> --
> Aaron
> 
> On 6/18/05, AK108 <ak10864 at gmail.com> wrote:
> > One site I visit has some annoying Javascript code that doesn't allow
> > you to view the site outside of its frame. I've recently been using
> > CAPS to disable it, but I was wondering if Greasemonkey has a way to
> > easily chop out Javascript between script tags.
> >
> > Thanks in advance.
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
> >
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
> 


-- 
AK108


More information about the Greasemonkey mailing list