Click here to Skip to main content
12,452,215 members (55,785 online)

Content Security Policy: Couldn't parse invalid source chrome-extension

totallytotallyamazing asked:

Open original thread
I am getting an error from my MacOS Firefox-Firebug-Console-js and hoping someone might offer a helpful suggestion. I am seeing the same error on other sites with Facebook Like buttons e.g. http://www.mcdonalds.com/us/en/home.html

Here is my Firebug-Console-js error / warning:
"Content Security Policy: Couldn't parse invalid source chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl"

Other than the Firebug-Console-js error / warning my FB button seems to be functioning correctly. So far I've tried changing jquery.min.js versions, updating my FB open graph meta properties, taking my FB site out of the development phase and making it public. The only thing that works for me so far is to comment out my FB sdk code:
<div id="fb-root"></div>
<script type="text/javascript">(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return; js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId='myappId'";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Thanks ahead of time for any help!
Tags: Javascript, Firefox, Errors, Facebook-API

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the The Code Project Open License (CPOL).



Advertise | Privacy | Mobile
Web01 | 2.8.160826.1 | Last Updated 26 Mar 2009
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100