Chrome Extension executeScript Example In Manifest V3
A basic Chrome Extension example demonstrating the use of executeScript
in Manifest V3 to inject and execute JavaScript code on a web page.
-
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.
- Clone this repository or download the ZIP file and extract it.
- Open Google Chrome.
- Go to
chrome://extensions/
. - Enable "Developer mode" in the top right corner.
- 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.
- Click on the extension icon to open the popup.
- Enter a username and age.
- Use the provided buttons to perform various operations on the IndexedDB.
To make changes to the extension or customize it according to your needs, follow these steps:
-
Clone this repository:
git clone https://github.com/yourusername/chrome-extension-executescript-example.git
Any feedback or contributions are highly appreciated! If you have any suggestions, bug reports, or feature requests, please open an issue on this repository.
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
This project is licensed under the MIT License.