Page 1 of 1

NoScript blocking Firefox live bookmarks

Posted: Mon May 09, 2016 2:09 am
by antionymous
Recently (I don't know exactly when) NoScript has started to block live bookmarks (RSS feeds) in Aurora. Fx reports "Live Bookmark feed failed to load" and NoScript reports that it has blocked the site. If I temporarily allow scripts from the site in NoScript, then the feed works again.

Is this the result of a change in Fx or in NoScript? Is there some workaround (other than telling NoScript to allow scripts from the site)?

Aurora 48.0a2 (buildid 20160506004122) UA Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0

NoScript 2.9.0.11

Re: NoScript blocking Firefox live bookmarks

Posted: Mon May 09, 2016 6:25 pm
by therube
Anything related noted in Error (Browser) Console?

Re: NoScript blocking Firefox live bookmarks

Posted: Tue May 10, 2016 12:21 am
by antionymous
therube wrote:Anything related noted in Error (Browser) Console?
Just this:

Code: Select all

expression closures are deprecated noscriptBM.js:95:64

Warning: 'nsIOService::NewChannel()' deprecated, please use 'nsIOService::NewChannel2()'1noscriptService.js:1013:28

Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
The last warning appeared just after the NoScript warnings but I don't know if it is related. I couldn't see where that one originated. It also appeared in other places not obviously related to NoScript.

Re: NoScript blocking Firefox live bookmarks

Posted: Tue May 10, 2016 12:42 am
by barbaz
I can confirm this in official SeaMonkey nightly 20160509003002 (linux64) and my existing live-bookmarks. Not only is it required to whitelist the site but also a browser restart is required to make live bookmarks load.

(WOW, gtk3 "default theme" with anything other than Raleigh is such an eyesore!!!!!!!!!!!!!
Image
Thank the SeaMonkey devs for Modern theme!)

Tried to use the Net monitor in the browser toolbox, but the gtk3 "default theme" hurt my eyes and half the stuff wasn't really readable and I think the network request didn't seem to even make it that far anyway...

I get this Browser Console message:

Code: Select all

Warning: ‘nsIOService::NewChannel()’ deprecated, please use ‘nsIOService::NewChannel2()’noscriptService.js:1013:28

Sorry but I've no time for my usual debugging/investigation of these things (like maybe finding regression range of Nightlies, checking clean profile, etc).

RSS: site whitelisted but still don't work

Posted: Fri May 13, 2016 3:11 pm
by higuita
I'm trying to add the RSS from https://motherboard.vice.com/rss and firefox do not show anything. I already have whitelisted vice.com and still do not work... but if i disable noscript, it works fine

my lwn.net rss and ycombinator "hacker news" also stopped working and after some debug i found it is the same problem:

http://lwn.net/headlines/newrss
http://blog.ycombinator.com/posts.atom

It worked fine a few weeks ago, so is suspect this last (or few last) updates broke this

Thanks for no script
higuita

Re: NoScript blocking Firefox live bookmarks

Posted: Wed May 18, 2016 10:45 pm
by Thrawn
Anything from NoScript in the Browser Console (Ctrl+Shift+J) when you do this?

Re: NoScript blocking Firefox live bookmarks

Posted: Wed May 25, 2016 2:48 pm
by Guest
Please check http://www.pastebin.ca/3609610

I had to use pastbin, as the forum spam filter blocked that text

Re: NoScript blocking Firefox live bookmarks

Posted: Wed May 25, 2016 10:40 pm
by barbaz
(attempting to re-posting Guest's pastebin here)

Code: Select all

14:26:33.510 “nsICookieManager.remove()” is changed. Update your code and pass the correct originAttributes. Read more on MDN: https://developer.mozilla.org/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsICookieManagerHTTPS.js:164:6
14:26:34.448 TypeError: event.stopPropagation is not a functionbrowser.js:5502:3
14:26:34.471 unsafe CPOW usagenoscriptService.js:2354:10
14:26:34.552 GET 
https://motherboard.vice.com/rss [HTTP/1.1 200 OK 487ms]
14:26:34.564 “nsICookieManager.remove()” is changed. Update your code and pass the correct originAttributes. Read more on MDN: https://developer.mozilla.org/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsICookieManagerHTTPS.js:164:6
14:26:35.336 Use of nsIFile in content process is deprecated.NetUtil.jsm:351:12
14:26:35.483 GET 
https://motherboard.vice.com/favicon.ico [HTTP/1.1 200 OK 135ms]
14:26:35.514 “nsICookieManager.remove()” is changed. Update your code and pass the correct originAttributes. Read more on MDN: https://developer.mozilla.org/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsICookieManagerHTTPS.js:164:6
14:26:35.571 unsafe CPOW usageRemoteAddonsParent.jsm:805:2
14:26:35.572 unsafe CPOW usagenoscriptService.js:5422:10
14:26:35.573 unsafe CPOW usageRemoteAddonsParent.jsm:805:2
14:26:35.573 unsafe CPOW usagenoscriptService.js:5424
14:26:35.573 unsafe CPOW usagenoscriptService.js:5422:22
14:26:35.574 unsafe CPOW usagenoscriptService.js:5430:11
14:26:35.574 unsafe CPOW usagenoscriptService.js:5431:10
14:26:35.574 unsafe CPOW usagenoscriptService.js:5431:21
14:26:35.575 unsafe CPOW usagenoscriptService.js:5452:10
14:26:35.575 unsafe CPOW usagenoscriptService.js:5456
14:26:35.575 unsafe CPOW usagenoscriptService.js:5461:10
14:26:35.575 unsafe CPOW usagenoscriptService.js:5462:10
14:26:35.576 unsafe CPOW usagenoscriptService.js:5467:14
14:26:35.576 unsafe CPOW usagenoscriptService.js:3954:4
14:26:35.576 unsafe CPOW usagenoscriptService.js:5491
14:26:35.577 unsafe CPOW usagenoscriptService.js:5496:19
14:26:35.577 unsafe CPOW usagenoscriptService.js:3954:4
14:26:35.577 unsafe CPOW usagenoscriptService.js:3959:8
14:26:35.577 unsafe CPOW usagenoscriptService.js:3960
14:26:35.577 unsafe CPOW usagenoscriptService.js:3960:37
14:26:35.578 unsafe CPOW usagenoscriptService.js:3954:4
14:26:35.578 unsafe CPOW usagenoscriptService.js:4164:10
14:26:35.578 unsafe CPOW usagenoscriptService.js:4164:20
14:26:35.578 unsafe CPOW usagenoscriptService.js:4165:8
14:26:35.579 unsafe CPOW usagenoscriptService.js:3954:4
14:26:35.579 unsafe CPOW usagenoscriptService.js:3959:8
14:26:35.581 unsafe CPOW usagenoscriptService.js:3960
14:26:35.581 unsafe CPOW usagenoscriptService.js:3960:37
14:26:35.581 unsafe CPOW usagenoscriptService.js:4168:10
14:26:35.581 unsafe CPOW usagenoscriptService.js:2354:10
14:26:35.581 unsafe CPOW usagenoscriptService.js:4174:12
14:26:35.581 unsafe CPOW usagenoscriptService.js:4174:21
14:26:35.581 unsafe CPOW usagenoscriptService.js:4178:10
14:26:35.582 unsafe CPOW usagenoscriptService.js:4174:12
14:26:35.582 unsafe CPOW usagenoscriptService.js:4174:21
14:26:35.582 unsafe CPOW usagenoscriptService.js:4178:10
14:26:35.582 unsafe CPOW usagenoscriptService.js:4191:14
14:26:35.582 unsafe CPOW usagenoscriptService.js:2354:10
14:26:35.582 unsafe CPOW usagenoscriptService.js:5430:11
14:26:35.583 unsafe CPOW usagenoscriptService.js:5505:8
14:26:35.583 unsafe CPOW usagenoscriptService.js:3954:4
14:26:35.584 unsafe CPOW usageDOM.js:68:6
14:26:35.584 unsafe CPOW usageDOM.js:68:13
14:26:35.584 unsafe CPOW usagenoscriptOverlay.js:2031:42
14:26:36.510 “nsICookieManager.remove()” is changed. Update your code and pass the correct originAttributes. Read more on MDN: https://developer.mozilla.org/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsICookieManagerHTTPS.js:164:6
14:26:42.830 TypeError: this.transport is nullmain.js:1391:5
14:26:42.838 TypeError: window is nullcontentPolicy.js:204:9
14:26:42.838 [Exception... "[JavaScript Error: "window is null" {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://jid1-mnnxcxisbpnsxq-eff-at-jetpack/lib/contentPolicy.js" line: 204}]'[JavaScript Error: "window is null" {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://jid1-mnnxcxisbpnsxq-eff-at-jetpack/lib/contentPolicy.js" line: 204}]' when calling method: [nsIContentPolicy::shouldLoad]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource://gre/modules/RemoteAddonsParent.jsm :: ContentPolicyParent.shouldLoad/result< :: line 157"  data: yes]
(unknown)
14:26:42.945 unsafe CPOW usageindicator.jsm:102:10
14:26:42.945 unsafe CPOW usageindicator.jsm:102:22
14:26:42.945 unsafe CPOW usageindicator.jsm:29:2
14:26:42.946 unsafe CPOW usageindicator.jsm:29:9
14:26:42.946 unsafe CPOW usageRemoteAddonsParent.jsm:649:8
14:26:42.946 unsafe CPOW usageRemoteAddonsParent.jsm:649:23
14:26:43.593 “nsICookieManager.remove()” is changed. Update your code and pass the correct originAttributes. Read more on MDN: https://developer.mozilla.org/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsICookieManagerHTTPS.js:164:6

Re: NoScript blocking Firefox live bookmarks

Posted: Thu Jun 30, 2016 3:35 pm
by happy-dude
Just wanted to bump this thread. I am still running into this issue.

Is there any way I can help debug or contribute a patch or something to fix this?

Re: NoScript blocking Firefox live bookmarks

Posted: Thu Jun 30, 2016 9:11 pm
by barbaz
Sure, if you can get a patch working that would be awesome! :D

You can PM the patch to Giorgio Maone and he'll review it & get the fix in NoScript.

Re: NoScript blocking Firefox live bookmarks

Posted: Tue Aug 23, 2016 4:32 pm
by higuita
It started to work for me after i returned from vacation and updated firefox and all the plugins

Re: NoScript blocking Firefox live bookmarks

Posted: Tue Aug 23, 2016 4:36 pm
by barbaz
Was fixed by NoScript 2.9.0.14rc1: viewtopic.php?f=10&t=21969

Locking duplicate thread.