Рет қаралды 41,028
rustyextensions.com/academy Get access to my Browser Extension Academy today!
Hey! In this video we look the different ways you can inject code to a page with a Chrome Extension. There are examples for both manifest version 2 & the new version 3. There are two main methods to do this, using a content script within your manifest file or to inject directly from the background page / service worker when you are on a specific page.
Also mentioned in this video is my new Chrome Extension Academy. This is a brand new course aimed to help guide you along the process of creating an extension, targeted towards anyone looking to create an extension to launch on the Chrome Web Store. If you have any questions or want to suggest an area for the course to cover, feel free to send me an email ( rz.rustyzone@gmail.com ) but I will share more details on this as soon as it's ready! 😀
RELATED LINKS:
Onboarding / Permissions Video: • Chrome Extension Onboa...
Shadow Root Video: • How to use the Shadow ...
Source Code: github.com/rustyzone/Inject-C...
TIMESTAMPS:
0:00 Intro
0:55 New Course
1:07 MV2 Content Script
3:49 MV3 Content Script
4:40 MV2 Background Page
6:53 MV3 Background Page
8:49 Shadow Root
14:45 Chrome Extension Academy
MY ONLINE COURSE:
⛏ My Chrome Extension Course: skl.sh/2Xcr9Va
** Join my community on Skillshare by starting any of my classes or following my profile for the latest classes & updates, this is also the best place to get more in-depth content & development support **
** Get a free trial of Skillshare Premium Membership - www.skillshare.com/r/user/rus... **
FIND ME ONLINE:
📨 Sign up to my email newsletter - rustyzone.substack.com
🌍 My website / blog - russellr.co.uk
🐦 Twitter - / russellbarnard
📺 Subscribe - / @rustyzone
MY MINIMAL SETUP:
💡 Lights amzn.to/2X2rkl6
📷 Tripod amzn.to/350b3S1
🕹 USB-C Adaptor amzn.to/3rEDVsZ
👁 iPhone Lens amzn.to/3qHzgFI