[RESOLVED] NoScript and IntenseDebate

Ask for help about NoScript, no registration needed to post
Fargus
Posts: 3
Joined: Sun Nov 06, 2011 8:40 pm

[RESOLVED] NoScript and IntenseDebate

Post by Fargus »

Hi,

Some sites using IntenseDebate seem to be be giving me issues with NoScript. The issue started this week.

Issue: Can no longer expand threads/comments and can no longer thumb comments up/down.

Example: URL: http://thechive.com. I've always allowed the following in NoScript: thechive.com, intensedebate.com, wp.com, wordpress.com, gravatar.com, polldaddy.com for the site. IntenseDebate has worked without issue until this week. Now, I can no longer expand comments/threads and the thumbs up/down no longer responds.

I tried temporarily allowing all on the page. Still doesn't work. Tried disabling NoScript add-on in Firefox 7.0.1, IntenseDebate works properly. Installed NoScript version: 2.1.8. My other NoScript settings are out of the box vanilla. Using Windows 7 64 bit.

Any ideas or setting changes I should make in NoScript to get this working again?

Thank you.
Last edited by Tom T. on Mon Nov 07, 2011 2:57 am, edited 1 time in total.
Reason: mark as resolved
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: NoScript and IntenseDebate

Post by Tom T. »

Wow, that site has a lot of script sources. And unfortunately, the worst example yet of what I call "cascading scripts", or "tiered scripts": Every time you temp-allow all this page, those scripts call yet more. When you allow the new ones, they call still more. This is becoming common, unfortunately, but that site is the worst so far, in my experience.

Finally, I decided to allow scripting globally, rather than repeat this cycle endlessly. (NS Options > General > "Scripts Globally Allowed (dangerous)".
Then, a number of "blocked objects" showed, Again, allowing some brought still more. Just have to keep allowing until they're all gone from the "Blocked Objects" list.

Also, if you use RequestPolicy, all must be temp-allowed.

Eventually, I was able to expand threads and vote.

WARNING
: This is a dangerous setting, with all scripts and objects allowed. I always use a "virtual machine" or "virtual browser", running in its own "sandboxed" environment, so that nothing, including malware, can be written to the hard drive. It's all dumped when the browser is closed, which I'd do after leaving a site like that. I would not want to allow so much without such protection. I use Sandboxie, but that is a personal opinion only, not an endorsement. There are many such solutions out there. Investigate and find the one that you like best. Many are either freeware, nagware, or offer a free trial period.

Note: No need to allow the data-miners such as google-analytics.com, quantserve.com, and a few others. By default, NS runs a Surrogate Script when those are blocked, which makes the site happy while preserving what's left of your privacy. :roll: The list of surrogate scripts -- sources you can leave blocked -- is found in about:config, type in Filter bar this:

surr

That's enough to auto-complete. The sources listed there can remain blocked.

It's almost worth making a second profile just for this site only, to save the trouble of temp-allowing all that while not letting those things run elsewhere.
Or if you're tech-minded, you can write ABE rules to give the needed permissions for this site.

Please let us know if the site now works for you. Thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.23) Gecko/20110920 Firefox/3.6.23
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript and IntenseDebate

Post by Giorgio Maone »

It's another XSSI false positive:

Code: Select all

Blocking reflected script inclusion origin XSS: 
http://intensedebate.com/idc/js/comment-func.php?blogpostid=113008753&token=Td7365eYTSr9laELMj7KXklyxzqN0nNT&return=true
from 
http://wordpress.com/remote-login.php?action=script_redirect&url_hash=340e72aab56a44613b3413f37e542809&id=intensedebate&url=http://intensedebate.com/idc/js/comment-func.php?blogpostid=113008753&token=Td7365eYTSr9laELMj7KXklyxzqN0nNT&return=true
I really cannot understand why pages nowadays think it's OK loading scripts whose origin is decided by a different domain, but whatever...
I'm gonna change the noscript.xss.checkInclusions.exceptions about:config preference to yimg.com .intensedebate.com in next development build (you can do it right now, if you need to) :(
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Fargus
Posts: 3
Joined: Sun Nov 06, 2011 8:40 pm

Re: NoScript and IntenseDebate

Post by Fargus »

Wow. Thank you very much for the incredibly fast response. I had more or less figured that it was probably a coding change on their end, rather than a radical change in behavior in NoScript. Appreciate you looking into it!
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript and IntenseDebate

Post by Giorgio Maone »

Please check latest development build 2.1.9rc3, which should work fine without exceptions too.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Fargus
Posts: 3
Joined: Sun Nov 06, 2011 8:40 pm

Re: NoScript and IntenseDebate

Post by Fargus »

Giorgio, I implemented the exception you suggested in your first response to about:config and it worked. I had tried Tom's suggestions up to 'scripts globally allowed'. I just wasn't brave enough to pull the trigger on that one without sandboxing. Thanks again to you and Tom for taking the time and effort to look at this.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: NoScript and IntenseDebate

Post by Tom T. »

Giorgio Maone wrote:I really cannot understand why pages nowadays think it's OK loading scripts whose origin is decided by a different domain, but whatever...
Neither can I, Giorgio ... and look at the problems it causes, both for you and for the burdened users who want to stay protected. :evil:
I'm gonna change the noscript.xss.checkInclusions.exceptions about:config preference to yimg.com .intensedebate.com in next development build (you can do it right now, if you need to) :(
Is there then no way to keep the XSSI protection without continuously adding more exceptions (since this seems to be the ugly trend of the Web), or is it possible in a future build, maybe 3.x, to handle these ill-behaved pages without exceptions?
Giorgio Maone wrote:It's another XSSI false positive
But I received no XSS warning at any time.
I have Notifications > XSS checked. Also, from FAQ 4.3,
and you will get an extra "XSS" menu inside the NoScript contextual menu whenever an XSS attempt is detected, featuring all the actions usually accessed from the notification bar.
So IIUC, XSSI protection does *not* produce the visual warning that XSS provides? If so, could you please add those warnings? (RFE)

I did not think to check for XSS possibilities because of the lack of notification. Now i know to do so in the future, but in this case, it would have saved much time and given me the result you got. Appreciate it, thanks.
Fargus wrote:I had tried Tom's suggestions up to 'scripts globally allowed'. I just wasn't brave enough to pull the trigger on that one without sandboxing.
Wise choice. I just got tired of the apparently-endless chain of new "temp-allows", and was trying to shortcut through to just make the site work.

It still takes a lot of temp-allowing, but not nearly so much as before -- not to the point of "giving up" and allowing globally.
Thanks again to you and Tom for taking the time and effort to look at this.
You're very welcome, and I'll mark this as resolved. As Giorgio said, it's unfortunate that sites do this kind of thing. (sigh) :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.23) Gecko/20110920 Firefox/3.6.23
Post Reply