uBlockProtector icon indicating copy to clipboard operation
uBlockProtector copied to clipboard

NSFW! gelbooru.com

Open Aurani opened this issue 9 years ago • 48 comments

Not sure if this issue is because the site itself improved their anti-adblock script or because something broke in the last daily update to your script, regardless. As of today (it worked fine about 3h ago) I'm unable to view any images on this site, disabling uBlockO makes the images view as normal, disabling your script does nothing however. Example

And before you ask, no, I've not made any changes to my browser (Waterfox) or anything uBlock related.

Aurani avatar May 08 '17 00:05 Aurani

Yes, looks like the website got a new ad block detection script. image

Last time I updated Script was this morning, this is my commit: https://github.com/jspenguin2017/AdBlockProtector/commit/31a4d12985a68a5684a2dd3a71d1481343e033e9 The new code will only run on gaana.com domain.

jspenguin2017 avatar May 08 '17 01:05 jspenguin2017

As of today (it worked fine about 3h ago) I'm unable to view any images on this site

Update your uBO-filters list, then you should be able to view the images again. Fixed with https://github.com/uBlockOrigin/uAssets/commit/30d69ebf1c3000f8598debf009ac4ee30e0abb12

okiehsch avatar May 08 '17 02:05 okiehsch

@okiehsch Yep, that works!

jspenguin2017 avatar May 08 '17 02:05 jspenguin2017

The images can be seen but the notice wasn't removed.

Add - gelbooru.com###nup

uBlock-user avatar May 08 '17 09:05 uBlock-user

Hi, it's maybe not entirely anti-adblock issues, I've observed and found all thumbnail links are use redirected links, this change also affect cosmetic filtering that block gelbooru.com/redirect.php hyperlinks because they place redirect.php links only at advert links in the past, didn't expect their also apply on image list thumbnails.

The inline-script only triggered when they cannot found any value for abvertDar and then show disable adblock notice message, also re-show ads at footer.

kowith337 avatar May 08 '17 12:05 kowith337

Just add - a.noAccess("abvertDar"); that kills anti adblock script entirely.

uBlock-user avatar May 08 '17 12:05 uBlock-user

I can view the images fine now, but the script to edit tags is now broken despite my custom rules that previously enabled it. @@http://$script,domain=gelbooru.com @@https://$script,domain=gelbooru.com

Aurani avatar May 08 '17 13:05 Aurani

@okiehsch A lot of site functionalities are now broken, the warning box is gone, but comments are no longer working. This filter is bad: image

jspenguin2017 avatar May 08 '17 14:05 jspenguin2017

@jspenguin2017 ublock _ registro_de_peticiones_de_red-_google_c_2017-05-08_12-59-07

lain566 avatar May 08 '17 14:05 lain566

@lain566 Oh, that might be a filter from AAK List, lemme check

Script 6.199 will take care of the home page.

jspenguin2017 avatar May 08 '17 14:05 jspenguin2017

OK, I see why inline script is blocked... But we need to fix those href="javascript:..." and "onclick="...".

jspenguin2017 avatar May 08 '17 14:05 jspenguin2017

The solution I provided in https://github.com/jspenguin2017/AdBlockProtector/issues/182#issuecomment-299854766 doesn't break anything and kills the anti adblock script.

uBlock-user avatar May 08 '17 14:05 uBlock-user

@uBlock-user Yes, but then it serves you first party ads.

jspenguin2017 avatar May 08 '17 14:05 jspenguin2017

This is breaking the site

ublock _ registro_de_peticiones_de_red-_google_c_2017-05-08_12-40-29

lain566 avatar May 08 '17 14:05 lain566

@jspenguin2017 Where ? I don't see any.

uBlock-user avatar May 08 '17 14:05 uBlock-user

@uBlock-user Did you $badfilter the inline script blocking rule?

jspenguin2017 avatar May 08 '17 14:05 jspenguin2017

No, I rather disabled uBlock Filters as I was running the test.

uBlock-user avatar May 08 '17 14:05 uBlock-user

Can I still prove my test? I've using my custom filterlist that targeted to this site so far and didn't get any issues until today because they start to replace thumbnail links to use redirect links instead of go to the post directly.

PS. I didn't have any accounts on Gelbooru to test between different of usage or function while still not lower the guard (uBlock, uMatrix, etc.) At my side after fixed hiding hyperlink, the site still run fine and still block ads, even not have userscript installed.

kowith337 avatar May 08 '17 15:05 kowith337

@uBlock-user With uBO filter disabled, this is what I see:

NSFW

image

jspenguin2017 avatar May 08 '17 15:05 jspenguin2017

Does blocking inline-script break anything ?

uBlock-user avatar May 08 '17 15:05 uBlock-user