We distribute a javascript library for data visualization. I have discovered that it conflict with noscript. For example, the page at http://eneumann.org/exhibit/chembank_demo/ which uses our library fails to operate correctly in browsers with noscript installed. Executing on this page, our library attempts to load a file from http://service.simile-widgets.org/babel ... lbacks.cb1 that is blocked by noscript with the following message:
[NoScript] Blocking cross site Javascript served from http://service.simile-widgets.org/babel ... lbacks.cb1 with wrong type info application/jsonp and included by http://eneumann.org/exhibit/chembank_demo/
I would appreciate information about what is going wrong and whether there is anything we can do to fix it.
thanks
David
noscript conflicting with our javascript library
noscript conflicting with our javascript library
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
Re: noscript conflicting with our javascript library
This thread should help.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript conflicting with our javascript library
Please serve the JSNOP content as "application/javascript" (more correct, since that it is) or "application/json".
"application/jsonp" does NOT appear to be a IANA-sanctioned mime type, however I'll recognize it in next NoScript release for compatibility with stuff like yours.
"application/jsonp" does NOT appear to be a IANA-sanctioned mime type, however I'll recognize it in next NoScript release for compatibility with stuff like yours.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6