How to develop a Chrome Extension to Scrape Emails ? | Chrome Extension Tutorial

Поділитися
Вставка
  • Опубліковано 24 сер 2024
  • If you know basic web development and JavaScript, then developing your own Chrome Extension is pretty simple. All you need to do is to follow the getting started guide provided by Google.
    developer.chro...
    But, if you hate reading docs, then I have created this video which explains the steps you need to follow to build your own Chrome Extension. In this tutorial we are building an extension which would scrape emails from any webpage.
    #chromeextension #javascript #tutorial

КОМЕНТАРІ • 57

  • @slimrawhide
    @slimrawhide Рік тому +1

    Thanks for this. I found a couple of other articles that were out of date or just plain too difficult to follow. The step by step guide with really clear instructions was exactly what I needed. A really awesome tutorial.

  • @EAGLETECHHACKING
    @EAGLETECHHACKING 3 місяці тому +1

    [00:02](ua-cam.com/video/LtF3mCn0GUs/v-deo.html.24) Building a Chrome Extension to Scrape Emails
    - Introduction to building a simple Chrome Extension}
    - Importance of manifest.json file in Chrome Extension}
    - Adding basic requirements to manifest.json file}
    - Enabling functionality in the Chrome Extension}
    - Setting up popup.html for user interaction}

    [03:08](ua-cam.com/video/LtF3mCn0GUs/v-deo.html.56) Creating a Chrome Extension to Scrape Emails
    - Including a CSS stylesheet for styling}
    - Fixing a typo and reloading the extension}
    - Scanning the HTML of the loaded page for emails}
    - Creating the script 'popup.js' to handle actions}

    [06:16](ua-cam.com/video/LtF3mCn0GUs/v-deo.html.16) Developing a Chrome Extension to Scrape Emails
    - Testing the button click functionality}
    - Identifying the issue with scraping emails}
    - Reloading the extension to see the alert}
    - Running the script in the popup and on the active tab}

    [10:01](ua-cam.com/video/LtF3mCn0GUs/v-deo.html.76) Developing a Chrome Extension to Scrape Emails
    - Obtaining the currently active tab}
    - Defining the script to scrape emails}
    - Adding permissions in the manifest for tab access}
    - Checking if the script runs successfully}
    - Using regular expressions to extract emails from the page}

    [12:41](ua-cam.com/video/LtF3mCn0GUs/v-deo.html.76) Developing a Chrome Extension to Scrape Emails
    - Scraping emails from a web page}
    - Using Chrome runtime message passing functionality}
    - Confirming receipt of emails in the pop-up script}
    - Reloading the extension and displaying the message handler output}

    [16:09](ua-cam.com/video/LtF3mCn0GUs/v-deo.html.44) Developing a Chrome Extension to Scrape Emails
    - Looping through each image to extract emails}
    - Extension displaying all extracted emails}
    - Scraping emails from any webpage using the extension}
    - Adding functionality and modifying the extension}

  • @aaronpat9476
    @aaronpat9476 Рік тому +1

    Thank you so much for this amazing tutorial, with all the problems migrating from Manifest 2 to 3, your tutorial helped me a lot, you rock!

  • @user-dt2wl2cd2p
    @user-dt2wl2cd2p Рік тому

    the only guy on internet i could get a solution to my problem for, thx!

  • @time4crypto427
    @time4crypto427 Рік тому +2

    Awesome video! Very calming voice and clear style. I love that! Subbed. Please more on chrome ext development! ❤

    • @hashdefine
      @hashdefine  Рік тому +1

      Thank you for your encouraging words, I will definitely try to include more chrome extension dev videos. .

  • @luvrahooo
    @luvrahooo Рік тому +1

    One of the best videos after searching so much. If you get time please create a video more buttons and inputs, and also accessing data from current tab like cookies from a particular site, etc.

    • @hashdefine
      @hashdefine  Рік тому +1

      Thanks for the suggestions , will surely try to address 👍

  • @yucheng3453
    @yucheng3453 Рік тому

    Very nice video! best introduction video of chorme extension on youtube.

  • @brunnocosta6954
    @brunnocosta6954 Рік тому

    Man, i love you! You help me so much!

  • @arifhossain8753
    @arifhossain8753 Рік тому

    Simple and great explanation❤️

  • @awesomewolf07
    @awesomewolf07 Рік тому

    very nicely explain with steps

  • @graceadams8623
    @graceadams8623 Рік тому

    Why do you have just 5 subscribers? Your videos are valuable

    • @hashdefine
      @hashdefine  Рік тому

      Thanks for your kind words. This is a new channel, so hopefully more people will watch and subscribe 🤞

  • @Movieeditspro
    @Movieeditspro 8 місяців тому

    amazing you deserve more subscribers

    • @hashdefine
      @hashdefine  8 місяців тому +1

      Thank you so much 😀

  • @emmadurepos7513
    @emmadurepos7513 Рік тому

    amazing sir can you do more tutorials like this

  • @anshmishra1536
    @anshmishra1536 Рік тому +3

    11:23 I am getting an error that " Uncaught (in promise) Error: Cannot Access a chrome://URL "
    How to solve it
    Plz help me

    • @jamesseager3985
      @jamesseager3985 Рік тому +2

      ive got the same problem

    • @jamesseager3985
      @jamesseager3985 Рік тому +1

      never mind, I've found that you only get that error whilst on a tab on Chrome:// or Edge:// such as the extensions page.
      any other website should be fine.

    • @anshmishra1536
      @anshmishra1536 Рік тому +1

      @@jamesseager3985so basically what should I do ?
      Can u plz elaborate

    • @shalinitripathi9811
      @shalinitripathi9811 Рік тому

      Same how can I resolve it

    • @Sami-sg5os
      @Sami-sg5os 11 місяців тому

      @@shalinitripathi9811 use this chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
      let emails = request.emails;
      alert(emails)
      //code in here will run every time a user goes onto a new tab, so you can insert your scripts into every new tab
      });

  • @hackmate-x
    @hackmate-x 3 місяці тому

    Hola, colega, por favor envíeme el código para iniciar mi proyecto y ver cómo se captura el texto del correo electrónico.

  • @franciscoolivares7068
    @franciscoolivares7068 Рік тому

    Amazing!!

  • @norsemanintl
    @norsemanintl Рік тому

    Great site! What would we change in order to scrape and crawl all the pages of a site?

  • @codewithshivkr
    @codewithshivkr Рік тому

    great video, please make a video on how to build extention to fill web forms using inputs from excel file

    • @hashdefine
      @hashdefine  Рік тому

      Thanks for the suggestion, will do this video 👍

    • @codewithshivkr
      @codewithshivkr Рік тому

      @@hashdefinethanks, i am waiting for the same

    • @grammar.with.mohammed
      @grammar.with.mohammed Рік тому

      great video , I am waiting for it as well. when you will post it?

  • @TheWhoIsTom
    @TheWhoIsTom Рік тому

    Nice video. Is there a way to wait for an selector. I have a site where it trys to fetch an element before its on the page.

  • @AnkitKumar-cg9hu
    @AnkitKumar-cg9hu Рік тому

    Thanks

  • @glenayienda3317
    @glenayienda3317 Рік тому

    Awesome video! could you include a src code please

  • @Movieeditspro
    @Movieeditspro 8 місяців тому

    But sir the same mails are coming 2 times . what should i do to get it only 1 time

  • @rajeshchitikela5847
    @rajeshchitikela5847 6 місяців тому

    how can we get emails from all the pages in a website?

  • @cgianimationtv1828
    @cgianimationtv1828 Рік тому

    Please can you code an extension that shows latest post from a particular website... Just like the extension *xclusiveloaded* it does it... Please 🙏 I can't wait to learn it, I appreciate your time and effort. God bless 🙏 you

  • @prasanshah397
    @prasanshah397 Рік тому

    can you build for phone number scrapper from linkedin?

  • @xash6917
    @xash6917 Рік тому

    How do i make extension for scraping data from websites

  • @Movieeditspro
    @Movieeditspro 8 місяців тому

    hey please can you do a email spam detection extension . it would really help in my project, cause i am stuck in that

  • @noertri618
    @noertri618 5 місяців тому

    This is what i am looking

  • @TechnoEveryday
    @TechnoEveryday Рік тому

    Great

  • @vaibhavikumari384
    @vaibhavikumari384 11 місяців тому

    Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
    Context
    popup.html
    Stack Trace
    popup.js:32 (anonymous function)
    I am getting this error can anyone resolve

  • @mishanadhikary67
    @mishanadhikary67 Рік тому

    Hi can you provide the codes too pleasee. Awesome video

  • @steipeter
    @steipeter День тому

    that mechanical keyboard noise is very distracting.

  • @chrisder1814
    @chrisder1814 26 днів тому

    hello

  • @Duriel1000
    @Duriel1000 9 місяців тому

    should be titled 'how to scrape email ADDRESSES'

  • @khurrammughal953
    @khurrammughal953 Рік тому

    i want to fetch my whatsapp text

  • @Study-di3xh
    @Study-di3xh 4 місяці тому

    hello