MozillaZine

How can I block ads from a specific website only?

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

Post Posted June 5th, 2018, 9:56 am

Hello!

How can I block ads from a specific website only?

thanks!

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

Post Posted June 5th, 2018, 10:35 am

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.

dickvl

User avatar
 
Posts: 52442
Joined: July 18th, 2005, 3:25 am

Post Posted June 5th, 2018, 2:58 pm

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

Post Posted June 5th, 2018, 3:32 pm

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.

trolly
Moderator

User avatar
 
Posts: 39899
Joined: August 22nd, 2005, 7:25 am

Post Posted June 6th, 2018, 1:43 am

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

User avatar
 
Posts: 361
Joined: May 11th, 2017, 9:52 am

Post Posted June 6th, 2018, 3:27 am

Try Ublock Origin, blocks literally all ads.

Grumpus

User avatar
 
Posts: 12040
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Post Posted June 6th, 2018, 5:50 am

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.

firefoxuse
 
Posts: 1086
Joined: November 8th, 2011, 12:06 pm

Post Posted June 8th, 2018, 12:14 pm

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!

Frank Lion

User avatar
 
Posts: 20102
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted June 8th, 2018, 12:37 pm

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!
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"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

Post Posted June 8th, 2018, 12:57 pm

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

Post Posted June 8th, 2018, 2:32 pm

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!

DanRaisch
Moderator

User avatar
 
Posts: 120591
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted June 8th, 2018, 3:41 pm

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

User avatar
 
Posts: 361
Joined: May 11th, 2017, 9:52 am

Post Posted June 8th, 2018, 3:52 pm

The whitelist is in the settings of the extension.

Frank Lion

User avatar
 
Posts: 20102
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted June 8th, 2018, 5:00 pm

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!
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

gorhill
 
Posts: 155
Joined: February 10th, 2015, 8:00 am

Post Posted June 9th, 2018, 5:43 am

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),

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 11 guests