uBlock is a plugin available for most browsers which provides content and ad blocking capabilities to the browser.
Questions tagged [ublock]
44 questions
37
votes
3 answers
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
user281318
9
votes
4 answers
How to disable "uBlock Origin has prevented the following page from loading"?
I'm using the Chrome browser extension uBlock Origin (Chrome webstore, GitHub page). It works to block ads and other elements on web pages.
However sometimes it blocks whole pages with the message:
uBlock Origin has prevented the following page…
Colonel Panic
- 12,303
- 21
- 63
- 81
5
votes
1 answer
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
example.com/path/*##.blockedClass
does not have the…
cpcallen
- 151
- 4
4
votes
1 answer
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 rule isn't working.
Is it possible to apply logic…
andreikashin
- 169
- 1
- 9
4
votes
1 answer
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 block that page, without blocking all of the…
Gavin S. Yancey
- 237
- 2
- 15
4
votes
2 answers
save settings for umatrix and ublock
I enjoy using Umatrix and Ublock, but run into the following problem. I use quite restrictive settings and then manually allow certain elements on certain sites.
However, I notice that these "settings" sometimes get lost, perhaps when cache or so…
Steve G. Jones
- 141
- 5
4
votes
1 answer
What is the difference between inline scripts and first & third party scripts?
I use uBlock₀ as my ad-blocker. It has 3 options for dynamic filtering, namely,
inline scripts
first party scripts
third party scripts
What is the difference between inline scripts and first & third party scripts?
I found a wiki page on Dynamic…
xypha
- 4,182
- 4
- 20
- 39
3
votes
1 answer
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".
David B
- 33
- 5
3
votes
1 answer
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
inside an…
vetuzag
- 31
- 1
- 2
2
votes
1 answer
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.
2
votes
1 answer
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 blocked.
I am following this great ublock origin…
nulll
- 143
- 6
2
votes
0 answers
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 command to open that URL in Pale Moon (standard…
Max Smith
- 21
- 1
2
votes
0 answers
Can I prevent Ublock from giving the opportunity to disable strict blocking?
I'm setting up some rules on the computer for the laptop of my friend's son.
I'm using Ublock to block some websites, and there is a well-known forum in France where people are really mad and sick, and my friend insisted for me to block specifically…
Svelva
- 21
- 2
2
votes
1 answer
Can I stop a website from deleting back-button history?
Westlaw.com times me out returns me to the sign-in page after 20 or 30 minutes.
On most websites, I would just sign back in and hit the back button to return to where I was when I timed out, but Westlaw had an additional "feature" that wipes out all…
bdb484
- 316
- 3
- 17
2
votes
4 answers
Ublock Origin filter to block recommended videos on YouTube homepage?
I'm looking for a Ublock Origin custom filter that I can add that will permanently block the recommended videos section from showing on my YouTube homepage?
I tried blocking the recommended videos section using the "block element" picker, but it…
Somebody
- 23
- 1
- 3