Disallow Twitter.js except on Twitter.com
Disallow Twitter.js except on Twitter.com
How do I Disallow Twitter.js except on Twitter.com?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0
Re: Disallow Twitter.js except on Twitter.com
I'm not sure whether you want to block a file named "Twitter.js" when not on twitter, which would be something like:
or block active content from twitter when not on twitter, which would be:
(you need to script-allow twitter.com for this to have any useful effect)
Code: Select all
Site ^.+/Twitter\.js(?:[\?,;&]|$)
Accept from .twitter.com
Deny INC
Code: Select all
Site .twitter.com
Accept from .twitter.com
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox INC
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140618 Firefox/24.0 PaleMoon/24.6.2