A utility to get the original source code from a source map
Source Mapper Application
http://www.html5rocks.com/en/tutorials/developertools/sourcemaps
Why
This works well in conjunction with JavaScript error capture. However you will need both line and column numbers. This can be difficult with a simple window.onerror handler as that does not provide the column information.
There are various libraries that will wrap native functions with try/catches that could provide the column from error.stack. Use at your own risk (not sure how I feel about them)
In my case (enterprise) we have mostly IE8 users at the moment, during window.onerror it is possible to either A. Walk to callee and build a stack or B. Use window.error.errorcharacter to capture the column number. This is what I am going to be doing for the time being.
Tested with
Source Map Version 3
JavaScript source files
Source: https://github.com/RyanSylvestre/sourceMapper
Link to store: https://chrome.google.com/webstore/detail/enenhalmnhnpofkecebdmgnmmhfkhcpb
Source Manifest.json
Similar Extensions
GoFullPage - Full Page Screen Capture 438 77052 ★ 1.81MiB
ColorZilla 438 3845 ★ 410KiB
JSON Formatter 438 1859 ★ 19.86KiB
User-Agent Switcher for Chrome 438 2631 ★ 132KiB
Lighthouse 438 318 ★ 50.7KiB
Similarweb - Website Traffic & SEO Checker 438 3255 ★ 1.19MiB
SEOquake 438 2529 ★ 1.5MiB
Clear Cache 438 1124 ★ 616KiB
Selenium IDE 438 286 ★ 3.96MiB
ModHeader - Modify HTTP headers 438 1061 ★ 676KiB
Postman Interceptor 438 957 ★ 478KiB
SEO META in 1 CLICK 438 1108 ★ 462KiB
Stylus 438 1101 ★ 1.01MiB
CSS Peeper 438 363 ★ 279KiB
daily.dev | The homepage developers deserve 438 2460 ★ 2.28MiB
WhatRuns 438 398 ★ 290KiB
Color Picker for Chrome™ 438 118 ★ 194KiB
BuiltWith Technology Profiler 438 407 ★ 54.1KiB
SelectorsHub - XPath Helper 438 1384 ★ 556KiB
Fake Filler 438 752 ★ 536KiB
Detailed SEO Extension 438 193 ★ 266KiB
Responsive Viewer 438 298 ★ 639KiB
JSON Viewer Pro 438 137 ★ 349KiB
Grepper 438 405 ★ 1.41MiB