Skip to content

hacess/chrome-extension-manifest-v3-executeScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome Extension with executeScript

Chrome Extension executeScript Example In Manifest V3

Overview

A basic Chrome Extension example demonstrating the use of executeScript in Manifest V3 to inject and execute JavaScript code on a web page.

Demo

Features

  • Inject Code: The extension injects a content script into all URLs using the executeScript feature.

  • Execute on Button Click: Clicking the "Execute Script" button in the extension popup triggers the execution of the content script on the active tab.

Installation

  1. Clone this repository or download the ZIP file and extract it.
  2. Open Google Chrome.
  3. Go to chrome://extensions/.
  4. Enable "Developer mode" in the top right corner.
  5. Click on "Load unpacked" and select the directory where you cloned or extracted the extension files.

The extension icon will appear in your browser's toolbar.

Usage

  1. Click on the extension icon to open the popup.
  2. Enter a username and age.
  3. Use the provided buttons to perform various operations on the IndexedDB.

Development

To make changes to the extension or customize it according to your needs, follow these steps:

  1. Clone this repository:

    git clone https://github.com/yourusername/chrome-extension-executescript-example.git
    

Feedback and Contributions

Any feedback or contributions are highly appreciated! If you have any suggestions, bug reports, or feature requests, please open an issue on this repository.

About the Author

This project is developed by CodedBrainy, a platform dedicated to providing valuable information and resources on coding, web development, and technology.

Visit CodedBrainy.com to explore more informative articles, tutorials, and resources related to web development and programming. Visit link to read the blog

License

This project is licensed under the MIT License.