My extension is supposed to load a content script, searchTopic.js, only after the page it's injected into has already fully loaded (yes, I have set "run_at" to "document_end" in the extension manifest), but in fact it's loadin...
I'm trying to inject my CSS from JavaScript which is injected as content script:  "content_scripts": [    {       "matches": ["http://www.google.com/*"],       "js": ["script.js"]    } ],   I found similar...
I can't get a response from my content script to show up in my popup.html. When this code runs and the find button is clicked, "Hello from response!" prints, but the variable response is printed as undefined. The ultimate goal is to get t...
I'm working on a chrome extension where I'd like to inject a content script into a list of urls. Usually I'd use the regular syntax:  {   "name": "My extension",   ...   "content_scripts": [     {       "matche...
I have a chrome extension, with content script 1 which programmatically creates an iframe (not same domain iframe) on the current page. I want to run a content script 2 of my chrome extension inside this new iframe (e.g. when a user clicks on somethi...
I'm trying to inject a handlebars template in a page using content_scripts from the Chrome extension, using the following code in the page called from content_scripts :   var xhr = new XMLHttpRequest(); xhr.open('GET', chrome.extension.ge...
I have a script that I want to be injected into the document BEFORE load. I.E; it should function as if  <script..>MYSCRIPT HERE</script>  <html> . .   I have made a script in chrome that executes correctly (I can alert(0) etc) but,...
I'm trying to include gmail.js from here. But the object gmsrc is invalid, the function get.user_email() fails. I'm trying to develop a Chrome extention, the chrome developer tools (F12) tells me     Uncaught TypeError: Cannot read property &...
What is the recommended way to add a @font-face stylesheet rule through a chrome-extension?  The problem is that the url of the font embed is located from within the extension, so I must do it in javascript in order to use chrome.extension.getURL.  I...
I am making a content script that does something with the google results webpage.   The line below in the manifest.json is not valid.      "matches": [ "https://www.google.*/*" ]   The error due to above line in manifest.json is:...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.