Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Steamcommunity.com Some Functionality is Broken due to CSP #909

Closed

Description

@fuzzyroddis

eg. http://steamcommunity.com/market/listings/730/Chroma%20Case

Apparently there is something that appears when you hover over the item image. (Or so I've been told)

Refused to load the script 'https://steamcommunity-a.akamaihd.net/public/javascript/jqplot/plugins/jqplot.cursor.min.js'
because it violates the following Content Security Policy directive:
"script-src 'self' 'unsafe-inline' 'unsafe-eval' http://steamcommunity-a.akamaihd.net/ https://api.steampowered.com/ http://www.google-analytics.com https://ssl.google-analytics.com https://www.google.com https://www.gstatic.com https://apis.google.com".

https://github.com/EFForg/https-everywhere/blob/master/src/chrome/content/rules/Steam_static.com.xml
is the problematic rule.

Do we have the ability to inject https://steamcommunity-a.akamaihd.net etc into the site's CSP response? I know Tampermonkey can. Should we?

Or should I just go disable the rules?

Activity

  1. jsha commented on Jan 18, 2015

    @jsha
    Member

    I don't think we should start editing CSP responses. Let's just disable the rules. If you have time, emailing the Steam folks would be a nice extra step.

  2. fuzzyroddis commented on Jan 19, 2015

    @fuzzyroddis
    ContributorAuthor

    Do we have a timeframe for the next HTTPSE release? I just emailed Gabe Newell in hopes they fix it on their end.

  3. jsha commented on Jan 20, 2015

    @jsha
    Member

    Probably tomorrow.

  4. fuzzyroddis commented on Jan 20, 2015

    @fuzzyroddis
    ContributorAuthor

    I tested in Chrome again, it's the Akamai ruleset doing it. I'm preparing a fix now. Done.

  5. added a commit that references this issue on Jan 20, 2015
    97d1eb1
  6. added a commit that references this issue on Jan 20, 2015
    aee0e87
  7. fuzzyroddis commented on Jan 23, 2015

    @fuzzyroddis
    ContributorAuthor

    Fixed in #924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions