最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. -

programmeradmin3浏览0评论

I need help with problems loading my landing page. I keep getting this messages on my "inspector" in chrome -

Denying load of chrome-extension://bjgfdlplhmndoonmofmflcbiohgbkifn/js/lib/jquery-2.0.2.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

Denying load of chrome-extension://bjgfdlplhmndoonmofmflcbiohgbkifn/js/lib/backbone-min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

GET chrome-extension://invalid/

This is the link for my website

Please help me with this issue.

I need help with problems loading my landing page. I keep getting this messages on my "inspector" in chrome -

Denying load of chrome-extension://bjgfdlplhmndoonmofmflcbiohgbkifn/js/lib/jquery-2.0.2.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

Denying load of chrome-extension://bjgfdlplhmndoonmofmflcbiohgbkifn/js/lib/backbone-min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

GET chrome-extension://invalid/

This is the link for my website http://www.itayroisman.com

Please help me with this issue.

Share Improve this question edited Jun 20, 2020 at 9:12 CommunityBot 11 silver badge asked Aug 12, 2013 at 6:23 Itay RoismanItay Roisman 1211 gold badge1 silver badge6 bronze badges 3
  • The only message I have is: "Failed to load resource: the server responded with a status of 410 (Gone) api.twitter.com/1/statuses/user_timeline.json/……ame=itay101&include_rts=true&count=5&include_entities=true&_=1376288554695" - Are you sure it is not something related to your browser? – Adam Moszczyński Commented Aug 12, 2013 at 6:26
  • I really don't know. It takes ages for the page to finish loading. Is everything working well on your side? – Itay Roisman Commented Aug 12, 2013 at 10:09
  • For me the page loads instantly – Adam Moszczyński Commented Aug 13, 2013 at 15:21
Add a comment  | 

5 Answers 5

Reset to default 8

The Hootsuite chrome extension doesn't seem to be compatible with the latest build of chrome. Go to tools>extensions and click Developer mode. The id numbers come up on each of your extensions and you can match them to the errors in Developer Tools

I found another anwser may be OK.

Just remove this line from the top of jquery file

//@ sourceMappingURL=jquery-1.10.2.min.map If you check the source of Jquery 1.10.2, it has included source map line on the top. I hope you are not using Source Maps. For more details just check these links:

http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found) Alternate approach

Download the source map file from jquery downloads page and put jquery-1.10.2.min.map in the extension directory. Download uncompressed source code as well and put in the extension directory. Basically you need three files [SourceMap, Compressed, Uncompressed]. Add these map file path and uncompressed file paths to web_accesible resources.

I just had the same problem.

If you're not using the the sourcemap:

  1. Open your jquery.js, remove the following line fro mthe top of the file:

    //@ sourceMappingURL=jquery-2.0.3.min.map

If you do want the sourcemap:

  1. Download code.jquery.com/yourfilename (see the comment in your jquery file, mentioned above)

  2. Add a line line

    "web_accessible_resources": [ "js/jquery-2.0.3.min.map" ],

    To your manifest.json

  3. Reload your extension.

For me disabling: XPath Helper 1.0.13 in chrome://extensions/ solved the problem

For those who are developing a Chrome extension and are having this same problem, this answer may help you.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论