With the introduction of .map files I am getting my console flooded with errors like:
Denying load of chrome-extension://flpedblkbobmjlipnnmalidalmhkangn/jquery.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
Is there any way I can suppress error messages about .map files?
Open Developer Tools, go to "Settings" for Developer Tools, then uncheck Enable JavaScript Sourcemaps under the "Sources" settings.
What is jQuery Source Map? As the name suggests, it consists of a whole bunch of information that can be used to map the code within a compressed file back to it's original source . It is used by browser's debugger to help developers debug the minified version of script file.
You can filter out the messages for the .map files by right clicking them in the console (Not the link) Selecting Filter > Hide messages from ...
You can also disabled either CSS or JavaScript source maps globally from the Developer Tools settings.
Download the map file and place it in the same .js file directory. http://jquery.com/download/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With