Complete Beginners Guide to JavaScript Service Workers (2021 Web Development)

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 9

  • @pratikpawar05
    @pratikpawar05 3 года назад +2

    this video needs more views. Really a great video. thanks for making it :) :)

  • @blazesmt
    @blazesmt 2 года назад

    Best service worker video on youtube

  • @Yuannn-01
    @Yuannn-01 Месяц назад

    I have question my service worker script is in root folder and in my production environment it has a basepath /application/service
    What i have done is window.navigator.serviceWorker.register("/application/service/sw.js", {scope: "/application/service/"}) ............
    It works perfectly on localhost
    Where scriptUrl: /sw.js and scope: /
    However in production controller is null
    .Thank you so much

  • @ansumanmishra9608
    @ansumanmishra9608 2 года назад

    Great tutorial about service workers. You covered it up really well.

  • @wagnermoreira786
    @wagnermoreira786 2 года назад

    great video! thanks for sharing!

  • @1playfair
    @1playfair 2 года назад

    Great great video. Thanks man. I’m trying to grab the code from a script.js file that is loaded into the browser when my page loads. I see it in the network tab with the other js files and I just need a way to grab the js code that lives inside that file for example when the user clicks “download javascript code for a component button” Do I need a service worker to target that js file in the network tab so I can then copy the code from it? Or is there another way? So far I’m finding nothing on google to help with this. Thanks man.

  • @rafaelso1688
    @rafaelso1688 2 года назад

    thank you bro

  • @user-en6ny7qr1o
    @user-en6ny7qr1o Год назад

    how its work without manifest file?