Questions tagged [adblock]
AdBlockers are the range of tools aimed to remove advertisements from web-pages.
417
questions
0
votes
0
answers
32
views
chrome.webRequest.onBeforeRequest callback's parameter details.initiator is only a origin ,how to find the specific URL?
for example:
how blocking 'bar.com/ad.js','barxxx.com/adxxx.js' in the tab 'foo.com/'.
dont blocking 'bar.com/ad.js','barxxx.com/adxxx.js' in the tab 'foo.com/09'
chrome.webRequest.onBeforeRequest....
1
vote
1
answer
77
views
Is there an API for websites to disable ad block plus themselves?
I am using the Ad Block Plus extension in Chrome 115 and something caught my attention from a developer's perspective.
On https://satellites.pro/ I got a popup to disable the Ad Block to support the ...
0
votes
0
answers
35
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 ...
0
votes
0
answers
64
views
Stop ad-blocker from breaking internal site
I have an internal system that runs as a web application. There are no adverts in this application.
One of the things our users can do is post adverts from our app to various third-party advertising ...
0
votes
1
answer
51
views
Diable ads by adding extension adblock selenium python
I am trying the following code that is supposed to add the extension adblock to the driver
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver....
0
votes
1
answer
275
views
How to detect ad blocker in my android app?
Is there any way to detect when ad blocker is running in app ? I want to detect in my app that if user uses any app to block ads in app. if yes then I want to show popup to user to ask him to disable ...
0
votes
0
answers
35
views
How to detect that ad blocker is blocking ads in my app? [duplicate]
I am showing AdMob ads in my native android app. I want to detect in my app that if user is using any ad blocker to block ads in my app. If user is using ad blocker then I want to show pop up in app ...
0
votes
0
answers
33
views
How to add to exception to Adblock by click to button
I have function in JS that detect adblock on site and I want to click button and add site to exceptions, reload page and extension adblock should change color to green and add this site to exceptions.
...
0
votes
0
answers
115
views
Segment and Ad Blockers
I am not able to track user activity via segment when users are having ad blockers enabled?
do we have work around for this? so that we will be able to track user even though ad blocking enabled in ...
-2
votes
1
answer
377
views
How to disable all ads on webView swift
How to disable all ads like popups banner in webView for any URL.
I am using WKContentRuleListStore for block ads
I have use this json content block rule
https://github.com/ShingoFukuyama/...
-1
votes
1
answer
89
views
How to set up AdBlock in PySide6 Web Browser?
I'm making a web browser using Python and PySide6.
I wanted to set up adblocking on this browser. I know it has to be done with a request interceptor, but I cannot figure out how to do it.
I have some ...
0
votes
0
answers
79
views
What scenarios should unlimitedStorage be used in chrome extensions?
This question was probably quoted earlier as well (66454924) but my query didn't get resolved as per the comments.
So, as per the docs, unlimitedStorage permission have a note alongside which states:
...
0
votes
0
answers
21
views
Rerouting traffic of 3rd party js libraries within a webapp
I want to intercept and reroute calls that 3rd party js libraries I'm using make in my webapp.
I'm trying to create a work around to ad-blockers blocking some analytics traffic that I need.
Do you ...
0
votes
0
answers
71
views
Blocking ads (pop ups or that redirects to other websites) in flutter in app webview plugin
i am making an app that contains a button which when pressed will open a website that streams video . i have used flutter inappwebview plugin and i want to use content blockers too in my code.after ...
0
votes
1
answer
300
views
Why can Facebook Conversion API, instead of Pixel, overcome iOS 14 privacy policies?
They claimed that the Facebook Conversion API is the solution to overcoming iOS 14's privacy policies, however I still have two questions:
I understand that the Conversion API is sent from the server ...
1
vote
0
answers
515
views
sEntry reactjs: how to set up a tunnel to bypass AdBlocker?
I setup sentry cloud in our React application but its blocked by AdBlockers (when turning Adblocker off, it works).
Is there someone who successfully setup a tunnel in a react application?
I played ...
0
votes
0
answers
136
views
How to detect user with adblock to not serve him adsense ad?
I have some Google adsense ad in my website and it's causes CLS. One way to fix it to reserve them a fixed height div, but when user is having adblocker, it is only a big empty space, I dont want that....
0
votes
0
answers
48
views
Javascript showing adblock users alternate content for Google ads stopped working
Anybody knows why this Javascript for detecting Adblocker and showing alternate content instead the ad is not working anymore?
<script>
window.onload = function() {
setTimeout(function() {
...
-2
votes
1
answer
42
views
correct js in tag manager
i am trying to add a tag (to custom javascript) to my google tag manager, but i get "Error at line 12, character 5: Parse error. primary expression expected". Can i please get help to ...
0
votes
0
answers
38
views
How should I stop and analyze requests before blocking them in webRequest.OnBeforeRequest?
I'm trying to build a dyi adblock, that instead of just blocking ads, it first analyzes them based on their URL structure and their provided response from a fetch request
I'm using this as my starting ...
1
vote
1
answer
835
views
DHCP packet received on wlan0 which has no address on pihole
I have setup my DHCP server with pihole, it's working fine.
I received this error on pi-Hole diagnosis.
Check the image here.
Please help.
I tried nothing to resolve this error.
2
votes
2
answers
359
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 ...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
3k
views
how can i use exceptions in uBlock Origin?
in this article, i read a bit about using ~ to create exceptions in a filter rule for ad blockers.
now, i created a rule ||*.com^, which in itself functions to block any .com domains.
however, i would ...
0
votes
0
answers
51
views
Question about the inner workings of Spotify-Adblock
I am trying to understand how the Spotify-adbock works in detail.
I looked the repo and I have figured out the following things up till now :-
It uses a config.toml to store a list of urls that are ...
2
votes
1
answer
719
views
How to block elements only on exact URL
I'm trying to apply a filter to youtube so that all the suggested videos on its homepage are hidden. I'm using ublock origin (uses EasyList rules mostly) and it's easy enough to do through the UI, and ...
0
votes
0
answers
51
views
How to resolve this error because of adblocker- net::ERR_BLOCKED_BY_CLIENT
I'm using this below URL
https://media-exp1.licdn.com/dms/image/C4D03AQFKFHMJFYgPIw/profile-displayphoto-shrink_100_100/0/1655901436071?e=1671062400&v=beta&t=1Qg-...
0
votes
0
answers
42
views
Selenium get objects blocked by adblock
I would like to get the number (or elements from which domains are blocked) by some adblocker. Is there some way how to do it with selenium and some of the ad blocking plugins? Thank you
1
vote
1
answer
463
views
NextJs page won't render due to AdBlock
I'm working on a NextJs app that was upgraded from v11 to v12. It's pulling data/rending pages from the cloud CMS platform, ContentStack. One of the pages that gets rendered, /privacy-policy, is ...
1
vote
0
answers
35
views
Is there a way to block css elements based on wildcard rules? [duplicate]
The Guardian has a very annoying yellow banner.
As you can see it's given a random name every time. Always css-6 random characters.
How can I write a ublock origin rule that will catch it?
Had a look ...
1
vote
0
answers
888
views
What wildcard UBlock Origin should I use to block these elements?
What wildcard should I use to block all elements of this type with any number? Whether it's 50, 500 or 9999999 and etc. Here are the elements:
example.com###ad-row-1
example.com###ad-row-2
example.com#...
1
vote
1
answer
468
views
uBlock: Block outer div by div class of inner
I am trying to block specific div elements with uBlock, but I want to block the full other div by searching for the class name of an inner value.
It looks exactly like that:
<div class="...
2
votes
1
answer
573
views
How to use uBlock static filter operator
uBlock wiki says:
Filters such as ||example.com^ are still considered generic.
What is || operator? What does the above filter do?
-3
votes
1
answer
52
views
Is there a way to permanently block the --no-select attribute on a page by adding a filter to adblock, for example?
I'm learning to program and a page that contains pieces of code won't let me copy and run them, is there a way to permanently disable the --no-select attribute on this page? Maybe an adblock filter?
...
0
votes
1
answer
2k
views
Add adblock in webview
I'm trying to add adblock in my fragment, and when I'm tryed inisialize webview I got underline this on new AdBlockerWebView.init(this).initializeWebView(webView); line
package com.example....
1
vote
0
answers
215
views
Can't Toggle Static declarativeNetRequest Static Rules
I see that Google wants Chrome Extension developers to migrate from chrome.webRequest to chrome.declarativeNetRequest. I see static rules, but the trouble there is that how do we allow a user to ...
-2
votes
1
answer
801
views
I want to block iframe ads
I have a website built using php which has several iframe links in their codes. But the websites of the iframe shows annoying ads which demonetize my website.
Is there any option to block these iframe ...
1
vote
1
answer
810
views
Adblock destroys my site on react js (Adblock blocks all fetch and axios requests)
I made a course project on React JS and uploaded it to the hosting. After I sent my site to a friend, he said that almost nothing works for him, either eternal downloads, or the site does not return ...
0
votes
0
answers
87
views
Checking if adsbygoogle is loaded in Firefox Private Window
I've used this before https://stackoverflow.com/a/29321408/1780386
but now it doesn't work.
I see in F12 -> Network that adsbygoogle.js has status "Blocked". But adsbygoogle.loaded is ...
0
votes
0
answers
746
views
How to prevent AdBlocker from stopping my Facebook Tracking PIxel
I'm currently using a Facebook Tracking pixel to determine which leads convert to the TY page but I've noticed that AdBlock is stopping all pixels from firing. Here is an example of my code
...
2
votes
1
answer
294
views
Is it possible to check, if adblock is blocking another website?
Hello Is it possible to check on my website if Adblock is blocking another Webpages?
I have some referal links commision but looks like visitors using adblocks and its preventing monetization.
I do ...
1
vote
0
answers
150
views
I get an error when I try to run Pihole on Docker in Windows
I have a problem with Docker. I wanted to run this command in cmd and also Windows-Powershell.
docker run -d --name pihole -e ServerIP=192.168.178.20 -e WEBPASSWORD=XXX -e TZ=Europe/Berlin -e DNS1=172....
8
votes
0
answers
9k
views
"ERR_BLOCKED_BY_CLIENT" error on XHR request (sentry.io, maps.googleapis.com) by uBlock Origin like ad-blockers
Some of the XHR requests on my website is getting blocked by the uBlock origin adblocker it is throwing error like this
GET https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true net::...
0
votes
0
answers
104
views
How to implement ad blocker on a custom browser?
I try to find some way to remove ad elements from website on my custom browser. I tried to use Content Blocker but it seems to only work for Safari. How can I implement this feature?
-1
votes
1
answer
603
views
Detect ONLY uBlock Origin adblocker (Vue)
I'm using MoonPay for crypto purchasing in my Vue app, but uBlock Origin is blocking its IP address detection which blocks it from loading.
It doesn't seem to be an issue on other adblockers, so I'd ...
1
vote
1
answer
651
views
Server-side Tag Manager/App Engine/Ad blocker: Any way to customize endpoint URL?
I'm trying to keep count of the visitors to my blog (I'm using a static site published on Github Pages) and for that purpose I'm using Google Analytics 4.
But I realized that ad blockers such as ...
1
vote
1
answer
562
views
How to block ads on etsy with Greasemonkey?
I'm trying to block ads on etsy, because they make it hard to search for items to buy, and I found that the class of the ads always start with "js-merch-stash-check-listing v2-listing-card"
...
2
votes
1
answer
516
views
AdBlock thinks my websocket request is an ad
I Have a simple back-end app on a Google cloud virtual machine. It receives websocket connections and sends some simple messages to clients. I also have nginx server running on same machine, listening ...
0
votes
0
answers
258
views
Blockadblock script not working on blogger
blockadblock.com script not working on my website. "https://mycodeenote.blogspot.com" .
I am using simply blogger template . It is not outputting any console messages and error's.
I tried to ...
0
votes
0
answers
605
views
Want to load ad-less website using Python on Chrome: Disable acceptable ads for AdBlockerPlus through Selenium
I want to load news-websites ad-lessly on Chrome using Python-Selenium-AdBlockerPlus (APB). I can add the crx file for ABP in options. BUT AdBlocker has these 'Acceptable non-intrusive ads' that they ...