Note that there are some explanatory texts on larger screens.

plurals
  1. PO[CRX]: didn't allow my js file in the extension
    text
    copied!<p>This is my application code:</p> <p>The manifest.json file:</p> <pre><code>{ "name": "YouTradeFx Debugger", "version": "1.0", "manifest_version": 2, "description": "This appliction allow YoutradeFX R&amp;D team to debugging thier applications, by using few tools", "browser_action": { "default_popup": "app.html" } } </code></pre> <p>The app.html file:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Source of the application&lt;/title&gt; &lt;script src="jquery.js"&gt;&lt;/script&gt; &lt;script src="app.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body style="width: 350px;"&gt; &lt;span style="display: none;"&gt; &lt;button id="Http"&gt;Send Requests&lt;/button&gt; &lt;button id="Cookie"&gt;Add Lead Params&lt;/button&gt; &lt;button id="Crm"&gt;CRM Faliure&lt;/button&gt; &lt;/span&gt; &lt;div id="Content"&gt; &lt;table id="cons"&gt; &lt;tr&gt; &lt;td&gt;Please your username:&lt;/td&gt; &lt;td&gt;&lt;input type="text" id="names" name="user"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;input type="submit" name="send" value="SEND"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>The app.js file is:</p> <pre><code>$(document).ready(function(){ var HoldUser = $("input#names").val(); $.get("https://www.mywebsite.com/ChromeExt/crm_buffer.php?uid="+HoldUser,function(data){ $("div#cons").html(data); }); }); </code></pre> <p>But I got the error message "<strong>Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:</strong>"." all the time..!</p> <p>Why is not working? I did something wrong?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload