Allow specific advertisements

Ask for help about NoScript, no registration needed to post
bonanza
Posts: 17
Joined: Tue Feb 05, 2013 9:39 pm

Allow specific advertisements

Post by bonanza »

Hello,

I'm a real fan of noscript and requestpolicy, but sometimes I feel a bit guilty when also all advertisements from newspaper website I regularly reed and like are blocked. What is the best way to selectively allow certain advertisements on a specific website?
How do you handle this?

thank you!
Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
redwolfe_98
Senior Member
Posts: 71
Joined: Wed Apr 22, 2009 6:27 am
Location: South Carolina, USA

Re: Allow specific advertisements

Post by redwolfe_98 »

this has nothing to do with "noscript".. "noscript" doesn't block ads..

since your issue has nothing to do with "noscript", i am not going to discuss it, here..
Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Allow specific advertisements

Post by therube »

Actually it does.

NoScript blocks.
It doesn't differentiate between good or bad, it assumes, correctly, all is bad.
It doesn't differentiate between a "website" & an "ad".
It blocks (JavaScript from) both.

Now if you Allow "website", you get website.
And if you Allow "ad", you get ad.

You can use ABE - Application Boundaries Enforcer to Allow "ad", but only on select "website".

8.10 Q: Can I use ABE to fine-tune NoScript's permissions?
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:24.0) Gecko/20100101 SeaMonkey/2.21a2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Allow specific advertisements

Post by Thrawn »

Since you're already using RequestPolicy, of course, you won't need to delve into ABE.

What you need to do is allow, in NoScript, each domain that serves ads, and each site where you want to permit ads.

Then use RequestPolicy to allow those sites to send requests to the ad domains.

Easiest and most reliable way is to visit each site and do it via the menus, rather than typing it all out.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
bonanza
Posts: 17
Joined: Tue Feb 05, 2013 9:39 pm

Re: Allow specific advertisements

Post by bonanza »

Thanks for your replies!

For Thrawns method to work, I need to turn off the blocking of frames etc also for whitelisted sites, right? Or is there any way to do this only for specific sites?

Thanks again!
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Firefox/17.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Allow specific advertisements

Post by Thrawn »

If the ads are in frames or iframes, then yes. It is possible to allow specific sites, but fiddly; are you comfortable editing about:config?

Allowing frames is not usually a big security risk, anyway, because of ClearClick.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0
Post Reply