Page 1 of 1

Blocking JavaScript per page

Posted: Tue Jun 02, 2009 4:18 pm
by l_bratch
Hi there

Is it possible to use NoScript to block JavaScript at a per page level?

For instance, rather than blocking *mydomain.com*, I'd only like to block *mydomain.com/mypage*.

Thanks

l_bratch

Re: Blocking JavaScript per page

Posted: Tue Jun 02, 2009 4:51 pm
by therube
See if this helps you, Site matching.

Re: Blocking JavaScript per page

Posted: Tue Jun 02, 2009 4:59 pm
by l_bratch
Thanks, but site matching still only allows specification of hosts and not entire URLs.

Re: Blocking JavaScript per page

Posted: Tue Jun 02, 2009 5:04 pm
by Giorgio Maone
In facts, it's not possible with "classic" NoScript.
However you can use ABE (available in latest development build, NoScript Options|Advanced|ABE) by adding a rule (in the USER ruleset) like this:

Site *.somesite.com/somepage
Sandbox

Preliminary (quite old) introduction to ABE here.
Up-to-date documentation is being prepared and will be available (hopefully) by the end of this week.

Re: Blocking JavaScript per page

Posted: Tue Jun 02, 2009 5:09 pm
by l_bratch
Awesome, I shall have a play.

Thank you.