Extensions inspire

Source Mapper

3.85714

Details

Author:
RyanSylvestre

Category:
Developer Tools

Version:
1.2.5

Users:
571

Rating:
3.85714

Size:
142KiB

Updated:
April 13, 2013

Webstore Link:
https://chrome.google.com/webstore/detail/source-mapper/enenhalmnhnpofkecebdmgnmmhfkhcpb?hl=en&gl=US

Developer's site:
http://ryansylvestre.com

Download

version 1.2.5  - Download ZIP file

Description

What are source maps?
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

Top Extensions

 
(10943)
 
(50577)
 
(98995)
 
(25231)
 
(8324)
 
(1434)
 
(11367)

What has inspired us?

Extore is a team of professionals who are passionate about creating extensions for web browsers. This devotion also gives us opportunity to appreciate work of other people. We get inspired by useful, open source extensions made by developers all over the world. Our strong belief is that one should share helpful add-ons with others. That’s why we’d like to present you our ever-growing list of favourite extensions that have inspired us. Moreover, as you probably have already learned, sometimes struggling for the best brings an end to the good. Talking about add-ons it often turns out that an upgrade is worse then previous version. Also it can become really tricky to get back to the beloved version of your favourite extension. That’s why we’re going to make not only the latest, but all versions of our favourite (and we hope yours too) add-ons available for download. No more compromises, just stick to the version you really like!