Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soft98.ir detects adblocker and prevents from loading page #730

Open
fsheidaiee opened this issue Dec 15, 2021 · 14 comments
Open

soft98.ir detects adblocker and prevents from loading page #730

fsheidaiee opened this issue Dec 15, 2021 · 14 comments
Assignees

Comments

@fsheidaiee
Copy link

Hi
after latest updates on brave adblocker, many ad elements are removed from the site "soft98.ir".
but the site prevents you from surfing pages and it warns you to turn of your adblocker first.
please see these links maybe it can help you solve this issue with this specific site:
farrokhi/adblock-iran#17
DRSDavidSoft/user-scripts#1
the solution is to use a userscript. but maybe you can solve this without userscript
thanks

@DRSDavidSoft
Copy link

I'm indeed curious if it's possible to solve this issue without using a user-script.

@MasterKia
Copy link

I'm indeed curious if it's possible to solve this issue without using a user-script.

This problem has been dealt with several times in uBO but the s0ft98 admin pulls a trick everytime, such as changing the ads picture's URL from example.com to forum.s0ft98.ir, changing padvish to p4dvish and other stuff; On top of that, in a last-ditch effort they've recently implemented ad-reinsertion.

@DRSDavidSoft
Copy link

@MasterKia SIdenote: does my userscript remove ads if they are re-inserted?

@MasterKia
Copy link

@MasterKia SIdenote: does my userscript remove ads if they are re-inserted?

Yes, it does.
Now that I check, looks like they're reinserting every(?) picture on the page and thus your s0ft98 pirate logo is being replaced by the original logo after a few seconds, which is ... sad; Could you fix it? :P

@DRSDavidSoft
Copy link

@MasterKia lol 😁 I just noticed it, it seems that they're restoring the logo back to the original state. Didn't think they'd do such a thing!

I'll push a path to fix the problem, and restore the 🏴‍☠️ flag back!

@ryanbr
Copy link
Collaborator

ryanbr commented Feb 3, 2022

@fsheidaiee trying to reproduce this, loading https://forum.soft98.ir/showthread.php?t=32357 and https://soft98.ir/ seemed fine. and the links. Where is the adblocker bit?

@MasterKia
Copy link

Where is the adblocker bit?

Try to block the big banner at the top (پادویش، آنتی ویروس، Padvish) and then refresh the page, this would trigger the anti-adblock inside jquery.js

@ryanbr
Copy link
Collaborator

ryanbr commented Feb 8, 2022

Does adding ||kaprila.com^ into brave://adblock help? @fsheidaiee @MasterKia

@fsheidaiee
Copy link
Author

Does adding ||kaprila.com^ into brave://adblock help? @fsheidaiee @MasterKia

no

@ryanbr
Copy link
Collaborator

ryanbr commented Feb 8, 2022

I'm not sure what I'm looking for on the site. Not obvious too me. I've clicked on various links, and its forwarded me to other sites. Maybe a screen record/youtube capture to reproduce it, and what too look for.

@MasterKia
Copy link

image

The red banner at the top is an ads, if you try to block it (using network or cosmetic filters), it would trigger the anti-adblock inside the file jquery.js.

@ryanbr
Copy link
Collaborator

ryanbr commented Feb 9, 2022

Try Adding into brave://adblock

soft98.ir##.b7d9x
soft98.ir##.t2oast

@fsheidaiee
Copy link
Author

Try Adding into brave://adblock

soft98.ir##.b7d9x
soft98.ir##.t2oast

this led to adblock detection by the site and you cannot open any link in that site after adding those filters.
as you see in the picture
image

@MasterKia
Copy link

it's their custom anti-adblock script detection

Latest version (17): https://soft98.ir/templates/soft98_default/js/jquery.js?v=17

The unpacked and formatted version 12 for examination (Search for b7d9x):
https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/soft98-antiadb.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants