← All terms

Content Script

Also known as: Content Scripts

Code injected by a browser extension that runs in the context of a specific web page, with direct access to the page's DOM via standard JavaScript APIs. Content scripts let extensions read and modify page content (including adding accessibility features such as contrast overlays, captions, or reading aids), but can also silently track user interactions or alter ARIA attributes. They run in an isolated world from page scripts but share the same DOM.

Category: web-technology · browsers

Related: Browser Extension · Background Script · DOM

Sources