Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 3.78 KB

File metadata and controls

55 lines (32 loc) · 3.78 KB

Injector+ Chrome Extension Manifest V3

Chrome Extension Development Tutorial: How To Inject JavaScript And CSS Into Any Website Manifest V3

YouTube Thumbnail

A Chrome extension is a small software program that can be added to the Google Chrome web browser to add new features or modify the browser's functionality. We are going to learn how to build a Chrome extension using manifest v3 from scratch. You will learn how to control a Chrome extension's behavior, how to set and change Chrome extension icons based on conditions, what the Chrome Storage API and Chrome Scripting API are, how to use them, and much more... My extension is compatible with all Chromium-based browsers. I've tested it on Google Chrome, Microsoft Edge, Brave, and Opera. I chose the name of this Chrome extension Injector Plus (Injector+). We can call it an unlimited lightweight injection tool that supports injecting inline JavaScript code, external JavaScript files, internal CSS code, and external CSS files. JavaScript and CSS injection are powerful techniques in web development that enable developers to create interactive, dynamic, and visually appealing web applications. However, they should be used responsibly to avoid security and performance issues. For testing purposes, I will inject custom JavaScript and CSS code into multiple websites, including ChatGPT, YouTube, Facebook, Wikipedia, example.com, and more...

Video Tutorial [ How To Build Chrome Extension From Scratch ]

https://youtu.be/13yCU0tQ4cY


The Project Structure Explanation

Project Setup Files Explanation

The Extension Icon In Different Conditions

Extension Original Icon Extension Enabled Icon Extension Disabled Icon
Original Icon Enabled Icon Disabled Icon

How To Debug Extension Using extensionStatusReport(); Function

How To Debug Extension

chrome.storage.local vs chrome.storage.sync

Chrome Storage Sync vs Local

The background.js Script Preview

background.js

If You Enjoy My Content, Please Support Me 😍🙏

💙 PAYPAL DONATION

https://paypal.me/gilgeekify

❤️ PATREON

https://www.patreon.com/gilgeekify

💛 BUY ME A COFFEE

https://www.buymeacoffee.com/gilgeekify

🖼️ Buy Stunning Unique Digital Artworks

https://alchemypowerai.etsy.com

🪙 My Public Address To Receive BTC • Bitcoin

bc1qerc5ev074cqknu9nz589w4vjf5ecmhuc2df83h

🥈 My Public Address To Receive ETH • Ethereum

0x566A47B9731209A5144336D274D44224bfb9C0ea