Custom Sourcemaps v0.2.1
Custom Sourcemaps adds a devtools panel in which you can define custom source maps for scripts that don’t provide them.
Permissions
- webRequest, webRequestBlocking, <all_urls>: Used to modify headers on script requests.
- storage, unlimitedStorage: Used to retain source map settings across browsing sessions, and store uploaded source maps.
Limitations and known issues
- Only scripts with “src” attributes are supported, not inline scripts or eval()ed strings. Non-http(s) sources will also not work due to bug 1475832.
- When first opening the panel, all scripts on the page are shown, even if they were blocked by Tracking Protection, NoScript or others.
- Scripts substituted by Decentraleyes may not be shown or might not have source mapping applied.
- Uploaded source maps don’t always work correctly. While it’s less convenient, they can be added as file:// URLs instead.
- Scripts with pre-existing source maps are not identified.
- Source mapping is only done after you open the dev tools for a page.