Submit an extension

↑↓ move · ↵ open · Tab filter · Esc close

Chrome extension scripting permission

The scripting permission lets an extension inject and run JavaScript or CSS on pages you visit, shown to users as "run scripts on pages you visit". Extensions use it to modify page appearance, add features, automate actions or read and change page content, so it is one of the more powerful permissions.

Last reviewed · 1 listing · Independent, not affiliated with Google

What Chrome shows

Run scripts on pages you visit Broad access

Extensions that use this permission

  1. Example Extension

    A placeholder listing that shows where a reviewed extension will appear.

    Free Productivity ✓ No account needed

Running code on a page is how many extensions actually deliver their feature, from dark mode toggles to form fillers to translators. Because injected scripts can read and change what a page shows, this permission is treated as significant, and it is worth understanding what it covers before granting it.

What the scripting permission allows

With this permission, combined with host access to specific sites, an extension can inject JavaScript or CSS into a page to read its content, change its appearance, add buttons or automate interactions like clicking or filling forms. This is the mechanism behind most content-modifying extensions.

Which extensions legitimately need it

Dark mode and appearance tools, form fillers, translators, grammar checkers, ad blockers that hide elements, and productivity tools that add features to a page all need the scripting permission because injecting code is how they change what you see or interact with.

How to check or remove the scripting permission

Open chrome://extensions, click Details on the extension to see its permissions and site access together, since scripting is usually paired with host permissions. Adjust site access to specific sites or on click, or remove the extension from Manage extensions to revoke it fully.

Chrome extension scripting permission: FAQs

What does the Chrome extension scripting permission do?

It lets the extension inject and run JavaScript or CSS on pages you visit, which is how it can change page appearance, add features or automate actions. Chrome shows this as "run scripts on pages you visit".

Is the scripting permission the same as content scripts?

They are related. Content scripts declared in the manifest run automatically on matching pages, while the scripting API lets an extension inject code dynamically, both relying on this permission.

Why do dark mode extensions need the scripting permission?

A dark mode extension injects CSS into every page to change colors and contrast, which requires the scripting permission along with access to the sites it modifies.

Can an extension with scripting permission read my page content?

Yes. Injected scripts can read the text, form fields and structure of a page, which is why this permission is treated as significant, especially combined with broad site access.

How do I remove an extension with the scripting permission?

Open chrome://extensions, find the extension, and click Remove. Review its Details page first to see which sites it can inject scripts into.

Is the scripting permission dangerous by itself?

It is more meaningful when combined with host permissions covering many or all sites. On its own, without site access, its practical effect on your browsing is limited.

Why do form-filling extensions need scripting access?

A form filler needs to detect input fields on a page and insert values into them, which requires injecting a script through the scripting permission.

Can I limit which sites an extension can run scripts on?

Yes. In chrome://extensions, open the extension's Details page and change Site access to specific sites or on click instead of allowing it on all sites.

Do translation extensions use the scripting permission?

Yes, they inject scripts to read the visible text on a page and replace it with translated text, which requires both scripting and host access to the pages you read.

Should I be cautious of scripting combined with all-urls access?

Yes, that combination lets an extension run code on every website you visit, so it deserves extra scrutiny unless the extension's purpose clearly requires it.

Does the scripting permission work the same in Edge and Brave?

Chromium-based browsers like Edge and Brave support the same scripting API as Chrome, so extensions using it behave the same way across these browsers.