Page 1 of 1

[FIXED] tooltip shows blocked items but all items are trusted

Posted: Thu Dec 03, 2020 8:15 am
by ohno
I have a synology disk station and set its local address to trusted.
The tooltip still shows 2/4 items blocked and I can't find a way to disable any blocking.
Where can I see what is still blocked and how can I trust all my local addresses?
Image

Re: tooltip shows blocked items but all items are trusted

Posted: Thu Dec 03, 2020 3:00 pm
by barbaz
Are you sure the tooltip and icon are correct? How do you know something is actually blocked by NoScript?

Re: tooltip shows blocked items but all items are trusted

Posted: Thu Dec 03, 2020 3:31 pm
by ohno
I actually don't know if anything is blocked, I just noticed the icon showing '2' blocked items.
If I hover over the icon the tooltip comes up and shows what can be seen on the picture.
Image
If I click on the icon I get the list which shows the two trusted entries but no blocked entry.
The whole thing is repeatable, i. e. if I close the tab and re-open it, the problem re-appears.
This is very confusing.

Re: tooltip shows blocked items but all items are trusted

Posted: Thu Dec 03, 2020 4:43 pm
by Giorgio Maone
Is every capability enabled in your TRUSTED preset?
However, I've got a Synology NAS myself and I think I understand what's happening there: the page delivers its own Content Security Policy, which is in conflict with some element of the UI (at least in my case, an inline script inserted by prototype.js, but in your case it might be even more stuff since it seems you're using some kaspersky extension which inserts its own scripts everywhere) and blocks it. The CSP violation event then gets intercepted by NoScript, which cannot tell the blocking CSP is not its own and reports the blockage.
I'm currently investigating whether there's actually some way to discriminate: I think it's possible on Chrome, which IIRC lets you detect invalid CSP directives in the violation reports and therefore allows marking and telling apart NoScript's CSP; this didn't work on Firefox last time I checked, though.

Re: tooltip shows blocked items but all items are trusted

Posted: Thu Dec 03, 2020 5:32 pm
by ohno
Thanks for the explanation.
Yes every capability is enabled for trusted sites.
Image
So far I did not experience any problems in the functionality of the synology GUI.
It's just irritating that noscript shows that something is blocked although everything is set as trusted.

Re: tooltip shows blocked items but all items are trusted

Posted: Fri Dec 04, 2020 10:18 pm
by Giorgio Maone
BTW, it should be much better in latest development build, thanks.
v 11.1.6rc3
============================================================
x More accurate blockage reporting, with better filtering of
page's own CSP effects

Re: tooltip shows blocked items but all items are trusted

Posted: Sat Dec 05, 2020 7:10 am
by ohno
You're great!
I updated to 11.1.6rc3 and the problem is gone.