Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1099463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:44:25+00:00 2026-05-17T00:44:25+00:00

I have a chrome extension that very simply injects CSS before a page loads.

  • 0

I have a chrome extension that very simply injects CSS before a page loads. (I know this could be done by javascript once the page has loaded, but this causes the page to flash as it changes/renders the new CSS.)

The CSS is injected as a content script using code like:

  "css": ["mystyles.css"],
  "run_at": "document_start",

I would like to be able to remove all the CSS if the page action is clicked, but this doesn’t seem to be possible. Could I make a page action extension that disables the extension that injects the CSS?

Thanks for your help!

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:44:26+00:00Added an answer on May 17, 2026 at 12:44 am

    Actually it is possible to disable another extension, but only in experimental API for now. See chrome.experimental.management module.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this Chrome extension that modifies the header of requests before sending them.
I have written a very simple Chrome extension. It consists of this background page:
Suppose we have Chrome extension, that uses background page, popup page, maybe some other
I have a background page in a Chrome extension that makes requests to a
I have this chrome extension that shows some content in the popup.html. As the
I have a Chrome extension that injects an iframe from foo.com into bar.com. So,
I have created a simple Google chrome extension that overrides CSS classes using the
I have a chrome extension which have a server-side javascript and I need this
i have this very simple download page to get an xml file. the script
I have a Chrome Extension that is using the experimental sidebar API. It works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.