Adapting the extension for the new Steam Market Beta is a multi-step process. We want to ensure we continue to provide backwards compatibility for users, who opted out of the beta.
This task tackles the following areas:
- Removal of JQuery: Since the new beta doesn't inject JQuery anymore, some of our shared functionality has to be rewritten with common DOM APIs
- State management: The elimination of global variables in the
window context means we need an alternative to keep in sync with the website’s internal state and data
- Randomized class names: The lack of consistency in class names means we have to find different ways to uniquely identify parts of the UI
- Self CSP: React applies the CSP
default-src: 'self', hence loading our own font sheet from Google or executing created inline functions won’t be possible anymore
Implementation Plan
Adapting the extension for the new Steam Market Beta is a multi-step process. We want to ensure we continue to provide backwards compatibility for users, who opted out of the beta.
This task tackles the following areas:
windowcontext means we need an alternative to keep in sync with the website’s internal state and datadefault-src: 'self', hence loading our own font sheet from Google or executing created inline functions won’t be possible anymoreImplementation Plan