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

Ask for help about NoScript, no registration needed to post
ohno
Posts: 5
Joined: Sun Nov 08, 2020 8:50 am

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

Post by ohno » Thu Dec 03, 2020 8:15 am

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
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

barbaz
Senior Member
Posts: 9779
Joined: Sat Aug 03, 2013 5:45 pm

Re: tooltip shows blocked items but all items are trusted

Post by barbaz » Thu Dec 03, 2020 3:00 pm

Are you sure the tooltip and icon are correct? How do you know something is actually blocked by NoScript?
*Always* check the changelogs BEFORE updating that important software!
-

ohno
Posts: 5
Joined: Sun Nov 08, 2020 8:50 am

Re: tooltip shows blocked items but all items are trusted

Post by ohno » Thu Dec 03, 2020 3:31 pm

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.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

User avatar
Giorgio Maone
Site Admin
Posts: 9000
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: tooltip shows blocked items but all items are trusted

Post by Giorgio Maone » Thu Dec 03, 2020 4:43 pm

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.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

ohno
Posts: 5
Joined: Sun Nov 08, 2020 8:50 am

Re: tooltip shows blocked items but all items are trusted

Post by ohno » Thu Dec 03, 2020 5:32 pm

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.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

User avatar
Giorgio Maone
Site Admin
Posts: 9000
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: tooltip shows blocked items but all items are trusted

Post by Giorgio Maone » Fri Dec 04, 2020 10:18 pm

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
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

ohno
Posts: 5
Joined: Sun Nov 08, 2020 8:50 am

Re: tooltip shows blocked items but all items are trusted

Post by ohno » Sat Dec 05, 2020 7:10 am

You're great!
I updated to 11.1.6rc3 and the problem is gone.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Post Reply