gorhill / httpswitchboard

Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.
GNU General Public License v3.0
1.33k stars 83 forks source link

Necessary javascript not shown in matrix #397

Closed ghost closed 9 years ago

ghost commented 9 years ago

This site

http://www.bankleitzahlen.de/

requires javascript. The script column in HTTPSB remains empty, though. After whitelisting the empty script cell, the site works and the matrix shows 7 scripts in the script cell for www.bankleitzahlen.de

gorhill commented 9 years ago

I'm going to need more details, I see 7 scripts here without having to reload. First, repro steps would help.

ghost commented 9 years ago

As mentioned, even reloading that site doesn't show any scripts. Here's what statistics shows:

blz

It doesn't show any blocked scripts.

gorhill commented 9 years ago

I need to be able to reproduce. As said, I see 7 scripts after loading first time (and after restarting HTTPSB). I need repro steps with details about your environment, if I can't reproduce I can't investigate.

Is there anything related to HTTPSB at the dev console for the web page? The dev console for the extension itself?

gorhill commented 9 years ago

Actually, I see an unexpected error for uBlock:

Uncaught TypeError: undefined is not a function     contentscript-end.js:350

This is related to cosmetic filtering. But this has nothing to do with HTTPSB.

ghost commented 9 years ago

I tried with µBlock disabled but with the same result (and adblocking is disabled in HTTPSB, of course). Here's what the console says:

blz1

ghost commented 9 years ago

The lower part of the console output (µBlock disabled):

blz2

gorhill commented 9 years ago

My bad, the problem is in HTTPSB, the issue was fixed in uBlock since quite a while now.

gorhill commented 9 years ago

Will fix asap.

I really to get on with uMatrix, as even with APB filtering disabled, the scripts are injected and executed regardless, which is not good (overhead etc.)

ghost commented 9 years ago

Thanks! But why did you see those scripts while I don't?

gorhill commented 9 years ago

But why did you see those scripts while I don't?

I just checked, and I had auto-whitelist enabled... Doh! I didn't even realize this, as I currently use HTTPSB in allow-all/block-ex mode. So even after using block-all/allow-ex in a scope for the site, I didn't realize the domain of the site was whitelisted automatically, call it psychological color-blindness.