Questions tagged [ublock-origin]
The ublock-origin tag has no usage guidance.
ublock-origin
17
questions
0
votes
0
answers
42
views
Issue with Adding Blocklists in uBlock Origin's Source Code via assets.json
I've recently cloned uBlock Origin's source code repository and attempted to add blocklists by editing the assets.json file. However, despite making the necessary changes, building the project using ...
1
vote
1
answer
113
views
Using uBlock to hide a parent element that includes a child element that contains a specific string
I'm a member of a forum community where the site owner has set up Akismet as an alternative to a human moderator and then he, the owner, stopped paying attention. Akismet seems to do well with the ...
0
votes
1
answer
279
views
How to block/remove Youtube Share, Download buttons in a content script like how uBlock does it?
Removing said buttons with code below works however it doesn't update the UI in a way that displays the other buttons in the sub-menu. The other buttons remain hidden in the sub-menu, while the ones ...
0
votes
2
answers
102
views
For XPATH, how can I use OR for different types of ancestors?
I'm trying to block certain results from appearing on my Google searches but I'm having a hard time concisely creating a one-line block using uBlock Origin.
For example, I don't want 'www. imyfone.com'...
0
votes
0
answers
142
views
How to add a class name to a element in ublock orgin filter
I know :remove-class exists but whats for add class?
This didn't work for me m.imdb.com##body:add-class(mobile)
0
votes
1
answer
87
views
uBlock filter to change style field of a div tag
aliexpress uses this tag to split the search results into 4 columns:
<div class="product-snippet_ProductSnippet__grid__w6hatm product-snippet_ProductSnippet__vertical__w6hatm ...
0
votes
0
answers
125
views
Filter to block gif tweets on Twitter in an adblocker such as ublock origin
How to block gif tweets in Twitter by adding a certain filter to such as ublock origin?
Tweets with gif blocked/hidden. Twitter changed recently, old gif block filters not working anymore.
This used ...
53
votes
4
answers
57k
views
How to resolve Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'?
Just in the past couple days I have started getting console errors in chrome on my website that I'm developing on my local machine. The error is "Error with Permissions-Policy header: Origin ...
3
votes
1
answer
2k
views
How to hide a div using uBlock by content somewhere in child tags
There is a website that, researching through the browser's dev tools, has the following structure:
<div class='story_<<random_num>>'
<header class=..
<div class...
.... ...
0
votes
1
answer
323
views
Is there a way to disable table row blur ( tr.blur ) from a 3rd party website using DOM editor?
Is it possible to diable tr.blur using DOM filters ? I tried using ublock origins extension. I could diable the whole row or entry but not the blur only. I want to know if it is possible from a ...
0
votes
1
answer
146
views
uBlock blocks POST request
I have the following button on my page:
<div class="item__menu">
<div class="btn-group js-cartItemDetailGroup">
<div class="remove-button">
...
4
votes
1
answer
350
views
Get Ublock Origin logger datas using Python and selenium
I'd like to know the number of blocked trackers detected by Ublock Origin using Python (running on linux server, so no GUI) and Selenium (with firefox driver). I don't necessarly need to really block ...
4
votes
2
answers
735
views
Is there an "OR" filter on uBlock Origin?
I have these two rules:
// case1
##body:has(button[aria-label="違反報告"]) div[class*=__ReactionCounter]
##body:has(button[aria-label="違反報告"]) div[class*=__ItemReactionCounter]
But ...
2
votes
0
answers
534
views
Adding uBlock Origin block list subscriptions from CLI?
Context
While trying to automatically configure uBlock Origin, I am experiencing some difficulties in determining how to add a block list automatically. This link explains how one can manually ...
1
vote
1
answer
3k
views
How to make a link to add a filter list to uBlock Origin?
EasyList has "add it to your ad blocker" links for their various filter lists. When I click on them, my content blocker browser extension prompts me to add the filter list from EasyList. The ...