Steam-stats - cross-site JS blocked

Ask for help about NoScript, no registration needed to post
Elbart
Junior Member
Posts: 35
Joined: Mon Jul 15, 2013 2:25 pm

Steam-stats - cross-site JS blocked

Post by Elbart »

Firefox 24
NS 2.9.0.10 (default settings)
http://store.steampowered.com/stats/content/

steampowered.com and steamstatic.com are allowed.

Opening the link (with Flash disabled) causes the the message:

Code: Select all

[NoScript] Blocking cross-site Javascript served from http://cdn.akamai.steamstatic.com/steam/publicstats/contentserver_bandwidth_stacked.jsonp?v=03-29-2016-17 with wrong type info application/octet-stream and included by http://store.steampowered.com/stats/content/
And the interactive map isn't working.

In a newer Fx-version, whitelisting the domains is enough to make the map work.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Steam-stats - cross-site JS blocked

Post by barbaz »

Is newer Fx versions showing this message too? Because if not, probably safe enough to make exception for this:
about:config > noscript.inclusionTypeChecking.exceptions
add on the end, separated by a space

Code: Select all

.steamstatic.com/steam/*.jsonp*
*Always* check the changelogs BEFORE updating that important software!
-
Elbart
Junior Member
Posts: 35
Joined: Mon Jul 15, 2013 2:25 pm

Re: Steam-stats - cross-site JS blocked

Post by Elbart »

barbaz wrote:Is newer Fx versions showing this message too?
No.

Which made me wonder why NS would block it in older Fx-versions, but not in newer ones.

Reason: e10s.

e10s on - No warning, JSONs loaded.
e10s off - Warning, JSONs blocked.

Should have also tested with the latest release-version, which has e10s disabled, and not only with Nightly. :oops:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Steam-stats - cross-site JS blocked

Post by barbaz »

Yeah, NoScript 2.x is not expected to fully work with e10s: https://bugzilla.mozilla.org/show_bug.cgi?id=1058542

Does adding the exception help at all?
*Always* check the changelogs BEFORE updating that important software!
-
Elbart
Junior Member
Posts: 35
Joined: Mon Jul 15, 2013 2:25 pm

Re: Steam-stats - cross-site JS blocked

Post by Elbart »

Yes, thanks.

Should I file a ticket over at BMO for not blocking the wrong-typed json with e10s enabled?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Steam-stats - cross-site JS blocked

Post by barbaz »

You're welcome. Image
Elbart wrote:Should I file a ticket over at BMO for not blocking the wrong-typed json with e10s enabled?
This forum is actually the right place to report it, because it'd be up to Giorgio to fix that. But he likely is already aware of this.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply