Page 1 of 1

noscript conflicting with our javascript library

Posted: Thu Jul 15, 2010 4:57 am
by karger
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

Re: noscript conflicting with our javascript library

Posted: Thu Jul 15, 2010 6:19 am
by al_9x
This thread should help.

Re: noscript conflicting with our javascript library

Posted: Thu Jul 15, 2010 6:56 am
by Giorgio Maone
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.