Coding Challenge #82: Image Chrome Extension: The Ex-Kitten-sion!
In this coding challenge, I create a chrome extension which replaces all image on a page with the picture of a kitten. Code: https://thecodingtrain.com/challenges/82-image-chrome-extension
๐ฅ Previous video: https://youtu.be/u2D4sxh3MTs?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ Next video: https://youtu.be/IXXNIcQQLU8?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
๐ค Programming from A to Z: http://shiffman.net/a2z
๐ฑ Kitten Song: https://soundcloud.com/lostghbear/lostghbear-podopleloff-kittens-feat-dan-shiffman
๐ Unsplash: https://unsplash.com/
๐ chrome.extension reference: https://developer.chrome.com/extensions/extension
Videos:
๐ฃ Regular Expressions Series: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YEypLuls7iidwHMdCM6o2w
๐ Chrome Extensions Playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bL9VOMT65ahNEri9uqLWfS
๐ด Coding Train Live 106: https://youtu.be/y0zS83xj0g0?t=19m5s
Related Coding Challenges:
๐ #83 Chrome Extension with p5.js Sketch - Doodle Chrome Extension: https://youtu.be/IXXNIcQQLU8
๐ #84 Word Definition Chrome Extension: https://youtu.be/GWDx1GnxhOw
Timestamps:
00:00 Introduction!
01:09 Creating manifest.json
04:00 Loading the extension in Chrome
05:06 Finding all img elements on the page
06:32 Adding all the assets to web_accessible_resources
10:17 Improving the file structure
12:02 Setting the src field to the image of a kitten
15:17 Error! Add folder prefix to file names
16:24 Final Output!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
๐ Website: http://thecodingtrain.com/
๐พ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
๐ฉ Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
๐ก GitHub: https://github.com/CodingTrain
๐ฌ Discord: https://thecodingtrain.com/discord
๐ Membership: http://youtube.com/thecodingtrain/join
๐ Store: https://standard.tv/codingtrain
๐๏ธ Twitter: https://twitter.com/thecodingtrain
๐ธ Instagram: https://www.instagram.com/the.coding.train/
๐ฅ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
๐ p5.js: https://p5js.org
๐ p5.js Web Editor: https://editor.p5js.org/
๐ Processing: https://processing.org
๐ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new
#chromeextensions #bookmarklets #imageswap #javascript