Page 1 of 1

Can't read documents on Scribd with NoScript enabled

Posted: Tue Nov 30, 2010 10:24 pm
by lobati
I'm trying to view documents on Scribd and I am unable to see anything past the first 3 pages. For example, this document:

http://www.scribd.com/doc/3932344/40-Sl ... zing-Sleep

If I disable NoScript it works, but enabling scripts globally doesn't fix the problem, nor does adding an exception to the XSS filter. I get the following error in the console:

Code: Select all

[NoScript] Blocking cross-site Javascript served from http://html1.scribdassets.com/2crpn3gl7pxa3pc/pages/8-5e8a766d40.jsonp with wrong type info application/octet-stream, inline;filename=8-5e8a766d40.jsonp and included by http://www.scribd.com/doc/3932344/40-Sleep-Hacks-The-Geeks-Guide-to-Optimizing-Sleep
Are there any workarounds for this, and as an aside, what might the developers at Scribd do to fix this, supposing it is a bug on their end?

Using Firefox 3.6.12 and NoScript 2.0.7

Re: Can't read documents on Scribd with NoScript enabled

Posted: Tue Nov 30, 2010 10:32 pm
by Giorgio Maone
lobati wrote: Are there any workarounds for this
Add ".scribdassets.com" without quotes to your noscript.inclusionTypeCheck.exceptions about:config preference
lobati wrote: what might the developers at Scribd do to fix this, supposing it is a bug on their end?
Of course, they should serve their JSONP resources with a "application/x-javascript" or "text/javascript" mime type.

Re: Can't read documents on Scribd with NoScript enabled

Posted: Sat Jan 22, 2011 6:30 pm
by Condorito
Dear Giorgio,

I had the same problem and your solution helped me, thank you very much!.

However, I was left with a question, before I change noscript.inclusionTypeCheck.exceptions, it already had a value of "https://scache.vzw.com". How came the value "https://scache.vzw.com" here if I did not configured it?.

Re: Can't read documents on Scribd with NoScript enabled

Posted: Sat Jan 22, 2011 6:44 pm
by Giorgio Maone
Condorito wrote:However, I was left with a question, before I change noscript.inclusionTypeCheck.exceptions, it already had a value of "https://scache.vzw.com". How came the value "https://scache.vzw.com" here if I did not configured it?.
It's there by default, needed for Verizon routers to work.

Re: Can't read documents on Scribd with NoScript enabled

Posted: Sat Jan 22, 2011 7:34 pm
by Condorito
I simply removed the default, Verizon is not my ISP, I guess I do not need this value.

In any case, if I eventually want to put more of an exception, what is the syntax of the string, as I separate each exception in the string?.

Thanks in advance.