How can I block ads from a specific website only?

User Help for Mozilla Firefox
Post Reply
firefoxuse
Posts: 1086
Joined: November 8th, 2011, 12:06 pm

How can I block ads from a specific website only?

Post by firefoxuse »

Hello!

How can I block ads from a specific website only?

thanks!
allande
Posts: 188
Joined: July 20th, 2017, 11:58 am

Re: How can I block ads from a specific website only?

Post by allande »

To clarify - do you want to block ads that are displayed when you visit a certain site, like block all ads on cnet.com, or do you want to block all ads that advertise a certain site, regardless of whose site you are on? What adblocking extension do you use now? If you use adblock plus or ublock origin you could ask in their own forums.
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: How can I block ads from a specific website only?

Post by dickvl »

Note that Firefox has a Tracking Protection feature that can block some content.
https://support.mozilla.org/en-US/kb/tr ... on-firefox
firefoxuse
Posts: 1086
Joined: November 8th, 2011, 12:06 pm

Re: How can I block ads from a specific website only?

Post by firefoxuse »

allande wrote:To clarify - do you want to block ads that are displayed when you visit a certain site, like block all ads on cnet.com, or do you want to block all ads that advertise a certain site, regardless of whose site you are on? What adblocking extension do you use now? If you use adblock plus or ublock origin you could ask in their own forums.
I want to block ANY ads that appear on a SPECIFIC website when I visit that SPECIFIC website
I dont know and I dont care where these ads come from.
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Re: How can I block ads from a specific website only?

Post by trolly »

Specify what an ad is and how to tell the browser.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Tomatoshadow2
Posts: 435
Joined: May 11th, 2017, 9:52 am

Re: How can I block ads from a specific website only?

Post by Tomatoshadow2 »

Try Ublock Origin, blocks literally all ads.
User avatar
Grumpus
Posts: 13238
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: How can I block ads from a specific website only?

Post by Grumpus »

If you use NoScript it will list the urls which try and load during the page load.
You can judge which are good and which are those you wish to block.
Each site can also be given a customized default which will allow some of the site to continue to function.
I think uBlock has the same capability in identifying which urls try to load.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
firefoxuse
Posts: 1086
Joined: November 8th, 2011, 12:06 pm

Re: How can I block ads from a specific website only?

Post by firefoxuse »

I don't think you understand what I am saying.
There are ad blockers, right? I want one to work only when I visit a specific website!
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: How can I block ads from a specific website only?

Post by Frank Lion »

firefoxuse wrote:There are ad blockers, right? I want one to work only when I visit a specific website!
Try Ublock Origin, blocks literally all ads!
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
firefoxuse
Posts: 1086
Joined: November 8th, 2011, 12:06 pm

Re: How can I block ads from a specific website only?

Post by firefoxuse »

Frank Lion wrote:
firefoxuse wrote:There are ad blockers, right? I want one to work only when I visit a specific website!
Try Ublock Origin, blocks literally all ads!
How can I make it work for no site, apart from http://www. freedating .co.uk ?
Last edited by DanRaisch on June 8th, 2018, 7:38 pm, edited 1 time in total.
Reason: Link broken.
firefoxuse
Posts: 1086
Joined: November 8th, 2011, 12:06 pm

Re: How can I block ads from a specific website only?

Post by firefoxuse »

That Ublock Origin does not allow me to apply for jobs on indeed.co.uk!
And I don't see a way to whitelist a website!
User avatar
DanRaisch
Moderator
Posts: 127187
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: How can I block ads from a specific website only?

Post by DanRaisch »

That Ublock Origin does not allow me to apply for jobs on indeed.co.uk!
You could always disable the extension when visiting that job site as it is unlikely to have a lot of ads displayed.
Tomatoshadow2
Posts: 435
Joined: May 11th, 2017, 9:52 am

Re: How can I block ads from a specific website only?

Post by Tomatoshadow2 »

The whitelist is in the settings of the extension.
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: How can I block ads from a specific website only?

Post by Frank Lion »

firefoxuse wrote:
Frank Lion wrote:
firefoxuse wrote:There are ad blockers, right? I want one to work only when I visit a specific website!
Try Ublock Origin, blocks literally all ads!
How can I make it work for no site, apart from http://www. freedating co.uk ?
Well, it's pretty obvious!

You bookmark the about:addons page and have uBlock Origin disabled all the time, until you want to go to that site and then you bring up the bookmark and enable the extension!
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
gorhill
Posts: 163
Joined: February 10th, 2015, 8:00 am

Re: How can I block ads from a specific website only?

Post by gorhill »

firefoxuse wrote:How can I make it work for no site, apart from http://www. freedating .co.uk ?
Copy/paste the following regular expression into the Whitelist pane in the dashboard:

Code: Select all

/^https?:\/\/(?!www.freedating.co.uk\/)/
The directive -- a regex using negative lookahead -- will cause uBO to be disabled everywhere except when visiting "www\.freedating\.co\.uk" (backslashes used to prevent forum to render link),
Post Reply