Closed adguard-bot closed 2 years ago
Not reproduced with our filters, but it's related to Persian Blocker
.
@masterkia please fix this.
@zloyden
Thanks for letting me know. The site admin changes CSS id/class on a daily basis to circumvent my filters. I'm updating the filters everyday to avoid their anti-adblock.
@zloyden What is the minimum "! Expires: " time that AdGuard supports?
I want the PersianBlocker list to be updated as fast as possible so I set it on "0.5 days". Also if AdGuard has a quick fixes list similar to uBO, I could send daily pull requests (which I do for the uBO quick fixes).
Also if a volunteer on AdGuard Extra could write an script to defuse this site's anti-adblock that would be really good.
@DRSDavidSoft has written/maintained a userscript that can defuse this site's anti-adb and removes ads: https://github.com/DRSDavidSoft/user-scripts/raw/master/soft98_ad-unblocker.user.js
What is the minimum "! Expires: " time that AdGuard supports?
It's 4 days
, and unfortunately, we can't change this for now.
Also if AdGuard has a quick fixes list similar to uBO, I could send daily pull requests (which I do for the uBO quick fixes).
It depends on user preference, but our filters can be updated quickly. Also we support this site in AdGuard Extra and I opened the issue there. Thank you for sharing the script, it may be useful.
@aliafshany you can install the script https://github.com/DRSDavidSoft/user-scripts/raw/master/soft98_ad-unblocker.user.js to our app via settings - extensions. It looks like this works fine with the Persian blocker
or wait for fix in our script.
Also we support this site in AdGuard Extra and I opened the issue there.
I'll inform you when the extra script needs updating so that the AG Extra team can fix it quickly.
On the other hand, @DRSDavidSoft has tried to make his script bulletproof against circumvention and quickly updates the script if needed (I'm in touch with him so I can notify him asap).
but our filters can be updated quickly.
If you point me to the right list, I can send daily pull requests.
There is another side to the updates. If the user updates the filters manually or at a low interval (our products have such an option), he will get the new fixes.
our products have such an option to update the filters at a low interval
Good.
@aliafshany you can install the script https://github.com/DRSDavidSoft/user-scripts/raw/master/soft98_ad-unblocker.user.js to our app via settings - extensions. It looks like this works fine with the
Persian blocker
or wait for fix in our script.
no luck, I tried that maybe it's better to wait for the official fix thank you both @MasterKia @zloyden
maybe it's better to wait for the official fix
I'll push a fix.
@MasterKia i appreciate your efforts
@aliafshany
It's fixed. Please update the PersianBlocker list in your AdGuard settings.
If this happened again please let me know in this issue or in my repo https://github.com/MasterKia/PersianBlocker. Because this site updates hourly so it's crucial for me to know when it circumvents the filters.
@zloyden
https://github.com/AdguardTeam/AdguardFilters/blob/master/EnglishFilter/sections/foreign.txt#L6447-L6451 ُSoft98 already exists in the English Foreign filters. If you grant the permission (just say it's ok), I can send daily Pull requests to those filters.
@aliafshany
It's fixed. Please update the PersianBlocker list in your AdGuard settings.
If this happened again please let me know in this issue or in my repo https://github.com/MasterKia/PersianBlocker. Because this site updates hourly, so it's crucial for me to know when it circumvents the filters.
@MasterKia I cleared the cache and tried it on other browsers, but still, the issue persists. it detects AG ad blocker and forces to turn it off to be able to browse. it's true that I updated the filter before the test, but when I open the filters, I encounter a filter list which has updated at 9 am this morning. maybe i should wait to test the updated list.
@zloyden Is AdGuard caching the regional lists? Why is the cache time so long? GitHub caches for only 10 minutes.
@aliafshany Disable the Persian Blocker list in AdGuard. Add this URL as a new list: https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlocker.txt
Then test again.
@MasterKia now I get this one + deformation of the webpage
Weird. Could you install AdGuard extension on Chrome and test again using that? I don't have a Mac.
@MasterKia i installed the extension, and everything is working fine now except the "android news" part.
deformation of the webpage
Did you disable the old list? The deformation comes from an older version of the list.
the "android news" part.
There is no "android news" as far as I remember, but if you mean "مطالب اندروید" you just have to click on that tab so it'll appear.
@MasterKia
i did that and used this link instead https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlocker.txt
also disabled it from AG desktop and extension and used the link.
So on AdGuard Desktop: you disabled the old list and used the link I gave you => you got page deformation and anti-adblock
Weird. Did you try killing and re-opening the AG Desktop app (or just restarting the system)?
@MasterKia let me reboot and try that one also
@MasterKia still the same
Then maybe AdGuard Desktop doesn't fully support the extended syntax that I've used (:remove()
).
Maybe you could whitelist soft98.ir
in AG Desktop.
@MasterKia i closed AG desktop to test again. still same
But you said the extension is fine.
@MasterKia yes it works but no android news part is shown there which is not a big deal btw.
https://github.com/AdguardTeam/AdguardFilters/issues/126252#issuecomment-1205600211
What is the android news?
@MasterKia look at the picture i attached at this comment please https://github.com/AdguardTeam/AdguardFilters/issues/126252#issuecomment-1205600211
You should click on "مطالب اندروید"
@MasterKia thank you it works! :)))
@aliafshany
Please update the list again. The site admin self-sabotaged his site.
@MasterKia
@aliafshany Can you force update the list and test again?
@MasterKia except this one, everything's fine
That's my doing. Is it awkward?
@MasterKia yea a little bit :)) it promotes persianblocker.
it promotes persianblocker.
Only users who have the list enabled will see that. Because the site is being update daily, users might get into problems if their list is outdated (@zloyden said AdGuard updates the lists after 4 days).
@MasterKia
I'll push a fix. I don't know what to say, the site admin intentionally causes self-sabotage.
@aliafshany Force update the PersianBlocker list.
@MasterKia
@aliafshany
Disable AdGuard for soft98
completely.
Install TamperMonkey
Click on this link to install the soft98 cleaner userscript.
Let me know how it works.
@MasterKia @zloyden I have installed the extension you asked for and added the script. Still, I see ads, but the framing of the site is ok. Unfortunately, this has become time-consuming for me. I'd like to leave this issue to other participants, for which I have participated enough and tried many things on my side without any successful results. Thank you for your efforts.
I understand. I'll let @DRSDavidSoft know that the script needs updating. In any case, I push a fix as soon as I'm aware of new changes. If you happened to notice anything you could let me know. Thanks.
@aliafshany One hacky solution would be to block https://soft98.ir/templates/soft98_default/js/jquery.js or disable JavaScript on soft98 completely and execute the following code in your browser's console (F12):
document.getElementsByClassName('js-enable-d-block')[0].className = "";
If you want the features of the website that rely on JavaScript, you can decrease your window's width to < 768px, the anti adblock code checks if your window width is >= 768px first.
@0x416c69 AdGuard does support JS rules so it's possible to incorporate your hack in AdGuard filters. So if you can come up with JS code to defuse their anti-adblock, it'd be very useful.
@0x416c69 it works, but they can only be added to user rules
||soft98.ir/templates/soft98_default/js/jquery.js
soft98.ir#%#//scriptlet('remove-class', 'd-none|js-enable-d-block', '.js-enable-d-block')
Issue URL (Annoyance)
https://soft98.ir/
Comment
Username: @aliafshany
Screenshots
Screenshot 1
![Screenshot 1](https://reports-img.adguard.com/FS1qis3.png)Screenshot 2
![Screenshot 2](https://reports-img.adguard.com/ijv1GLx.png)System configuration
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Strip URLs from tracking parameters,
Block third-party Authorization header,
Disable cache for third-party requests,
Block WebRTC,
Block Push API,
Block Location API,
Block Java
https://14cd13ae.d.adguard-dns.com/dns-query
filters:
https://filters.adtidy.org/mac_v2/filters/15.txt, DnsUserRules
AdGuard Base
Privacy:
AdGuard Tracking Protection,
AdGuard URL Tracking
Annoyances:
AdGuard Annoyances,
AdGuard Cookie Notices,
AdGuard Popups,
Adblock Warning Removal List
Security:
Online Malicious URL Blocklist,
NoCoin Filter List
Language-specific:
Persian Blocker
AdGuard Assistant (url: https://userscripts.adtidy.org/release/assistant/4.3/assistant.user.js),
AdGuard Popup Blocker (url: https://userscripts.adtidy.org/release/popup-blocker/2.5/popupblocker.user.js),
AdGuard Extra (url: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.user.js)