I am new to Chrome extensions. I am trying to communicate between the content script and the background.html page. The background.html sends a request, "hello", to the content script and the content script should respond back with "hello...
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'm trying to build a basic Chrome extension that, from a browser action popup, opens a website in a new tab, and fills in the login credentials. I can get the Chrome extension to open the new page but can't seem to get it to input text into...
I'm injecting all my js code to front page, but it needs pictures for ui and stuff, that can be imported only with the help of chrome.extension.getUrl and can be called only from content-script, so I've found tons of advices how to pass data...
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 am developing a Chrome extension which will load content script according to the following manifest:  "content_scripts" : [     {       "matches" : [ "<all_urls>" ],       "js" : [  "scripts/namespace/names...
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 using a content-script in a chrome extension that I'm writing. I included geolocation in my list of permissions, but on every webpage I still get asked if I want to share my location.   I thought if I set geolocation in the list of permis...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.