Closed adreporter closed 7 years ago
yiv.com##script:inject(abort-on-property-read.js, onload)
That seems to break the site...
Eh, this is going to be a tough one...
@@||imasdk.googleapis.com^$script,domain=yiv.com
Which part ?
Got to whitelist Google API or the game won't load.
It's cookie based. Better yet just set the cookie AdBlockMessage
to yes
instead of whitelisting.
I'm not talking about the block screen, I mean the game itself, does it load?
I see. Even after whitelisting, the game doesn't load.
If you click on https://www.yiv.com/Penalty-Mania
Does this appear - https://www.yiv.com/games/Penalty-Mania/index.html ?
Nevermind you will have to whitelist imasdk.googleapis.com
as it's part of the HTML5 games.
For Anti adblock use - yiv.com##script:inject(setTimeout-defuser.js, ad)
Add these two also
yiv.com###LeftAdDiv
yiv.com###RightAdDiv
I'm not going to directly whitelist IMA SDK, I'll loopback it, there are a ton of whitelist for that SDK inherited from AAK, it's a good time to clean them up. (FYI, IMA = Interactive Media Ads)
Yes I'm aware what it is, but not whitelisting it doesn't initialize, so if you can patch it without the requirement of white-listing that domain that would be great.
Huh, there aren't that many actually... Only 2 or 3...
What is loopback, is it same to whitelist?
No, it's like a custom redirect. The payload can be generated on the fly or pre-calculated.
PS C:\Users\Alpha\Desktop\Temp Files> node temp
google_js_reporting_queue
gteh
Goog_AdSense_Lidar_sendVastEvent
Goog_AdSense_Lidar_getViewability
Goog_AdSense_Lidar_getUrlSignalsArray
Goog_AdSense_Lidar_getUrlSignalsList
ima
onYouTubeIframeAPIReady
google
Why I feel defining google
is enough...
Actually, there are quite a bit of whitelists of IMA SDK in EasyList...
Life is hard... Don't tell me that I have to implement ads manager...
I will have the SDK to always dispatch AD_ERROR, since with whitelisting, the SDK will always error out.
The empty ads divs are to be handled by EasyList.
The new loopback logic will apply to ALL IMA SDK requests, Let's test! There are like 50 whitelists in EasyList.
baltimoresun.com|boston.com|calgaryherald.com|capitalgazette.com|carrollcountytimes.com|chicagotribune.com|chroniclelive.co.uk|citypaper.com|cnet.com|courant.com|dailypress.com|deathandtaxesmag.com|edmontonjournal.com|edmunds.com|everquest.allakhazam.com|financialpost.com|gofugyourself.com|hearthhead.com|ibtimes.com|infinitiev.com|latimes.com|leaderpost.com|lifewire.com|lolking.net|mcall.com|metacritic.com|montrealgazette.com|msn.com|nasdaq.com|nationalpost.com|orlandosentinel.com|ottawacitizen.com|pcmag.com|ranker.com|sandiegouniontribune.com|saveur.com|sherdog.com|spin.com|sporcle.com|stereogum.com|sun-sentinel.com|thebalance.com|theprovince.com|thespruce.com|thestarphoenix.com|thoughtco.com|timeanddate.com|tmn.today|torontosun.com|tvguide.com|twincities.com|vagazette.com|vancouversun.com|vibe.com|windsorstar.com|wowhead.com|www.ign.com|zam.com
allcatvideos.com|audiomack.com|bloomberg.com|cbc.ca|cbsnews.com|cbssports.com|cnet.com|complex.com|gamejolt.com|news.sky.com|play.ludigames.com|player.performgroup.com|rumble.com|snopes.com|theverge.com|video.foxbusiness.com|video.foxnews.com|vidyomani.com
Seems to work correctly for me. Let me know if it breaks. Some websites dump the error event, kind of annoying as the error message is like 50 lines... Well, better than getting filled by blocked subrequests.
Do you receive any redirect failed for uBlock Origin warnings from Chrome when testing ?
Nope. Works nicely for me...
Well did you test it on this case itself ? The game doesn't initialize and remains broken
Did you update integration filters?
I updated the extension, anything else ?
Got it working finally!
You know you could just kill the setTimeout
call instead of setting the cookie rather.
As for those 50 whitelists, some of them are redundant and not even needed as imasdk.googleapis.com
doesn't even make any connections there.
@jspenguin2017 @uBlock-user
Seems to work correctly for me. Let me know if it breaks. Some websites dump the error event, kind of annoying as the error message is like 50 lines... Well, better than getting filled by blocked subrequests.
Got it working finally!
Yes, it works. Thank you.
This solution is generic, need to test on other websites too.
@jspenguin2017 On these, right?
These and any website that use IMA SDK. Need to test a substantial sample.
@jspenguin2017 Oh, I see. I would like to help you. I remember I wrote you in a comment I'm not an expert, well I'm a noob actually. All can I do is to see if there are some anti-adblock messages in those 73 websites you posted above. Do I have to check also the proper functionality of those websites?
Yea, the key is proper functionality, the domain list I posted is not good. I'll use an automation script to filter them. Most of them doesn't even load the SDK.
If I understood right, I have to wait for a new domain list you'll post here and then check if anti-adblock messages appear on those websites in the list and check the proper functionality of those websites? Proper functionality is to check for example if a streaming doesn't work or a button doesn't work, things like that, right?
6146 results...
I did a quick scrape of EasyList domains, none seems to be using it... Am I doing it wrong?
OK, it is crashing on the second entry :'D
@jspenguin2017 @uBlock-user What's the plan now?
I'll do it. It's a bit complex.
Note for self: google.ima.settings.setVpaidMode
is not defined.
@jspenguin2017 Don't bother going beyond 1000, that should cover all the famous and most used ones with the higher ranking in accordance to Alexa.
I'll only check like 50
Test link: https://www.yiv.com/Stickman-Archer-Online
Screenshot of the web page:
Screenshot of the console:
If I refresh the page, the anti-adblock message disappears, but the game doesn't load.