-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Denying load of chrome-extension://.../jquery.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. #107
Comments
Did I report this in the correct area? I love almost everything about dotjs, but having these errors in the console is infuriating while debugging or while using jsfiddle. I would love to get an explanation or a pointer to where to start looking to fix it. |
The jquery file in dotjs is trying to pull in a source map. This only happens with chrome console open. Two ways to fix this. You can disable all source maps, details here: Or you can go into dotjs jquery.js and remove the sourcemap comment that enables this:
To find the file, open chrome://extensions/ and take note of the id for dotjs Note the highlighted ID value. Assuming you are using the default user profile, the file is likely at:
After removing the comment, disable then re-enable dotjs. |
Thank you so much for the explanation and the pointer to how to fix it! That did it. |
This is a bug with the dotjs extension. Yes, users can fix it by editing the source, but problem is that either the dotjs extension should include the jquery sourcemap with the extension, or it should remove the sourcemap comment from the jquery file. Alternatively, dotjs could upgrade jquery; as of 1.11.0 the sourcemap comment is excluded. |
@joshuajabbour 👍 This should be resolved in dotjs, imo |
Let's re-open this so it possibly gets more visibility. There is a workaround, but this does still need to be fixed. |
Updating jquery is straightforward: just copy the latest jquery into You can then load an extension in Chrome by checking the "Developer mode" checkbox at the top of the extensions page and clicking "Load unpacked extension..." Open the |
It's pretty clear @defunkt isn't maintaining dotjs any longer. Has anyone taken it over yet? (I suppose, if the answer is no, that that's an offer.) |
The chrome tabs api has functions to inject js and css, so I made a quick attempt to reproduce dotjs functionality using that: https://github.com/diffsky/chromedotfiles |
I get a console error when loading any page with the dotjs extension enabled. Disabling the extension makes the error go away.
Googling for this error results in this SO question and answer, which mentions including the jquery map.
Is there a known workaround for this?
The text was updated successfully, but these errors were encountered: