Questions tagged [ublock-origin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
45 views

Is there any way to disable uBlock Origin popup from showing up?

As part of distraction blocking setup I was searching the way on how to remove any options to disable or disrupt the functionality of extensions. Is there any way to disable the floating window uBlock ...
molodchyk's user avatar
1 vote
1 answer
47 views

How to make an element fill the width of the browsers window with uBlock?

For example, this page at SuperUser, the main content of the page is squished, so its hard to read or focus on it. I would like to take it from how it is currently rendered to this. The after ...
Ralf_Reddings's user avatar
1 vote
1 answer
34 views

How to fully hide this element at the top?

I have a very small monitor. on RegEx101, I want to hide the top element at all times. I have tried the following: regex101.com##.Gceny:style(display:none !important;) But this just takes it from ...
Ralf_Reddings's user avatar
1 vote
1 answer
52 views

How to select footer elements for all websites in uBlock so I can hide them? [duplicate]

I am just getting started on uBlock, the privacy controls were easy enough, with a few buttons I am on top of it. My concern now is just getting websites to look the way I want them to. I am ...
Ralf_Reddings's user avatar
0 votes
0 answers
113 views

Wildcards in uBlock Origin network filters? (in the path)

I use business’s customer area of a site, that tries to circumvent ad blockers, by using random IDs in its resource URLs. E.g. a.storyblok.com/f/116218/1120x850/b403b00e1d/kundenportal-banner-...
Evi1M4chine's user avatar
0 votes
0 answers
307 views

uBlock Origin: How to exclude/whitelist certain websites only for certain filter lists?

In addition to various filter lists for blocking ads, I also use a filter list for blocking cookie messages. Some websites do not work properly because of this cookie blocking filter list. Now I want ...
Three Year Old's user avatar
0 votes
0 answers
29 views

How can I block cookies from a specific URL (not the whole domain)?

I've noticed that some Google cookies are slowing down Google Maps in Firefox. I'd like to block any Google cookies set when navigating to google.com/maps, but not block cookies for other Google URLs ...
Freewalker's user avatar
0 votes
0 answers
80 views

Adblock/uBlock - don't apply rule in iframe

I want to block certain elements on google.com but only if the current page is under the google.com domain. Specifically, I do not want the filter to be applied to google.com iframes on other pages (...
Борат Сагдиев's user avatar
2 votes
1 answer
189 views

uBlock Origin block Google Doodles

Need a way to block annoying Google Doodle from ever showing again with uBlock origin. I identify that images are coming from these HTML tags, I have no idea how to block g-img tag with uBlock. <...
Roman Toasov's user avatar
1 vote
1 answer
2k views

How can I configure UBlock Origin to be always activated for a specific site?

I currently have the setting configured to deactivate it by default on all sites. This means that I visit xyz.com and then click on the addon to enable it for only that site and only for that tab. If ...
Mugen's user avatar
  • 785
2 votes
1 answer
1k views

uBlock, block all third party script when visiting a certain domain

With uBlock Origin on Firefox, I am trying to block all third-party scripts called from a specific first-party page. For example: visiting a page of example.com, I want that every external script gets ...
nulll's user avatar
  • 143
-1 votes
2 answers
257 views

How do I disable JS only on specific pages?

There are sites archived on the Wayback Machine with broken JS. uBlock origin allows disabling JS on the whole site: no-scripting: web.archive.org true, but it is an overkill. Is there a way do it ...
Alex O's user avatar
  • 595
0 votes
2 answers
577 views

How can I add a wildcard to have all links that contains : "food" as trusted site in uBlock Origin?

First time using wild cards. How can I include all links that contain a specific word, For example, I tried typing. *food* uBlock does not recognize this line as shown in the image below, it ...
Eyal Cohen's user avatar
0 votes
1 answer
184 views

How to separate long uBlock Origin (uBO) static filters (rules) across multiple lines?

I seem to recall that there is a way to separate (continue) long uBlock Origin (uBO) static filters across multiple lines to improve filter readability. I looked through the Wiki and could not find a ...
RockPaperLz- Mask it or Casket's user avatar
0 votes
1 answer
243 views

Blocking annoying cookie consent banner on Golem.de (if possible with the add-on ublock origin)

I wish to block the annoying cookie consent banner on Golem.de. If possible with the add-on ublock origin. I don't wish to install i-dont-care-about-cookies.eu because there is no source repo. I use ...
Sybil's user avatar
  • 830
0 votes
0 answers
548 views

In ublock, How to block (pick) an element that keep reappearing as one scroll the page?

The picker works when the page loads, but as I scroll the item reappears again and again. How to block an item like that?
bigubr's user avatar
  • 1
0 votes
0 answers
497 views

uBlock - block all network queries that contain certain text in their bodies

Some site sends me a json {..., "category": "Ads",...}. Can I block all requests and responses containing "category": "Ads"? I'm looking for something like ||...
Neret's user avatar
  • 43
1 vote
0 answers
364 views

µBlock element zapper and element picker don't give the same result (on Quora)

I have been blocked at Quora for a couple of weeks and everytime I load the site I see this warning: I don't want to acknowledge this warning so instead I use µBlock's element zapper to remove it. ...
d-b's user avatar
  • 646
1 vote
1 answer
538 views

How can I force nitter.net in light theme mode in Firefox?

By default nitter.net appears in a dark theme. Appending ?theme=Twitter to a URL makes every page appear in the light theme. Example: https://nitter.net/elonmusk https://nitter.net/elonmusk?theme=...
lmoly's user avatar
  • 224
0 votes
1 answer
646 views

uBlock - rewrite href text

Lets say I have the following link on some page <a href="https://example.com/string?param1=1&param2=2">Title</a> And using uBlock I'd like to rewrite it to: <a href="...
Phil Dukhov's user avatar
2 votes
0 answers
672 views

How to block random-named browser page elements with specific name parts with uBlock Origin?

For example, we have a Twitch Video wrapper, that has it's div name in the body randomised, but the it always has the word wrapper in it before the randomised gibberish. How do I make a script for ...
user1257532's user avatar
0 votes
1 answer
158 views

Is everyone using Edge (Chromium) noticing accesses to *.gotechcheck.com?

One or two months ago, I began to try the new Chromium-based Edge - and at this point, I couldn't be more satisfied - never touched Chrome again, although it's unavoidable that, for some given tasks, ...
Charles Roberto Canato's user avatar
3 votes
1 answer
2k views

uBlock Origin - Create filter based on href link

I want to create a filter in uBlock for a given website where I know all the ads have an href of the following type containing "referral_story". <a class="_1oem" href="/...
David B's user avatar
  • 33
6 votes
2 answers
2k views

Chromium: how to block promoted content on Twitter? (uBlock Origin/uMatrix)

Using chromium on Debian with uBlock Origin and uMatrix how can we block Twitter's promoted content on my feed Is it possible to achieve this through uBlock Origin/uMatrix? is there any alternative? I ...
Martin Vegter's user avatar
0 votes
1 answer
368 views

How to truly Fix this Recent sudden mess up in uBlock Origin (some internal config/ list updates) blocking way too much?

How to truly Fix this Recent sudden mess up in uBlock Origin (some internal config/ list updates) blocking way too much? Its doing this on most websites: google, youtube, superuser & SE. Even ...
Alex S's user avatar
  • 951
4 votes
1 answer
4k views

uBlock - create filter based on pattern of an attribute such as div[data-link.contains()]

I would like to hide news links to rt.com from duckduckgo. I can create a filter for a particular link, like duckduckgo.com##div[data-link="https://www.rt.com/news/487829-germany-gru-warrant-hacker/"]...
user avatar
1 vote
0 answers
693 views

Is it possible to allow user scripts while blocking anything else with uBlock Origin?

In uBlock Origin there is the option to disable Javascript by default. I have that enabled: However, this has one undesired effect. User scripts that I have installed will also no longer run. But ...
0xC0000022L's user avatar
  • 6,835
1 vote
1 answer
241 views

Looking for workaround for Firefox login autocomplete behaviour

This question is related to the explanation on how Firefox handles autocompleting stored logins: https://stackoverflow.com/questions/10738090/why-firefox-autocomplete-even-with-different-input-name I'...
lmoly's user avatar
  • 224
0 votes
1 answer
2k views

uBlock - block element with (almost) the same CSS/XPath?

On this page https://www.eventbrite.com/checkout-external?eid=97762112109 I would like to block the check box with the legend "Eventbrite can send me emails about the best events happening nearby." ...
d-b's user avatar
  • 646
0 votes
0 answers
46 views

Replacing blocked YouTube video with external link

Is it possible to show link to YouTube video instead of completely erasing the YT iframe using uBlock Origin? Will it be treated (and blocked) as 3p-frame or 3p by dynamic filters, and thus blocked ...
Maciej Łoziński's user avatar
2 votes
0 answers
179 views

Why is uBlock Origin causing Pale Moon to *randomly* not load my stylesheet with zero changes in between?

I have Pale Moon installed on Windows 10. It has the uBlock Origin extension installed. This is how I reproduce the glitch: I first clear ALL browser data and then close the program. Then I run this ...
Max Smith's user avatar
3 votes
0 answers
477 views

How to disable a portion of JavaScript on a website

I'm trying to disable smooth scrolling. I tried a bunch of JavaScript in Tampermonkey. It worked on some sites, some don't and some disable scrolling altogether, which leads me to believe that there's ...
tguy's user avatar
  • 31
4 votes
1 answer
3k views

How do I match and block a tag by an attribute's value with Ublock Origin?

I'm trying to block/remove a specific stylesheet from a page. The context here is that this stylesheet is the stylesheet specific to a specific subreddit. The HTML looks like this (from the ublock ...
Michael A's user avatar
  • 804
1 vote
0 answers
34 views

Why aren't my :style() overwrites surviving page-reload?

Once the extraneous (and useless) divs and spans are removed from a typical news-article, the actual text often remains in a narrow column surrounded by swaths of white-space reserved for the removed ...
Mikhail T.'s user avatar
3 votes
1 answer
5k 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-...
vetuzag's user avatar
  • 31
1 vote
1 answer
575 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")</...
barlop's user avatar
  • 23.5k
1 vote
0 answers
3k 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 ...
and his dog's user avatar
4 votes
1 answer
5k 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 ...
andreikashin's user avatar
3 votes
1 answer
585 views

uBlock Origin : Cross-site cosmetic filtering?

Is there a way to block cosmetic elements on multiple sites. For example on StackExchange, I would like to block ##.site-footer--container ##.site-header ###left-sidebar But, I don't want ot just ...
Evan Carroll's user avatar
  • 8,879
2 votes
0 answers
104 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 ...
Andrew's user avatar
  • 212
4 votes
1 answer
2k 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 ...
Gavin S. Yancey's user avatar
1 vote
1 answer
1k 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="...
andreikashin's user avatar
9 votes
2 answers
8k 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 ...
user917794's user avatar
5 votes
1 answer
3k 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: ... <...
forthrin's user avatar
  • 1,907
2 votes
0 answers
52 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 ...
user13107's user avatar
  • 303
2 votes
1 answer
783 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 ...
Ethan Law's user avatar
0 votes
1 answer
119 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 ...
Ooker's user avatar
  • 1,931
0 votes
2 answers
2k 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 ...
Ooker's user avatar
  • 1,931
0 votes
1 answer
2k 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 ...
bobsnephew's user avatar
37 votes
3 answers
29k 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 <...
user avatar