uBlock is a plugin available for most browsers which provides content and ad blocking capabilities to the browser.
Questions tagged [ublock]
46 questions
51
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
11
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,549
10
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
- 201
5
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
- 53
5
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
- 247
4
votes
0 answers
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 to disable only the cookie message blocking…
Three Year Old
- 41
- 1
- 3
4
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
- 41
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
- 179
- 1
- 9
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
- 6
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,890
3
votes
1 answer
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 search box with an animation. The text in the…
Brian Schack
- 133
3
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
- 555
3
votes
5 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
- 33
- 1
- 1
- 3
2
votes
0 answers
How to Uninstall Fake uBlock
I'm working as tech support in a High School which exclusively uses Windows devices (Surface Pro), and we often see students come in with uBlock installed in their browser, typically in Edge.
Our network is pretty locked down and anything that…
2
votes
0 answers
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 (this is the case with captchas - it's a google.com…
Борат Сагдиев
- 147