Page 1 of 1

localhost gets blocked but whitelisted

Posted: Mon Feb 20, 2017 11:12 am
by BufferOverflow
Hello.
I've started encounter a strange bug while debugging websites on localhost.
Image
As you see, site is marked as blocked by noscript icon, but when I open noscript submenu, it's being shown like there is nothing blocked on this page. The page didn't loads, which means that scripts actually blocked.
Now look at white list:
Image
As you see, localhost is declared here. To solve this problem, I can delete it and re-add to whitelist. After that, noscript stops blocking localhost... for some time. Nearly a 3-4 days and localhost is blocked again.
I've never encounter this bug in any site but localhost.

Re: localhost gets blocked but whitelisted

Posted: Mon Feb 20, 2017 5:29 pm
by barbaz
When this issue occurs, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)

Re: localhost gets blocked but whitelisted

Posted: Tue Feb 21, 2017 1:50 pm
by bart
I do encounter the same issue with NoScript version 2.9.5.3

My whitelist includes `localhost`, the console shows no messages related to javascript at all (only that some font downloads are blocked by NoScript). There's no other visual indication of blocked scripts, even though I enabled all notifications. Yet for anything at localhost (non-standard http port) the noscript tag is rendered and script tags are ignored.

Re: localhost gets blocked but whitelisted

Posted: Sat Apr 15, 2017 9:21 pm
by imsodin
I have the same issue with 5.0.3-rc4 and I get the following output in the console:

Code: Select all

[ABE WAN] Detected WAN IP [...]
Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“toggleReaderMode”  browser.xul
Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”  browser.xul
Content Security Policy: Couldn’t process unknown directive ‘worker-src’  (unknown)
Content Security Policy: Directive ‘frame-src’ has been deprecated. Please use directive ‘child-src’ instead.  (unknown)
SHIELD active
If I can do anything else to debug this, please give me instructions what to do.