Create a Google Chrome Extension (For Beginners)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 219

  • @1mrnewton
    @1mrnewton ปีที่แล้ว +9

    update: as at now (5th Jan 2023) manifest.json 2 is deprecated. so if you're watching within this time, use (manifest_version:3) and remove "page_action" key and its values.

    • @empplayz
      @empplayz ปีที่แล้ว

      tysm I was watching and google kept giving me errors

    • @empplayz
      @empplayz ปีที่แล้ว +1

      although its still giving me an error I removed all the stuff below "128": "/images/icon128.png" and changed the manifest number to 3 did I mess something up, sorry this is my first time doing this

    • @1mrnewton
      @1mrnewton ปีที่แล้ว

      also you gonna make sure you have, scripts.js, popup.html files in your directory. you can replace the names tho.
      You're welcome.

    • @empplayz
      @empplayz ปีที่แล้ว

      @@1mrnewton I don't really know what you mean by that why do I need a scripts.js and popup.htlm file and what do they need in them?

  • @eugenem529
    @eugenem529 2 ปีที่แล้ว +32

    For those of you who just like me wanted to ctrl+V ctrl+C "basics" here you are:
    {
    "manifest_version": 2,
    "name" : "",
    "description": "",
    "version" : "",
    "icons": {
    "16": "",
    "48": "",
    "128": ""
    },
    "page_action" :{
    "default_icon": {
    "16": "",
    "48": "",
    "128": ""
    }
    },
    "content_scripts": [{}]
    }

  • @Timooooooooooooooo
    @Timooooooooooooooo 3 ปีที่แล้ว +69

    I've wondered about this and looked into this a bit before, but I've never tried it out fully. Thanks for this walk-through!
    I wouldn't mind watching more episodes of this.
    Feedback for this video: the part about putting the icons in the manifest took quite long. I think it would be fine if you went over that a little faster.

    • @ieatwebsites
      @ieatwebsites  3 ปีที่แล้ว +9

      Thank you so much timo! Yes! Sometimes I focus on thing that are not very important 😂

    • @guywholikesbreathing1263
      @guywholikesbreathing1263 2 ปีที่แล้ว

      @@ieatwebsites Hello i'm not sure if you'll respond to my request or even see it since this is an 9 month old video but I am wondering how to make it so that the backround changes to a new picture for example every 24 hours, so I can automatically get a new background every 24 hours.

    • @AviatingRandom
      @AviatingRandom 2 ปีที่แล้ว +2

      the manifest part wasn't much help. he copy and pasted all that code and didn't tell us where we could get it

    • @ureo_umbreon8601
      @ureo_umbreon8601 ปีที่แล้ว

      @@ieatwebsites Hey can you link the basic code for me? I have had trouble finding it, and I have to type it out manually.

    • @pr0tr0ll3r
      @pr0tr0ll3r ปีที่แล้ว

      @@ureo_umbreon8601 yes tht would be very helpful

  • @TheLanceGamer
    @TheLanceGamer 2 ปีที่แล้ว +3

    This opened my mind 10x instead of using c# to control the browser Use this 😂

  • @devbites77
    @devbites77 2 ปีที่แล้ว +3

    A nice ‘hello world’ for chrome extensions. Thanks! Looking forward to diving in.

  • @hassanjamil841
    @hassanjamil841 2 ปีที่แล้ว +14

    Pretty simple and to the point, for beginners like me.

    • @FriedMonkey362
      @FriedMonkey362 ปีที่แล้ว +1

      Not to the point at all he spent 1/3 talking about images so he could reach 10 minutes and monitize

  • @acloudyboy
    @acloudyboy 2 ปีที่แล้ว +32

    here is the manifest file for anyone wondering also if you ever need to copy paste code from photos or videos just install the blackbox chrome extension it makes a few mistakes with comma and " those but you can just fix it up ok heres the code:
    {
    "manifest_version": 2,
    "name": "",
    "description": ""
    ,"version": ""
    ,"icons": {
    "16": ""
    ,"48": " "
    , "128": ""
    },
    "page_action": {
    "default_icon": {
    "16": ""
    ,"48": ""
    ,"128": ""
    },
    "content_scripts": [{}]
    }
    }

  • @wilson_
    @wilson_ 2 ปีที่แล้ว +4

    Thank you Sir. This was perfect for my use-case. I just wanted to remove/hide a few things I did not want to see from a website I use regularly. 😁

  • @iamPressureMan
    @iamPressureMan 3 ปีที่แล้ว +14

    This helped me gain a better understanding of how to start building a google extension. I appreciate you bro! Keep up the good work. New subscriber

    • @ieatwebsites
      @ieatwebsites  3 ปีที่แล้ว +3

      That’s great! You are very welcome.

  • @PSProduktions
    @PSProduktions ปีที่แล้ว +10

    Damn you explained that so nicely! I had no idea how to make a chrome extension and always thought it's something only god-tier programmers can do but you broke that delusion of mine and for that THANK YOU!

  • @shinobi5237
    @shinobi5237 ปีที่แล้ว +1

    This icon can't have 16x16 px the quality is too high!! I changed the dimensions with a photo editor and a 16x16 px icon is very very bad quality!

  • @brandonochia9043
    @brandonochia9043 2 ปีที่แล้ว +5

    This was a great intro video. Thank you so much! Definitely going to play around with chrome extensions now!

  • @malaching8143
    @malaching8143 ปีที่แล้ว +2

    in 3:14 you say it is 16 pixels, however below it says 154x154, does it not have to be 16? can it be any random dimensions as long as it is a square?

  • @photonicsauce7729
    @photonicsauce7729 2 ปีที่แล้ว +3

    Can you make a video for manifest version 3?
    Ig this is outdated

  • @theinvokerdarksoul3356
    @theinvokerdarksoul3356 ปีที่แล้ว

    I'm grateful for the knowledge that you have given me, truly a good place to start.

  • @A7mad3109
    @A7mad3109 2 ปีที่แล้ว +4

    can i have the manifest.json file so i can copy and paste

  • @Borma425
    @Borma425 2 ปีที่แล้ว +6

    I watched other videos but I didn't like it
    You are just excellent
    A great effort in zooming in on the screen, explanation and everything
    Thank you

    • @ieatwebsites
      @ieatwebsites  2 ปีที่แล้ว +1

      Glad you liked the videos. You are welcome! 😁

  • @captainT0ad
    @captainT0ad 2 ปีที่แล้ว +1

    the code didnt work for me idk why, can you put it somewhere so that i can copy and paste it?

  • @chrisder1814
    @chrisder1814 หลายเดือนก่อน

    hello I had an idea but I don't know if it can be done with a chrome extension, could you tell me what you think about it

  • @Leprogrammeurmarocaintv
    @Leprogrammeurmarocaintv ปีที่แล้ว

    Thank you a lot for this tutorial
    need more tutorials if possible about creating chrome extensions.

  • @RebellionAlpha
    @RebellionAlpha 2 ปีที่แล้ว +1

    Will manipulating page css stop working, because Alphabet is Implementing Manifest v3 right now?

  • @umairiqbal7646
    @umairiqbal7646 3 หลายเดือนก่อน +1

    .json file not showing up in load unpacked

  • @akshi9046
    @akshi9046 2 หลายเดือนก่อน

    the image for the background of the search engine isn't working for me. any ideas why?

  • @wulfmaer8919
    @wulfmaer8919 ปีที่แล้ว

    Great starter tutorial! Thank you!

  • @oliveryt7168
    @oliveryt7168 2 ปีที่แล้ว +1

    Thank you!

  • @allesprobieren
    @allesprobieren 5 หลายเดือนก่อน

    Such a good tutourial.

  • @nipunpeiris
    @nipunpeiris 3 ปีที่แล้ว +5

    Really helpful mate! Great content! Wish you will create more content like these! Good luck! 😊

  • @aswanaswan6732
    @aswanaswan6732 ปีที่แล้ว

    why there is no chrome extension tutorials , there is just videos like this that shows you how to install google chrome

  • @adammartinez6033
    @adammartinez6033 ปีที่แล้ว +1

    I just did it for the first time! Awesome video! Thank you!

  • @eraysona7916
    @eraysona7916 8 หลายเดือนก่อน

    thank you so much you inspired me

  • @Eamo-21
    @Eamo-21 2 ปีที่แล้ว +2

    This was great. Almost exactly what I was looking for. Guessing we can add an array of domains to matches?

  • @beautifullgirls8289
    @beautifullgirls8289 ปีที่แล้ว

    i want to add JavaScript and do automatic things like checked in 1000 cells ratio

    • @Visoriz
      @Visoriz ปีที่แล้ว

      You can probably do that by calling the js in the json

  • @ap74249
    @ap74249 2 ปีที่แล้ว +1

    Thanks man!

  • @GreenLyfe00
    @GreenLyfe00 ปีที่แล้ว +1

    wholesome video

  • @trxggeredtrash9273
    @trxggeredtrash9273 2 ปีที่แล้ว +2

    first, i havent even got 2 mins into the video and i wish i could ask u a question already. understand, im genuinely brand new to this so im aware this is entirely a learning process, so with that in mind i completely appreciate anyone willing to take effort/time into teaching me a valued lesson :) at about 1:15 , u mention you will copy and paste the, "basics," referring to the foundation of the browser extension itself, is how i understood when u refer to as basics. i thought it was a good idea, you've been through this before and if its about efficiency, i understand and agree. i suppose with all of that being said im wondering, as someone who's brand new to this, am i supposed to do my best to copy that from what i see from da video into my own empty folder, create a file within that folder, named "manifest.json" then i can do my best to copy down from the video what u refer to as, "basics," the same exact way you do? that's my first question, does everything need to look exactly like how u have it, correct? all same spacing and everything? because i cant exactly tell how many spaces are in between certain characters. could u break this down to me? or point me in the direction of a video/forum where i can learn what im asking? i would genuinely appreciate that very much:)

    • @jujipotle
      @jujipotle 2 ปีที่แล้ว

      hey! not sure how much coding experience you have, so apologies if i say something you alr know
      the person in the video is using visual studio code, and i'd suggest you download that since it's a pretty typical software among programmers. once you do, search up "visual studio code beginner tutorials" so you can get used to making files (which can help answer your first question). that'll also probably help you answer your second question about spacing, but regardless spacing doesn't really matter except for indentations (which you can do by pressing tab in visual studio code). lmk if you have any more questions, i'm happy to help!

    • @trxggeredtrash9273
      @trxggeredtrash9273 2 ปีที่แล้ว +1

      @@jujipotle thank you! appreciate your thoughts and time :) gon go learn

  • @desenvolvedor5digibyte591
    @desenvolvedor5digibyte591 2 ปีที่แล้ว +1

    Best intro on how to create extensions for Chrome, thanks

  • @thebluemasteryt3473
    @thebluemasteryt3473 2 ปีที่แล้ว +1

    where can i find the script for manifest.json?

  • @LeviAckerman-tr9qu
    @LeviAckerman-tr9qu ปีที่แล้ว

    best for getting started . upload website permission based videos if you can.

  • @kumarrparth
    @kumarrparth 2 ปีที่แล้ว +1

    I have done all the things correct but the extension isn't loading

  • @AmlizeagaGaming
    @AmlizeagaGaming 2 ปีที่แล้ว

    how do i get those shadows on the window corners on windows 10, like the old ones

  • @udhayasilambam96
    @udhayasilambam96 ปีที่แล้ว +1

    Great Thanks

  • @sachindeveloperko8424
    @sachindeveloperko8424 3 ปีที่แล้ว +1

    😀 thank you for making tutorial

    • @ieatwebsites
      @ieatwebsites  3 ปีที่แล้ว +1

      You are very welcome. 😁

  • @bappi5702
    @bappi5702 2 ปีที่แล้ว +1

    thanks man

  • @Visoriz
    @Visoriz ปีที่แล้ว

    How would I make the image stretched across the window not tiled
    Edit: I found a library about cssref (which is the same thing as the code in the css file) and I learned how to go into specific element classes and control a lot more. Unfortianently you cannot make it stretched but you can just change size

  • @pragyajain1445
    @pragyajain1445 6 หลายเดือนก่อน

    my google background is not working
    i have followed each steps but still

  • @jozsi26
    @jozsi26 2 ปีที่แล้ว +1

    Thank you, this was a great way to start learning Chrome development! Awesome!

  • @saeedsaeedi1310
    @saeedsaeedi1310 2 ปีที่แล้ว +1

    thank you

  • @yeetgaming6720
    @yeetgaming6720 ปีที่แล้ว

    fudge I'm on a Chromebook I need to learn how to make files on this thing

  • @chompplays1137
    @chompplays1137 2 ปีที่แล้ว +1

    Is it possible to share information between two different peoples extensions
    For example if P1 types in bean it will show up for P2

    • @timustica9417
      @timustica9417 2 ปีที่แล้ว +1

      I would also like to know the answer to this

  • @yurisoares2596
    @yurisoares2596 2 ปีที่แล้ว

    I already made mine, but I'm getting stucked by security bs(not really) and my js script isn't running.

  • @kazoottt4718
    @kazoottt4718 2 ปีที่แล้ว +1

    thanks a lot

  • @dumo178
    @dumo178 10 หลายเดือนก่อน

    tysm!!!!

  • @Sunny-tl6qg
    @Sunny-tl6qg 2 ปีที่แล้ว

    I've tried and it worked on google even though I had to change the image background to that one that you gave it seems that it's not available anymore.
    Then I tried with youtube and it didn't work, I wonder why...of course, I changed the matches link as well.

    • @rakeshrosh3794
      @rakeshrosh3794 2 ปีที่แล้ว

      I am also trying it right now but my extension is not activating do u know why ??

  • @monofruit5020
    @monofruit5020 ปีที่แล้ว

    Manifest version 2 will be deprecated, use version 3 and instead of "page_action" you shall put "action"

  • @spillehunden
    @spillehunden 2 ปีที่แล้ว

    Can i have the start you copy pasted in to the document at the start?

  • @Aced_Dreamer
    @Aced_Dreamer 2 ปีที่แล้ว +1

    This was pretty straightforward

  • @ajaymain3739
    @ajaymain3739 2 ปีที่แล้ว +1

    What a clear explanation man, really appreciable 🙌🙌🙌, great

  • @saidalkharusi7824
    @saidalkharusi7824 2 ปีที่แล้ว +1

    You're a life saver, just what I wanted. Thanks!

  • @bigfeetentertainment5473
    @bigfeetentertainment5473 2 ปีที่แล้ว +1

    thanks!

  • @RafaelMartinez-si2hm
    @RafaelMartinez-si2hm 2 ปีที่แล้ว +1

    I love you

  • @Bagwah
    @Bagwah ปีที่แล้ว

    How do I get the star that makes it a "wildcard"?

  • @learningstuff5679
    @learningstuff5679 2 ปีที่แล้ว +1

    Very frustrating - this is the second Javascript / Chrome Extension where I followed along exactly and it didn't work. Would have been helpful if you copy and pasted your code for people to compare / follow along.

  • @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

  • @Ti-03
    @Ti-03 ปีที่แล้ว +1

    Thank you !!
    Keep going the good work ❤️❤️

  • @sivamech9140
    @sivamech9140 ปีที่แล้ว

    how the photo link came from where u used in CSS

  • @RODIOMG7
    @RODIOMG7 ปีที่แล้ว

    how do i do this but for youtube

  • @Revelatus
    @Revelatus 2 ปีที่แล้ว +3

    does this overwrite the existing css on a webpage with your new css file? or do you need to do a bunch of remove rules to get rid of conflicting css lines on the existing webpage?

    • @4MXW
      @4MXW 2 ปีที่แล้ว

      I'm not sure. I think is like an extension of the css.
      But looks like normal CSS behaviour. If you say that x=1 at the beginning and later say that x=2... then x will be 2. and won't even matter that you wrote x=1 in the first place.

  • @deprixionz5850
    @deprixionz5850 ปีที่แล้ว

    It doesn't appear when I search things on google

  • @HolahkuTaigiTWFormosanDiplomat
    @HolahkuTaigiTWFormosanDiplomat ปีที่แล้ว +1

    New world!

  • @trevorPhillips284
    @trevorPhillips284 2 ปีที่แล้ว

    the backgroung image is not covering over 'images' 'gmail' and my account

  • @anilbadiger
    @anilbadiger ปีที่แล้ว +1

    really cool for beginners thank you

  • @auwalumar5350
    @auwalumar5350 ปีที่แล้ว

    Who can help me create a Chrome Browser Extension for my SEO Tool website please ?

  • @jamieplayz247
    @jamieplayz247 9 หลายเดือนก่อน

    Wers the browser u uysed to get that script up called\

  • @omarherrera.digmaster
    @omarherrera.digmaster 2 ปีที่แล้ว

    how can this extension be added as bookmarks
    ?

  • @DR.FRIZZY
    @DR.FRIZZY 9 หลายเดือนก่อน

    my exstention is still gray :(

  • @codematics8344
    @codematics8344 ปีที่แล้ว

    thank you! will be building a chrome extension thanks to this tute

  • @mh69197
    @mh69197 ปีที่แล้ว

    Quick question: Is is required to register as a developer in chrome app store to upload and test your extension?

    • @qedro
      @qedro 9 หลายเดือนก่อน

      To upload, yes, to test, no. To test, just enable the developer mode on the extensions page and upload your extension’s folder.

  • @fahimhossain6109
    @fahimhossain6109 2 ปีที่แล้ว

    Nice,I got what I needed,thanks ,such a clear explanation,love it

  • @thegreenfox011
    @thegreenfox011 2 ปีที่แล้ว

    but how do i make it so it appears everywhere?

  • @burado4020
    @burado4020 2 ปีที่แล้ว

    what is the difference between manifest v2 and v3 regarding this video ?

    • @KcClips
      @KcClips 2 ปีที่แล้ว

      from 2023 manifest v2 will no more work

  • @polymathematics_
    @polymathematics_ 2 ปีที่แล้ว +1

    Super helpful! Thank you.

  • @mathbrah
    @mathbrah 5 หลายเดือนก่อน

    How do I make my vs code look good like yours?!?!

    • @ieatwebsites
      @ieatwebsites  5 หลายเดือนก่อน

      You can create your own theme or install a theme.

    • @mathbrah
      @mathbrah 5 หลายเดือนก่อน

      @@ieatwebsiteswhat are your settings? Show pls!!!!!!!!!!!!!!!!!

  • @stoicis
    @stoicis ปีที่แล้ว

    can I use this in sublime text also?

  • @armaanoo
    @armaanoo 2 ปีที่แล้ว

    I am just starting out. Dumb question: But what's the IDE on the left? How do I get that?

    • @armaanoo
      @armaanoo 2 ปีที่แล้ว

      Ok, I got access to an IDE on replit. Now, I am downloading the file and then trying to upload the json file but it's greyed out when I try and upload the json.

    • @armaanoo
      @armaanoo 2 ปีที่แล้ว

      Okay, I got super close - I am able to load the package and resolve all errors. However, I am facing one last problem - the google home page is not showing the image I selected :( It's just going black...
      Any tips?

  • @user-ug2re7dj1v
    @user-ug2re7dj1v 2 ปีที่แล้ว

    🙋im here for first tim e for subscribing

  • @iDevourLotion
    @iDevourLotion 2 ปีที่แล้ว

    how do i get that coding thing

  • @amobeats8088
    @amobeats8088 ปีที่แล้ว

    What is the program you are using on the left window the whole time when you are coding? Kinda new into this and would appreciate if anyone replies.

    • @andper0
      @andper0 ปีที่แล้ว +1

      visual studio

    • @amobeats8088
      @amobeats8088 ปีที่แล้ว

      @@andper0 Thanks

    • @Visoriz
      @Visoriz ปีที่แล้ว +1

      It's Visual Studio but you can just do it with file explorer if you want.

    • @amobeats8088
      @amobeats8088 ปีที่แล้ว

      @@Visoriz Thanks bro

  • @vasaramadanovic8045
    @vasaramadanovic8045 2 ปีที่แล้ว

    I cant load icon idk why i was followint the tutorial
    it said:Could not load icon 'images/icon16.png' specified in 'icons'.
    Could not load manifest.

    • @codewithegai
      @codewithegai 2 ปีที่แล้ว

      make sure your file path is correct

    • @Mujiboy
      @Mujiboy 2 ปีที่แล้ว

      You will have to Load the image as a separate file in the same folder

  • @jermsbestfriend9296
    @jermsbestfriend9296 ปีที่แล้ว

    Love this. Can you tell me a way to execute some js?

  • @joeljain10
    @joeljain10 6 หลายเดือนก่อน

    i made one

  • @mr.grotto
    @mr.grotto ปีที่แล้ว

    No clue how to do this in windows 10 instead of Mac. I could fumble around in the dark I guess.

  • @StijnHommes
    @StijnHommes 2 ปีที่แล้ว +1

    Why do you have to point to at least 3 different logo files in your manifest? Why not just point to a svg single vector images and be done?

  • @xxwoman
    @xxwoman 2 ปีที่แล้ว

    Oh my gosh this was great! Thank you, can I ask why manifest has to be set at 2?

    • @KcClips
      @KcClips 2 ปีที่แล้ว

      it is 3 now

  • @mrbosstech09
    @mrbosstech09 2 ปีที่แล้ว +1

    Hey...this is an Amazing tutorial and walk through...do you have any idea as to how can we create a chrome extension that can help us autofill the job applications like workday one. I know some extensions exist that are similar but they are not really that efficient...or if you could point me to a similar resource. Thank you for this video and your help :)

  • @davidcolver2502
    @davidcolver2502 2 ปีที่แล้ว +1

    Really clear.

  • @rangabharath4253
    @rangabharath4253 3 ปีที่แล้ว +2

    Awesome thank you ☺️👍

  • @user-du4of6in6l
    @user-du4of6in6l 2 ปีที่แล้ว

    Thank you for this perfect tutorial
    Can you please help me I want to make a site blocker addon that blocks a specific page or account not all the site and have the ability to block a whole site too. I am trying to develop a non profit site blocker addon for schools and I am having hard time as I am so new to programming I am trying to make it so it can check a url site like pastebin every time the browser opens and take the urls I post in post pastebin and add it to block list (I will update the list daily so I need it to check it every time the browser opens) And I want to make the list encrypted students cannot take blocked urls from the addon So can you please help like guide me to tutorials or links that explain these things or make a video about it so it will be content for the channel too Thank you very much and sorry for requesting many things I am lost and confused

    • @RyanMorizz
      @RyanMorizz 4 หลายเดือนก่อน

      good luck

  • @bricolomagnac
    @bricolomagnac 2 ปีที่แล้ว +1

    Hello, I have a question, is it possible with an extension to remove the cross at the top right corner to close the window?

    • @greenwiener
      @greenwiener 2 ปีที่แล้ว

      no. it's a part of a window not a website.

    • @bricolomagnac
      @bricolomagnac 2 ปีที่แล้ว

      @@greenwiener with an extension we can' t access to the settings of chrome or something like that? because the presence or not of a cross this kind of thing is relative to the software code, so if the extension access to some variables of chrome it should be able to change that

    • @bricolomagnac
      @bricolomagnac 2 ปีที่แล้ว

      @@greenwiener with an extension we can't access to the settings of chrome or something like that?
      because the presence or not of a cross this kind of thing is relative to the software code, so if the extension access to some variables of chrome it should be able to change that

  • @ibrahimseyam1621
    @ibrahimseyam1621 2 ปีที่แล้ว

    how can replace code

  • @tasdau
    @tasdau 2 ปีที่แล้ว

    A beginner like me doesn't know what program you're using on the left side of the screen. I guess I need the pre-beginner...

    • @harmandhamija1
      @harmandhamija1 2 ปีที่แล้ว

      That's Visual Studio IDE.

    • @spacemole
      @spacemole 2 ปีที่แล้ว

      It's vscode, this will work in any text editor