Questions tagged [ublock-origin]
The ublock-origin tag has no usage guidance.
66
questions
0
votes
0
answers
14
views
How to block the message "You're currently signed in as"?
Is it possible to block, hide, remove or disable the following message which shows for me every time I open a Google Sheets, Google Docs or Google Slides?
2
votes
1
answer
84
views
µBlock: How to Add a CSS-class in a Filter?
µBlock (uBlock) provides action operator :remove-class(), but how can I add a CSS-class?
On a site an element alternates between two CSS-classes. I have a rule with :remove-class() that is triggered ...
1
vote
3
answers
6k
views
Ad blocker not blocking ads when I log into YouTube with my Google account
For the past three days, I've encountered an issue where ads suddenly started appearing on YouTube even though uBlock Origin was enabled. After some investigation using different browsers (Chrome, ...
23
votes
2
answers
3k
views
How to use uBlock Origin to block the Reddit user avatar hover tooltip?
On Reddit, when I hover over the avatars of users in the left edge of comments, I get an annoying tooltip that prevents me from what I really want to do, which is collapse and expand comments.
How to ...
4
votes
1
answer
11k
views
How to purge uBlock filter caches in Firefox after 1.55
There are legitimate use-cases to purge filter caches, but Git commit #bd7ce41 for uBlock made it harder. How to purge uBlock filter caches in Firefox after 1.55?
0
votes
2
answers
457
views
How to allow a certain domain or URL to bypass Brave Shield on a specific website, when it's embedded there?
I want to make a custom filter rule for Brave Shield and according to this help page, "Brave is broadly compatible with uBlock Origin's filter rule syntax." along with a link to the ...
3
votes
1
answer
140
views
How can I block the search box animation on the Wirecutter website with uBlock Origin?
Wirecutter recommends the uBlock Origin ad blocker. As I understand, in addition to advertisements, ad blockers can also be used to block annoyances. At the top of each guide on Wirecutter, I see a ...
2
votes
0
answers
2k
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 ...
3
votes
1
answer
157
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 ...
1
vote
1
answer
236
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 ...
2
votes
1
answer
227
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 ...
3
votes
1
answer
3k
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-...
3
votes
0
answers
2k
views
How to exclude/whitelist certain websites only for certain filter lists in uBlock Origin?
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 ...
1
vote
0
answers
149
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 ...
1
vote
0
answers
238
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 (...
2
votes
1
answer
563
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.
<...
1
vote
1
answer
11k
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 ...
2
votes
1
answer
5k
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 ...
0
votes
2
answers
2k
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 ...
1
vote
2
answers
1k
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 ...
1
vote
1
answer
441
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 ...
1
vote
1
answer
488
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 ...
0
votes
0
answers
778
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?
0
votes
0
answers
1k
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 ||...
1
vote
0
answers
626
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. ...
2
votes
1
answer
690
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=...
1
vote
1
answer
1k
views
uBlock - rewrite href text
Lets say I have the following link on some page
<a href="https://example.com/string?param1=1¶m2=2">Title</a>
And using uBlock I'd like to rewrite it to:
<a href="...
2
votes
0
answers
921
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 ...
0
votes
1
answer
160
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, ...
4
votes
1
answer
3k
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="/...
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 ...
0
votes
1
answer
692
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 ...
5
votes
1
answer
5k
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/"]...
2
votes
0
answers
943
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 ...
1
vote
1
answer
425
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'...
0
votes
1
answer
3k
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." ...
0
votes
0
answers
59
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 ...
2
votes
0
answers
232
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 ...
3
votes
0
answers
659
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 ...
1
vote
0
answers
37
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 ...
4
votes
1
answer
7k
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-...
1
vote
1
answer
690
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
0
answers
4k
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 ...
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 ...
4
votes
1
answer
873
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 ...
2
votes
0
answers
147
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 ...
4
votes
1
answer
3k
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
1
answer
2k
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="...
9
votes
2
answers
9k
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 ...
5
votes
1
answer
4k
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:
...
<...