uBlockProtector icon indicating copy to clipboard operation
uBlockProtector copied to clipboard

bild.de

Open HanSolo80 opened this issue 9 years ago • 24 comments

Test link (required):

http://www.bild.de/politik/inland/g20-gipfel/bild-english-g20-52507612.bild.html

Screenshot of the web page (required):

Error

Screenshot of the console (press F12 to bring up the console) (required):

Part 1 Part 2

Add everything else that you believe to be useful below (optional):

Strangely, the adblock detection message is not always shown. It happens that sometimes the page is correctly loaded, but when opening another tab the message is shown. So when reproducing the issue you might have to try some times. This is a console screenshot when the page is correctly loaded:

Imgur

HanSolo80 avatar Jul 10 '17 19:07 HanSolo80

The log shows document.querySelector is correctly blocked, but I can't seem to reproduce it. What is the reproduction rate?

jspenguin2017 avatar Jul 10 '17 20:07 jspenguin2017

I tried again to reproduce it. Apparently, it only happens on first load in a new tab. When reentering the url in the same tab the page is shown correctly. What about the first error message in the log: Uncaught Error: uBlock Origin detectors are not allowed on this device!

HanSolo80 avatar Jul 10 '17 20:07 HanSolo80

It's fixed by uBlock filters list

lain566 avatar Jul 10 '17 20:07 lain566

It works consistently for me, try clear site cache? That log shows whenever a site-specific solution is activated.

jspenguin2017 avatar Jul 10 '17 20:07 jspenguin2017

@lain566 No, they added a try-catch to bypass uBO's abort-on-property-*.

jspenguin2017 avatar Jul 10 '17 20:07 jspenguin2017

@HanSolo80 When it does not work, can you open the console and type document.querySelector then press Enter and show what you see? It should be something like this if things worked correctly:

(...args) => {
            //Call log
            if (false) {
                warn("window.document.querySelector is called with these arguments:");
                for (let i = 0; i < args.length; …

jspenguin2017 avatar Jul 10 '17 20:07 jspenguin2017

ok the document.querySelector call outputs the code you posted. Clearing site cache didn't help. I tried to enable ublock origin and ublock protector in incognito mode and the error occurs there as well.

HanSolo80 avatar Jul 10 '17 20:07 HanSolo80

They might be serving geo based page source, can you dump the source? Press Ctrl+U to bring up page source.

jspenguin2017 avatar Jul 10 '17 20:07 jspenguin2017

Source code of working page: https://pastebin.com/bMWmi50D

Source code of page showing adblocker message: https://pastebin.com/0BTQExCV

HanSolo80 avatar Jul 10 '17 20:07 HanSolo80

OK, the source is different... They must be testing some new tech...

jspenguin2017 avatar Jul 10 '17 21:07 jspenguin2017

Can you post the link of the broken page?

jspenguin2017 avatar Jul 10 '17 21:07 jspenguin2017

http://www.bild.de/politik/inland/g20-gipfel/bild-english-g20-52507612.bild.html

HanSolo80 avatar Jul 10 '17 21:07 HanSolo80

Ah, you mean the link where you get redirected to: http://www.bild.de/wa/ll/bild-de/unangemeldet-42925516.bild.html

HanSolo80 avatar Jul 10 '17 21:07 HanSolo80

Oh, it's a redirect?

jspenguin2017 avatar Jul 10 '17 21:07 jspenguin2017

A JS redirect, yes. Output of Redirect Path Extension: Status Code URL IP Page Type Redirect Type Redirect URL 200 http://www.bild.de/politik/inland/g20-gipfel/bild-english-g20-52507612.bild.html 23.211.8.64 client_redirect javascript http://www.bild.de/wa/ll/bild-de/unangemeldet-42925516.bild.html 200 http://www.bild.de/wa/ll/bild-de/unangemeldet-42925516.bild.html 23.211.8.64 normal none none

HanSolo80 avatar Jul 10 '17 21:07 HanSolo80

What do you see when you type de.bild.cmsKonfig.a.a to the console?

jspenguin2017 avatar Jul 10 '17 21:07 jspenguin2017

Status Code URL IP Page Type Redirect Type Redirect URL 200 http://www.bild.de/politik/inland/g20-gipfel/bild-english-g20-52507612.bild.html 23.211.8.64 client_redirect javascript http://www.bild.de/wa/ll/bild-de/unangemeldet-42925516.bild.html 200 http://www.bild.de/wa/ll/bild-de/unangemeldet-42925516.bild.html 23.211.8.64 normal none none

HanSolo80 avatar Jul 10 '17 21:07 HanSolo80

It could be a race condition in uBO...

jspenguin2017 avatar Jul 10 '17 21:07 jspenguin2017

(unknown) Uncaught ReferenceError: sn3056t at Object.abort [as a] (:5:9) at :1:20

HanSolo80 avatar Jul 10 '17 21:07 HanSolo80

It only happen when the page is cached, right? Then that's a race condition...

jspenguin2017 avatar Jul 10 '17 21:07 jspenguin2017