Coding A Chrome Extension in JavaScript Tutorial

  Рет қаралды 75,619

PedroTech

PedroTech

Күн бұрын

Best Tech Resume Template: papermoontech....
Use code: PEDRO for 20% off
In this video I will teach you guys how to build a chrome extension using JavaScript. The images I used are down in the description!
-
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/l...
💻 PedroTech Discord: / discord
-
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Twitter: / pedrotech_
Linkedin: / machadop1407
Instagram: / _pedro.machado_
Github: github.com/mac...
Email: machadop1407@gmail.com
[
"www.lovethispi...",
"media1.popsuga...",
"www.cliccamaqu...",
"observatoriodo...",
"upload.wikimed...",
"exame.com/wp-c...",
"conteudo.imguo...",
"i0.wp.com/mixd...",
];
Tags:
- Chrome Extensions
- Fetch
- ReactJS Tutorial
- ReactJS and MySQL
- NodeJS Tutorial
- API Tutorial

Пікірлер: 110
@kurokev.mp4
@kurokev.mp4 3 жыл бұрын
Making an extension for my final project of a coding course. This helped me understand how to get started, thanks a lot Pedro.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it :)
@linusdickmann
@linusdickmann 2 жыл бұрын
@@PedroTechnologies hey So I came here after I saw a Viral TikTok on this Bionic Reading API and thought it'd be awesome to write a chrome extension on it so you could automatically display the text on a website in this bionic reading style. In the comment section the demand on an app for android or a browser extension was high but there is not yet an existing one. Unfortunatelly I'm really no programmer but I think this could make a very interesting and viral video. What do you think?
@learningstuff5679
@learningstuff5679 2 жыл бұрын
I followed the tutorial, rewatched and fixed any errors that I had - and then uploaded to chrome extensions. There are no errors but the images are not swapping. Any idea why?
@cellularpeptidecake
@cellularpeptidecake 2 жыл бұрын
Had to go through several videos to find yours. Simple and easy to follow. Thanks bro.
@alanrneves
@alanrneves 2 жыл бұрын
Your English is so good, congratz!
@lucifergo4332
@lucifergo4332 3 жыл бұрын
Dude that will Smith part really cracked me up
@Shubham-tq5ot
@Shubham-tq5ot 3 жыл бұрын
Excellent tutorial. Pl make more tutorials that use other Chrome extension apis!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! I plan in the future!
@f3-faithfitnessfinance
@f3-faithfitnessfinance 3 жыл бұрын
When did 4k happen😱 🔥🔥 Fire bro🙌
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thanks bro 🔥The channel hit 4k last friday! We are growing like crazy! I am thankful for the support bro!
@f3-faithfitnessfinance
@f3-faithfitnessfinance 3 жыл бұрын
@@PedroTechnologies keep going bruh 🙌 Consuming your content fetched me a job❤️
@조승희-s7f
@조승희-s7f 2 жыл бұрын
Thanks Pero! Great tutorial
@programmingwithnit5308
@programmingwithnit5308 Жыл бұрын
Thank you brother 🙏🙏
@PSProduktions
@PSProduktions Жыл бұрын
very informative! Thanks you so much!
@woomygfx
@woomygfx 3 жыл бұрын
underrated, tysm for the tutorial!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you like it!
@woomygfx
@woomygfx 3 жыл бұрын
@@PedroTechnologies i wanted to know if it was possible to change text to images, kinda like how bttv works, whenever i try to change the text to the placeholder (in your case `WillSmithImages`) it displays the link and not the actual img
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
@@woomygfx So what is happening is that you are trying to put the link to the image inside of a non image html tag. To change text to image you need to change the tag and add the url as the href.
@lnsinfotechsolution3016
@lnsinfotechsolution3016 2 жыл бұрын
How to Remove all ads and replace with my photos, text, link in javascript chrome extension, can you send code or some hints
@FireCrauter
@FireCrauter 3 жыл бұрын
Is there a way to iterate between the following tabs and use a javascript code on each tab? Or simulate ctrl + pageup? (And it would be missing how to inject the js). and that the extension will open once and can remain as a separate window ?. (I want to make a very simple version like the imacros extension)
@diegoa.hungr.5169
@diegoa.hungr.5169 2 жыл бұрын
Hi Pedro, I have a question, is it possible to create a chrome extension with the function of performing automatic scrape?
@sanjuthreddy6435
@sanjuthreddy6435 2 жыл бұрын
can anyone help me how to get the chrome wallpaper like he got in the video the good morning one time
@lesptitsoiseaux
@lesptitsoiseaux 2 жыл бұрын
Declare your content script at document_start and use MutationObserver? Please do a video on that :)
@krepkovmeste
@krepkovmeste 2 жыл бұрын
what is the name of theme in visual studio?
@williamvestergaard4136
@williamvestergaard4136 Жыл бұрын
Palenight Theme
@splashystudio9949
@splashystudio9949 2 жыл бұрын
9︓ 18 IS MY MINUTE!
@AgostinhoSEP
@AgostinhoSEP 3 жыл бұрын
Mano, tô com um problema, se tu conseguisse me ajudar ia fazer a boa 🥺 Tipo, eu já tenho um script feito e tals, aí eu tinha uma extensão do Javascript no opera que era só eu copiar o script lá, apertar em salvar que o script já funcionava no site que eu queria. O foda é que eu não consigo mais achar essa extensão. Tu tem uma ideia de qual pode ser a extensão ou o que eu posso fazer pra executar meu script?
@dailymeow3283
@dailymeow3283 3 жыл бұрын
Hey Pedro, the changes done by the extension only appear on your local browser, isn't it ? It will not appear for other visitors of the site, or another browser
@cryptoborgfa
@cryptoborgfa 3 жыл бұрын
I'm not Pedro but you are correct. Only the ones that have the extension installed on their browser will see the changes.
@shadowsage9164
@shadowsage9164 2 жыл бұрын
What’s the app?
@Calupp
@Calupp 3 жыл бұрын
I'm in public right now trying not to laugh at that Will Smith extension. That's the funniest shit. Def using this to fuck w some people
@uivcat
@uivcat 6 ай бұрын
9:32 what is wrong with your fyp bro
@snowie030
@snowie030 2 жыл бұрын
wanna know how will smith will react when he sees this, lmao thumbs up to this tutorial
@njox1635
@njox1635 Жыл бұрын
Awesome
@softvibes1602
@softvibes1602 3 жыл бұрын
TYSM
@lucasa8710
@lucasa8710 2 жыл бұрын
caralho mano, inglês bom da porra, é fisk? KEWK
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Kkkkkkk obrigado mano! Eu estudei desde criança ai fiquei melhor
@Tom-JS
@Tom-JS Жыл бұрын
8:46 urls
@ionvajda
@ionvajda 3 жыл бұрын
Subscribed
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! Glad you like the tutorial!
@israelalmaraz7889
@israelalmaraz7889 Жыл бұрын
my boy really loves Will Smith😭💀
@mrnabby4178
@mrnabby4178 8 ай бұрын
This is funny bro
@willianguedes6227
@willianguedes6227 Жыл бұрын
Pesquiso em inglês pq não acho em português e acho vídeo de brasileiro ensinando em inglês kkkkkk
@muizahsanu4521
@muizahsanu4521 3 жыл бұрын
"manifest_version" is the version of the manifest you want to use. in the documentation there is manifest v2 and v3. if you want to use manifest v3 (version 3) then the value in "manifest_version" is 3. that's what i read in the documentation, correct me if i'm wrong
@Zokiio
@Zokiio 3 жыл бұрын
you are correct, there are 2 versions of the manifest. version 1, like in this video should not be used and version 2 vill be phased out in the near future.
@cscott_smiles
@cscott_smiles 2 жыл бұрын
​@@Zokiio then you're telling me not to use the manifest. If one is being phased out, and one should not be used.... Not a helpful comment. You're actually just confusing people like me.
@Zokiio
@Zokiio 2 жыл бұрын
@@cscott_smiles Sorry for being vague, but the person I was answering, did talk about the version 3 , I just wanted to clarify that the v1 should not be used and that the v2 was going to be phased out relatively soon, and at the time of writing v3 is fully released.
@northshorepx
@northshorepx 2 жыл бұрын
Thanks a million mate. Have my first extension working now! You rock!
@victorekea
@victorekea Жыл бұрын
Great tutorial, Pedro. If you're watching this in 2023, change "manifest_version" to 3 and "browser_action" to "action". Good luck.
@sahilvashisht_0462
@sahilvashisht_0462 2 жыл бұрын
hey I am getting error Required value 'version' is missing or invalid. It must be between 1-4 dot-separated integers each between 0 and 65536. Could not load manifest. please help me...☺
@knightblueyan5682
@knightblueyan5682 3 жыл бұрын
Nice video, can you make a tutorial on how to modify the search page to display date, time, temperature? etc.
@notmoonlight724
@notmoonlight724 3 жыл бұрын
I doesn't work
@tazimrahbar7882
@tazimrahbar7882 3 жыл бұрын
Hello Pedro you inspired me to learn to code I just wanna ask from how many years you are Coding
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
I am so happy to hear this! I started coding about 4 years ago, however I only started taking it seriously about 1.5 years ago!
@angelalmachado
@angelalmachado 3 жыл бұрын
Thanks Pedro! Very useful! I'll definitely do this
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it angeletti! You should try it!
@DonLarryTT
@DonLarryTT 2 жыл бұрын
Thanksssss it was what I needed I just was looking for how to inject a script for some URLs and this was reeeaaaaly helpful!
@abdelouahedaitali9962
@abdelouahedaitali9962 3 жыл бұрын
I think you can add document.onload event
@lacreatrice3218
@lacreatrice3218 3 жыл бұрын
Thanks for video. I haven't found any solution to my problem, but anyway it's great. Keep going!
@rapertalisson7959
@rapertalisson7959 Жыл бұрын
I died laughing when I started the random images of will smith xD
@bfbleafy
@bfbleafy 9 ай бұрын
18:22 what tag does youtube use for video titles? I really need it for a similar extension where it replaces text
@k4y1to_
@k4y1to_ 3 ай бұрын
Sempre muito maneiro ver alguém brasileiro produzindo conteúdo de programação
@prathamanand1037
@prathamanand1037 3 жыл бұрын
Upload the other two Chrome extension tutorial pls
@eggproductions9683
@eggproductions9683 2 жыл бұрын
ok but i did one on one everything nd yet im lacking a scheme separator
@adampratt604
@adampratt604 2 жыл бұрын
my photo can't be showing brother! how can i solve it?
@farban6200
@farban6200 3 жыл бұрын
is there a way to use local images with this? I was trying to make the same thing but with my own images but it doesn't seem to work. It just shows null images
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hey, you can get a local image like this: var imgURL = chrome.extension.getURL("images/myimage.png");
@saiiluru8454
@saiiluru8454 Жыл бұрын
Dude this is what i want this is fun 😂
@technicalabbas6134
@technicalabbas6134 2 жыл бұрын
Hey I need your help ? I am building an extension which will help me to print a specific content of any websites when I click button but this is not happening What should I do
@lifealliancegroup
@lifealliancegroup Жыл бұрын
😀Thank you!!!
@likhitha8870
@likhitha8870 3 жыл бұрын
Great tutorial. Please make tutorial for Procrastination blocker as well.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hahaha I can make that too!
@starless9
@starless9 Жыл бұрын
this app slaps
@LucasSilva-oy7fq
@LucasSilva-oy7fq 3 жыл бұрын
Pedro como eu hospedo uma aplicação com react no front-end e node no back, tipo eu tenho que hospedar o back-end e o front-end em hosts diferentes?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Boa Lucas, tenho videos sobre isso! Video usando mysql: kzbin.info/www/bejne/oqiypHxugdmJe7M . Video usando mongo: kzbin.info/www/bejne/kJCnZapsfdKHbs0
@QkysenQ
@QkysenQ 3 ай бұрын
4:10
@kkphoenix9465
@kkphoenix9465 2 жыл бұрын
You are actually an Brazillian men, Você fala inglês muito bem mano kkkkkkk
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Sou kkkkkkk Obrigado mano!
@nerdion1911
@nerdion1911 3 жыл бұрын
Great beginner video man
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it
@joseisraeldiazzapata5179
@joseisraeldiazzapata5179 3 жыл бұрын
omg jajaj that's awesome Pedro 😄😄 and you're in Brasil. Do you understand spanish? De tus videos estoy aprendiendo muchas y divertidas cosas, muchas gracias
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Gracias! I speak a bit of spanish cause I took it in high school hahaha Glad you are liking the videos!
@rajenderkatkuri7642
@rajenderkatkuri7642 2 жыл бұрын
watching it exactly after an year..
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
The year went pretty fast hahaha this video felt like yesterday
@rmnst
@rmnst Жыл бұрын
Hi PedroTech! How long did you wait for the Chrome Extension to be added in the Chrome Web Store? Many thanks for this!
@billmane226
@billmane226 2 жыл бұрын
Thank you so much WIll you have a video on how to download every image in a website ? I tried but really hard and I cant find any tutorial on similar usage . It will be great if you have one.
@Borma425
@Borma425 3 жыл бұрын
thanks
@n08ishaxii72
@n08ishaxii72 Жыл бұрын
Just like you got all the images by the tag "img'" is there a way to get the font styles of the page? I am making chrome extension that changes the font styles. Thanks a lot.
@motorhead41
@motorhead41 2 жыл бұрын
I was expecting the Will Smith extension to reach through the screen and smack me.
@jamarimcfarlane4844
@jamarimcfarlane4844 2 жыл бұрын
video is 2021
@C0D3O
@C0D3O 2 жыл бұрын
how to make a button that starts the script on the needed page? so I guess... the popup.html has to run the content script js? how to do it? mine is trying to run in the popup.html...
@jackepner9984
@jackepner9984 2 жыл бұрын
Even with manifest version set to 2, it throws an error, saying manifest version will not be supported in 2023. Maybe an update addressing this?
@Bebel-42
@Bebel-42 3 жыл бұрын
What's your tiktok bro ?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
I don't post anymore hahaha but it was called @pedromachadao
@cameronpartee2949
@cameronpartee2949 2 жыл бұрын
What if you wanted to place a button on top of every image? How would you approach that?
@mikevenema9136
@mikevenema9136 3 жыл бұрын
Was super easy
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Yes! I used to think it was complicated, but extensions are really cool!
@sadique_x_
@sadique_x_ Жыл бұрын
the video is great and your teaching is awesome 💯🙏
@tusharsahu397
@tusharsahu397 2 жыл бұрын
Thanku Sir for this amazing as well as mesmerising content
@d.m.gjapan6956
@d.m.gjapan6956 2 жыл бұрын
what (visual studio code) extensions????
@rana-the-dev
@rana-the-dev Жыл бұрын
Thank you for creating this video.
@rangabharath4253
@rangabharath4253 3 жыл бұрын
Awesome
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it!
@spalatty
@spalatty 2 жыл бұрын
Great video! Learned alot! Can you show us how to do manifest 3?
@aryansurin3698
@aryansurin3698 2 жыл бұрын
this is soo cool and simple too!
@MuhammadHassan-qh3sm
@MuhammadHassan-qh3sm 3 жыл бұрын
Thanks a lot for making this video 😍
@YourShorts_guy
@YourShorts_guy 3 жыл бұрын
I love you 😘😘
@pegihr
@pegihr 3 жыл бұрын
Hi pedro, as always thank you for the video. I have a request, can you made infinite scroll pagination tutorial in react?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! I was going to make a video on this topic this week hahaha but I chose to make a normal pagination video! Since you asked, I should probably make one next week!
11.4: Chrome Extensions: Background Scripts - Programming with Text
16:20
The Coding Train
Рет қаралды 157 М.
Full Tutorial | Building a Chrome Extension in Typescript and Vite
32:58
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 9 МЛН
Шок. Никокадо Авокадо похудел на 110 кг
00:44
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 53 МЛН
11.3: Chrome Extensions: Content Scripts - Programming with Text
16:55
The Coding Train
Рет қаралды 226 М.
RISKIEST Mountain Bike Ride of My Life 1000ft Drop
14:08
WOLFPACK ADVENTURES
Рет қаралды 8 МЛН
programming projects that taught me how to code
9:49
isak
Рет қаралды 293 М.
I Built My First Google Chrome Extension!
20:52
James Q Quick
Рет қаралды 55 М.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 198 М.
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 9 МЛН