Top "Content-script" questions

fContent scripts are JavaScript files, used by browser extensions or add-ons.

Chrome Extension: chrome.tabs.executeScript not working

I'm writing a chrome extension, and want to execute a content script from my background script. The background script executes, …

javascript google-chrome google-chrome-extension content-script
Chrome: get URL of active content script tab

I have a content script that is run when the user connects to "*://www.youtube.com/*". I need to know …

javascript google-chrome-extension content-script
chrome extension to Send Message from popup to content script

I,am developing an extension in which i have to extract data from linkedin profile page when user press button …

javascript google-chrome-extension content-script message-passing
how to make on/off buttons/icons for a chrome extension?

I want to let the user decide when they want to run a script, so that when the browser opens, …

javascript google-chrome google-chrome-extension content-script
Undefined response from content script in chrome extension

I can't get a response from my content script to show up in my popup.html. When this code runs …

javascript google-chrome google-chrome-extension message content-script
Chrome content scripts aren't working: DOMContentLoaded listener does not execute

I am trying to code extension that corrects misspellings on 1 forum. I am trying to access <p> tag, …

javascript google-chrome google-chrome-extension content-script
what are content scripts in chrome inspector

While this could be a very basic thing, I can't seem to find an answer to this one. I see …

google-chrome web-inspector content-script
My injected <script> runs after the target-page's javascript, despite using run_at: document_start?

I am having some problem with the order of javascript execution when I use the content script to inject some …

javascript google-chrome-extension content-script
Hijacking a variable with a userscript for Chrome

I'm trying to change the variable in a page using a userscript. I know that in the source code there …

javascript google-chrome userscripts content-script