temptrusted\disable restriction for tab = still blocked stuf

Ask for help about NoScript, no registration needed to post
Owyn

temptrusted\disable restriction for tab = still blocked stuf

Post by Owyn » Sat Jun 16, 2018 1:41 pm

Image
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Re: temptrusted\disable restriction for tab = still blocked

Post by barbaz » Sat Jun 16, 2018 2:08 pm

What are your settings for the Trusted permission? Do you have WebGL enabled?
*Always* check the changelogs BEFORE updating that important software!
-

Owyn

Re: temptrusted\disable restriction for tab = still blocked

Post by Owyn » Sat Jun 16, 2018 2:21 pm

barbaz wrote:What are your settings for the Trusted permission? Do you have WebGL enabled?
I do
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Re: temptrusted\disable restriction for tab = still blocked

Post by barbaz » Sat Jun 16, 2018 2:30 pm

Not seeing that here in Firefox 60.0.2, NoScript 10.1.8.2rc4, new profile.

URL, from your screenshot: https://www.twitch.tv/blizzheroes

Cleaned out irrelevant entries from the default whitelist. Kept clicking "Set all this page to Temporarily Trusted" until there is nothing left. I didn't even see any WebGL placeholders at all.

Could it be another extension interfering?
*Always* check the changelogs BEFORE updating that important software!
-

Owyn

Re: temptrusted\disable restriction for tab = still blocked

Post by Owyn » Sat Jun 16, 2018 2:45 pm

barbaz wrote:Not seeing that here in Firefox 60.0.2, NoScript 10.1.8.2rc4, new profile.

URL, from your screenshot: https://www.twitch.tv/blizzheroes

Cleaned out irrelevant entries from the default whitelist. Kept clicking "Set all this page to Temporarily Trusted" until there is nothing left. I didn't even see any WebGL placeholders at all.

Could it be another extension interfering?
I tried running firefox with all other extensions disabled, same result.

Also tried viewing streams of other games, but there were no blocked webgl elements, perhaps you'd need to link your blizzard (hots) account with twitch to see it, not sure.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Re: temptrusted\disable restriction for tab = still blocked

Post by barbaz » Sat Jun 16, 2018 3:45 pm

Owyn wrote:Also tried viewing streams of other games, but there were no blocked webgl elements, perhaps you'd need to link your blizzard (hots) account with twitch to see it, not sure.
Can you check it by loading the site in a Private Browsing window? (assuming that would show you as logged out while not logging out your existing session)
*Always* check the changelogs BEFORE updating that important software!
-

Owyn

Re: temptrusted\disable restriction for tab = still blocked

Post by Owyn » Sat Jun 16, 2018 4:22 pm

barbaz wrote:
Owyn wrote:Also tried viewing streams of other games, but there were no blocked webgl elements, perhaps you'd need to link your blizzard (hots) account with twitch to see it, not sure.
Can you check it by loading the site in a Private Browsing window? (assuming that would show you as logged out while not logging out your existing session)
Checked, blocked webgl elements are still there even in private window...
Only fully turning off noscript extension from extension manager helps to remove those blocks, cuz simply clicking "disable restrictions for this tab" in noscript still keeps those blocked
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

skriptimaahinen
Senior Member
Posts: 213
Joined: Wed Jan 10, 2018 7:37 am

Re: temptrusted\disable restriction for tab = still blocked

Post by skriptimaahinen » Tue Jun 19, 2018 12:52 am

Can confirm the problem. Sending fix suggestion to Giorgio. Not easy fix though.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Re: temptrusted\disable restriction for tab = still blocked

Post by barbaz » Tue Jun 19, 2018 2:03 am

@skriptimaahinen Out of curiosity, do you have any insight as to why I couldn't reproduce the problem?
*Always* check the changelogs BEFORE updating that important software!
-

skriptimaahinen
Senior Member
Posts: 213
Joined: Wed Jan 10, 2018 7:37 am

Re: temptrusted\disable restriction for tab = still blocked

Post by skriptimaahinen » Tue Jun 19, 2018 4:14 am

The bug is caused by some async functions getting executed in unexpected order, so there's no telling when it happens. To trigger the problem, you need to initially have webgl blocked for the twitch.tv. Refresh the page few times in attempt to trigger it. If you get "script undefined" error in console, you know you have succeeded. After that WebGL will get blocked even if you allow it. Only way to reset the situation is to restart browser or NoScript.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Re: temptrusted\disable restriction for tab = still blocked

Post by barbaz » Tue Jun 19, 2018 4:51 am

Thanks skriptimaahinen for your reply and contributions here.

I tried a few times and still couldn't reproduce it. If I enable "script" in DEFAULT, I do see the script is undefined error, but still the webgl placeholders go away for me when I set all to Temp. Trusted. Reloading a few times didn't trigger the race condition, maybe something about my environment prevents it from happening, who knows with this type of issue.

Looks like I can't add anything useful to this issue atm, so will leave this thread alone now.
*Always* check the changelogs BEFORE updating that important software!
-

skriptimaahinen
Senior Member
Posts: 213
Joined: Wed Jan 10, 2018 7:37 am

Re: temptrusted\disable restriction for tab = still blocked

Post by skriptimaahinen » Tue Jun 19, 2018 6:02 am

That is odd, as I would imagine that the "script is undefined" error will surely lead to the condition...

You don't need to enable script for default. The required domains are:

Code: Select all

twitch.tv
twitchcdn.net
twitchsvc.net (why does this trigger antispamfilter?)
Though I did try it your way and still got the condition.

Btw, do the placeholders work for you OK if you click on them (regardless of the error)?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Owyn

Re: temptrusted\disable restriction for tab = still blocked

Post by Owyn » Tue Jun 19, 2018 2:44 pm

skriptimaahinen wrote:Btw, do the placeholders work for you OK if you click on them (regardless of the error)?
Nope, tried that - it just reloaded the page and nothing changed
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Re: temptrusted\disable restriction for tab = still blocked

Post by Giorgio Maone » Tue Jun 19, 2018 10:15 pm

skriptimaahinen wrote:The bug is caused by some async functions getting executed in unexpected order, so there's no telling when it happens. To trigger the problem, you need to initially have webgl blocked for the twitch.tv. Refresh the page few times in attempt to trigger it. If you get "script undefined" error in console, you know you have succeeded. After that WebGL will get blocked even if you allow it. Only way to reset the situation is to restart browser or NoScript.
Thank you for the insight, please check latest development build:
v 10.1.8.3rc2
=============================================================
x Tentative fix for content scripts asynchronous registration
issues (thanks skriptimaahinen for report)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Post Reply