Userscript link blocked even when whitelisted

Bug reports and enhancement requests
Post Reply
seaweed
Posts: 1
Joined: Fri Dec 09, 2011 3:31 pm

Userscript link blocked even when whitelisted

Post by seaweed »

Tried with both stable and the development version of NoScript.

http://mayhemydg.github.com/4chan-x/

Reproduce:
-Whitelist github.com, or even allow scripts globally, with the option "Block every object from a site marked as untrusted" enabled.
-Go to website above
-Try to click "INSTALL" link to a .user.js file.

Expected result:
-It works and goes straight to the file, because github is not marked as untrusted

Actual result:
-Link is blocked.

Disabling the "Block every object from a site marked as untrusted" option fixes the issue. "Fix Javascript links" option doesn't help at all.
Opera/9.80 (Windows NT 6.1; U; Edition United Kingdom Local; en) Presto/2.9.168 Version/11.52
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Userscript link blocked even when whitelisted

Post by therube »

Best I can figure, is that you have to Allow Global & neither Apply these restrictions to whitelisted sites too nor Block every object coming from a site marked as untrusted can be selected.

Don't know why, or why Allow Global needs to be allowed?


(Page fails in FF 3.0, with NoScript removed.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a2) Gecko/20111208 Firefox/10.0a2 SeaMonkey/2.7a2
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Userscript link blocked even when whitelisted

Post by Giorgio Maone »

Server misconfiguration (or, better, abuse of a code repository as a CDN):

Code: Select all

[NoScript] Blocking nosniff Javascript served from https://raw.github.com/mayhemydg/4chan-x/master/latest.js with wrong type info text/plain, inline and included by http://mayhemydg.github.com/4chan-x/
Work-around: add "https://raw.github.com/mayhemydg/4chan- ... /latest.js" (without quotes, space separated) to your noscript.inclusionTypeChecking.exceptions about:config preference.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Post Reply