Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Custom Sourcemaps

Custom Sourcemaps by wartmanm

Define custom source maps for javascript files.

ExperimentalExperimental
0 (0 reviews)0 (0 reviews)
8 Users8 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
The mappable sources on stackoverflow.com.  A custom source map has been added for JQuery.Details of the custom source map.
About this extension
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.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Access your data for all websites
More information
Add-on Links
  • Support site
Version
0.2.1
Size
35.4 KB
Last updated
6 years ago (Jan 12, 2020)
Related Categories
  • Web Development
License
Mozilla Public License 2.0
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 0.2.1
* Fixed sourcemapping not starting until the sourcemap panel was opened.
* Minor CSS tweaks
More extensions by wartmanm
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.