[RESOLVED] Forbid just a website

General discussion about the NoScript extension for Firefox
Post Reply
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

[RESOLVED] Forbid just a website

Post by Saad »

Hi,
i want set 'Allow Scripts Globally' but forbid just one website. is this possible? if yes, how?
Last edited by Tom T. on Tue Sep 18, 2012 4:16 am, edited 1 time in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Forbid just a website

Post by therube »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a2) Gecko/20120228 Firefox/12.0a2 SeaMonkey/2.9a2
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Forbid just a website

Post by GµårÐïåñ »

Salam azizam.

Yes there is a way to do it using ABE rule but I would strongly recommend against running on the web with JS enabled as you can't predict what crap will float your way. If you want help with the specific rule for the site you want to block, you can always shoot me a message at PM or post it here.

Did you get the previous proxy issue fixed?
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

Forbid SCRIPTS of just a website

Post by Saad »

i don't want forbid entire an HTTP address. i want set 'Allow Scripts Globally' but forbid SCRIPTS of just one website.
even not all Java Scripts . 'Auto Refresh' and 'Pop-up window' that Firefox can't block. is it possible?

Sorry. not Pop-up window, in fact New window. please see: http://soft98.ir after loads complete click on a unlinked text.
Last edited by Tom T. on Tue Sep 18, 2012 4:15 am, edited 1 time in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Forbid just a website

Post by GµårÐïåñ »

If you keep it fully blocked and just allow soft98.ir, soft98.net (if it asks) and webgozar.ir, the whole site works without having to allow all the ad ones from persianwhois and clishare. Up to you though, tell me what script you want to block on that and I will write you the rule, but I say do it the original way, block all, allow just the ones I told you instead.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

Re: Forbid just a website

Post by Saad »

Giorgio Maone,
a month ago for first time i decide to "Forbid Scripts Globally" for ever. but after few weeks use, i irked. Please add new feature that users can forbid Scripts of just few (or whatever they want) websites. i beg you. please.
Last edited by Tom T. on Tue Sep 18, 2012 4:11 am, edited 1 time in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Forbid just a website

Post by Tom T. »

Saad wrote:Giorgio Maone,
a month ago for first time i decide to "Forbid Scripts Globally" for ever. but after few weeks use, i irked. Please add new feature that users can forbid Scripts of just few (or whatever they want) websites. i beg you. please.
NoScript "Features" Page
Allow Scripts Globally (dangerous) switches NoScript in the (not recommended) "Default Allow" mode. Only sites and objects explicitly marked as untrusted will be disabled
So, check "Scripts Globally Allowed" on NoScript menu - Options - General tab.
Blacklist any scripts you wish by adding them to about:config noscript.untrusted. Double-click this line. A box pops up. Add the sites, leaving exactly one space between entries. OK.

You can also use NoScript menu to forbid individual scripts. After "globally allow", visit site. Open menu. Click "Mark (site name) as Untrusted". Done.

For example, twitter.com is in my Untrusted list. I tested this by checking ""Scripts Globally Allowed" > OK, as above.
Then I visit twitter.com. Despite script globally allowed, twitter script does not run, and the NoScript icon is solid red, showing complete block.

Salaam,
- Tom
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

Re: Forbid just a website

Post by Saad »

Thanks. but it blocks iFrame of website that added to blacklist. and HTML preview disturbance. try http://www.soft98.ir .
Last edited by Tom T. on Tue Sep 18, 2012 4:11 am, edited 1 time in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Forbid just a website

Post by Tom T. »

Saad wrote:Thanks. but it blocks iFrame of website that added to blacklist. and HTML preview disturbance. try http://www.soft98.ir .
If you do not trust the site, and it is in your blacklist, why would you wish to allow iFrame at this site? Or from this site?

Anyway, if this is your wish, open NoScript Menu - Options - Embeddings. Uncheck "Apply these restrictions to whitelisted sites too".
Or you can choose to uncheck only "Forbid <IFRAME>.

Or you can temporarily allow various objects, such as the iFrame or Flash or other objects, by opening NoScript menu at the site, point to "Blocked Objects", and click to allow as many as you wish. However, these permissions are revoked when the browser is closed.

I do not read Farsi, but I believe that this makes the page the way you wish it to be. The Google PlusOne button appears, for example.

I hope this helps.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

Re: Forbid just a website

Post by Saad »

Thank you.

NoScript with current features is enough for me ;)
Last edited by Tom T. on Tue Sep 18, 2012 4:10 am, edited 3 times in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Forbid just a website

Post by Tom T. »

Saad wrote:Thank you.

NoScript by current features is enough for me ;)
I am glad that you are now pleased. Thank you for your kind words. :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Forbid just a website

Post by GµårÐïåñ »

Saad wrote:Thank you.

NoScript with current features is enough for me ;)
Aziz jan, man ke be to goftam che kar kon. Ghorban shoma.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19 Comodo_Dragon/18.1.2.0
Post Reply