Page 1 of 1

[RESOLVED] Forbid just a website

Posted: Thu Mar 01, 2012 5:21 am
by Saad
Hi,
i want set 'Allow Scripts Globally' but forbid just one website. is this possible? if yes, how?

Re: Forbid just a website

Posted: Thu Mar 01, 2012 8:29 am
by therube

Re: Forbid just a website

Posted: Fri Mar 02, 2012 3:41 am
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?

Forbid SCRIPTS of just a website

Posted: Fri Mar 02, 2012 10:50 am
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.

Re: Forbid just a website

Posted: Sat Mar 03, 2012 7:50 pm
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.

Re: Forbid just a website

Posted: Wed Apr 18, 2012 2:37 pm
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.

Re: Forbid just a website

Posted: Thu Apr 19, 2012 8:02 am
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

Re: Forbid just a website

Posted: Thu Apr 19, 2012 11:19 am
by Saad
Thanks. but it blocks iFrame of website that added to blacklist. and HTML preview disturbance. try http://www.soft98.ir .

Re: Forbid just a website

Posted: Fri Apr 20, 2012 3:44 am
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.

Re: Forbid just a website

Posted: Fri Apr 20, 2012 4:16 am
by Saad
Thank you.

NoScript with current features is enough for me ;)

Re: Forbid just a website

Posted: Fri Apr 20, 2012 4:37 am
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. :)

Re: Forbid just a website

Posted: Fri Apr 20, 2012 7:07 am
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.