The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [ublock-origin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
107 views

Adblock/uBlock rule to hide elements inside an iframe

I would like to hide elements which have a specific attribute inside an iframe. For example, I want to hide all elements with attribute load-ads-json-from, and there is an element <div load-ads-...
0
votes
0answers
174 views

What is the Tails configuration for Ublock Origin on TOR?

I'd like to run TOR with Ublock Origin, but for various reasons I can't replace my whole OS with Tails. In order to not compromise the anonymity of my browser, I figure I can just configure UBO the ...
1
vote
1answer
170 views

in Firefox, why is this page rendered this way(contents of noscript tag getting ignored), when running NoScript or uBlock Origin?

I have a page http://www.zen76171.zen.co.uk/aaa2.html with this HTML <!doctype html> <html> <head> <noscript>aaa</noscript> <script>document.write("bbb")</...
1
vote
0answers
465 views

How to use redirect option with uBlock Origin Static network filtering?

Just to understand the concept. Say, there is an image on a web page and I want to replace that image with a "neutered" resource. Say, there is a site example.com, and there is an image on a web page ...
0
votes
0answers
65 views

uBlock Origin - How to block subpages in addition to the main page

How to block all scripts on subpages except the home page. Blocking scripts on the main page and subpages are: ||www.example.com/*$inline-script,domain=www.example.com How to add an exception for ...
3
votes
1answer
3k views

Filter out Sponsored feed on FB using uBlockOrigin

How to block or filter this tricky "Sponsored" feed: Html is as follows: Previously I have used has-text filter: ##[id^=hyperfeed_story]:has-text(/Page Stories You May Like/) But in this case this ...
2
votes
0answers
20 views

Are there any maintained blocklists for modal website popups?

I use uBlock Origin to block ads. I also use it to block non-advertisement annoyances, such as registration popups and overlays. I select the offending element(s) with the UBO element picker, create a ...
3
votes
1answer
554 views

How to use uBlock Origin to block just the page stackexchange.com without blocking the entire stackexchange network?

I've found HNQ are really distracting to me, so I want to block them. This question has some ways to block them in the sidebar, but the same list exists over at https://stackexchange.com/. I want to ...
1
vote
1answer
558 views

How to block randomized HTML tag names in ad-blocker?

How to block ads which appear in randomized HTML tags using ad-blockers, i.e. ABP (AdBlockPlus) or uBO (uBlock Origin)? Example: <U-RLCE class="uqRMKJfSUjw "> <U-RLCE class="...
2
votes
2answers
2k views

What are uBlock Origin hotkeys?

uBlock Origin certainly has hotkeys, as I've invoked the program accidentally by pressing keys and the developer has participated in a related discussion on the Github page. In particular a hotkey ...
1
vote
0answers
498 views

uBlock - override an exception rule with a custom blocking rule

Suppose that I am using a 3rd-party uBlock filter which contains the following rules: ||example.com/foo/* @@||example.com/foo/bar/* However, if I need to block everything from example.com, adding ...
4
votes
1answer
544 views

Hide elements containing links to a certain domain in uBlock Origin

Using uBlock Origin, can I hide (eg. display: none) all <article> elements anywhere on example.org that contains links to anywhere on example.com? example.org/somepath/somepage.html: ... <...
1
vote
0answers
30 views

Convert HTML pages to PDF, but after applying ublock origin filters

I want to convert a bunch of webpages to PDF using wkhtmltopdf. But I want the uBlock Origin personal filtering under My Filters (currently being used in my browser) be applied on each HTML page. How ...
2
votes
1answer
494 views

Adblock CSS Wildcard for Quora?

Quora has this annoying randomized CSS Wrapper attribute What i want to do is basically block *_wrapper, but adblock filter syntax is complicated and all the examples i've seen when searching for a ...
0
votes
1answer
95 views

How to find the common denominator of an element of the web?

From uBlock Origin: how to remove any element from a page permanently - gHacks Tech News Some sites use dynamic identifiers for some elements on their sites. This may result in you blocking the ...
0
votes
1answer
184 views

How to allow all lower-level domain based on the second-level domain in uBlock Origin?

Many sites have third-level domain: en.wikipedia.com, academia.stackexchange.com, translator.google.com. I have a universal dynamic filter: * * 3p-script block and would like to individually allow ...
0
votes
1answer
1k views

Blocking unwanted elements/frames at dailymail.co.uk with uBlock Origin

This started as a pet peave but now it's an academic exercise. Occasionally I follow a link to a story at the UK's Daily Mail and I want to write a rule/filter for uBlockO to prevent my eyes being ...
10
votes
2answers
5k views

uBlock - hide any element that contains text with a given word?

Is it possible to write a custom filter rule so that any div, span or p and its children are hidden when there is a specific word in the text part, i.e. Trump? For example, I have this structure <...
4
votes
1answer
1k views

How to block all Disqus content with Ublock Origin

I heard that it is possible to use Ublock Origin to block not only ads but also Disqus content on all websites that host it. Disqus is a commenting system that many websites like newspapers add to ...
3
votes
0answers
787 views

How to hide an element on a specific page using uBlock Origin (or AdBlock / Plus)?

I know I can block a particular element on a whole site with a rule like: example.com##.blockedClass Is there a way to do have particular elements only blocked on particular pages? I note that ...
1
vote
0answers
1k views

How to disable “onclick” event processing on a web page with uBlock Origin?

Normally when a user clicks a middle mouse button on a link on a web page, the link opens in a new tab. When a user clicks right mouse button, a context menu appears. Now there are some annoying sites ...
2
votes
1answer
218 views

Collapse placeholder of blocked elements

Using Firefox 55, I tried with uMatrix 1.0.0 and 1.0.1rc1 However the option "Collapse placeholder of blocked elements" appears to be ignored. Regardless if you check or uncheck it, the placeholders ...
7
votes
0answers
1k views

UBlock Origin: Blocking specific advertisement on YouTube via custom filtering

There is a slightly annoying advertisement box outside of the video in the newest YouTube redesign: Here's a link to the example video I used in this case, but the box appears on many other monetized ...
2
votes
0answers
537 views

Is it possible to use only custom filters on a website using uBlock Origin?

Website I am interesting in conflicts with filters I have subscribed to but not if I use only custom rules while disabling subscribed filters. Is there a way to force uBlock Origin to use only custom ...
0
votes
1answer
137 views

How to disable the new element picker in Firefox?

Recently when pressing Alt + Z in Firefox an element picker show up. If I click on it the element is temporarily hidden, until the page is reloaded: This has never happened to me before. This new ...
9
votes
2answers
5k views

Using uBlock Origin, how do I block a root site without blocking sub-pages?

I am getting really distracted by YouTube recently, but I still need access to YouTube videos. I inadvertently visit youtube.com, and I would like to block this page without blocking the whole site. ...
0
votes
0answers
712 views

Ublock Origin custom filter suddenly stopped working---it previously worked very well---any assistance?

Until just recently, I had been using the Ublock Origin custom filter given by rhill in this post Ublock Origin filter to block recommended videos on YouTube homepage? to block the recommended videos ...
3
votes
0answers
2k views

How can I block iframes with uBlock-origin?

I want to define a uBlock-origin filter for iframes on a certain website, whose sources is some other website. Is this possible? If so, what's the appropriate syntax?