Top "Content-script" questions

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

Chrome extension set to `run_at` `document_start` is running too fast?

EDIT: Something was wrong with my Chrome browser and creating a conflict with my script, a full reinstall eliminated whatever …

javascript google-chrome google-chrome-extension userscripts content-script
Access window variable from Content Script

I have a Chrome Extension that is trying to find on every browsed URL (and every iframe of every browser …

google-chrome-extension sandbox content-script
How can I make a Chrome extension automatically click a button when a page loads?

I'm trying to create a Google Chrome extension that presses a button on page load. I've been able to trigger …

javascript button google-chrome-extension content-script
My CSS is not getting injected through my content script

Can anyone explain this to me. I'm trying to inject a CSS file onto a webpage using the content_script …

css google-chrome-extension content-script
Call background function of Chrome extension from a site

I am looking for a function inside a webpage te activate a chrome extension. Imagine that http://www.example.com/…

javascript google-chrome google-chrome-extension content-script
Chrome extension: Communication between content script and background.html

I am new to Chrome extensions. I am trying to communicate between the content script and the background.html page. …

javascript google-chrome-extension content-script
Injecting multiple scripts through executeScript in Google Chrome

I need to programmatically inject multiple script files (followed by a code snippet) into the current page from my Google …

javascript google-chrome google-chrome-extension content-script
Adding complex HTML using a Chrome content script

I am working with Chrome extension's content script to create a complex display that is added on web pages. I …

javascript html google-chrome google-chrome-extension content-script
Chrome Extension Send Message From Background.js to Content Script

I have read the documentation on how to do Send Message From background javascript file(main.js) to Content Script (…

google-chrome-extension manifest content-script
How to access page variables from Chrome extension background script

With a content script you can inject a script tag into the DOM in order to access variables in the …

javascript google-chrome-extension content-script