How To Inject Inline JavaScript And Script Src Link Into Any Website - Chrome Extension Manifest V3

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 21

  • @vishwajitrikame
    @vishwajitrikame Před 19 dny

    Manifest 3 how to use external js which can't be taken locally on publisher side

  • @shahrozatiq5312
    @shahrozatiq5312 Před 2 měsíci

    what if i want to add external script on popup.js

  • @MyDailyDay24
    @MyDailyDay24 Před 6 měsíci

    Thank you so much, this works!

  • @forester1
    @forester1 Před 11 měsíci

    Thank for sharing. I hope it will help me a lot

  • @mohammad-gk2ey
    @mohammad-gk2ey Před rokem

    Well done bro

    • @gilgeekify
      @gilgeekify  Před rokem +1

      Thanks! let's keep pushing forward together! 💪🦾

  • @muhammadusman7880
    @muhammadusman7880 Před rokem

    Hi uhh can you make a video on developer tools where we can block specific websites or URL

    • @gilgeekify
      @gilgeekify  Před rokem

      Hello, the Chrome DevTools does not have a built-in feature to block specific URLs directly.
      One common approach is to modify your computer's hosts file to redirect specific URLs to a different IP address (usually localhost). This effectively prevents your browser from accessing those URLs.
      Also you can create a Chrome extension to do this in the Client-side:
      czcams.com/video/RY0L34aBiOs/video.html

  • @imrans4gor
    @imrans4gor Před 9 měsíci

    ❤️❤️❤️
    bro, do you have the full documentation of manifest file? that includes all fields?

    • @gilgeekify
      @gilgeekify  Před 9 měsíci +1

      Sorry, not yet, while I don't currently have a dedicated tutorial video on manifest files, I believe it's a great idea!
      Here are two recommended methods to delve into manifest files:
      1- Explore the official Chrome Developers documentation for extensions (manifest) at:
      developer.chrome.com/docs/extensions/mv3/manifest/
      2- Leverage ChatGPT to enhance your understanding of manifest v3. You can ask questions, seek explanations, and even request examples to deepen your knowledge. Feel free to engage in a conversation to make your learning process more interactive and effective!

    • @imrans4gor
      @imrans4gor Před 9 měsíci

      @@gilgeekify thanks man, I am currently using chatbot for that. I have joined your telegram. there's no good tutorial for extension development, you may create a series over that. that will be helpful. thank you man 💌

  • @shpekov
    @shpekov Před 8 měsíci

    and your app will be rejected from chrome web store

  • @PIYUSH-lz1zq
    @PIYUSH-lz1zq Před 11 měsíci

    Bro is it unsafe to use scripts-src="self" in mera tag ?

    • @gilgeekify
      @gilgeekify  Před 11 měsíci

      No, it's not unsafe. In fact, it's generally considered a safe practice for enhancing security as it allows scripts to run only when they originate from the same source as the web page.

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq Před 11 měsíci

      @@gilgeekify how to write that script

    • @gilgeekify
      @gilgeekify  Před 11 měsíci

      What script? please clarify your question 🙏

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq Před 11 měsíci

      @@gilgeekify bro then when we use nonce ???

    • @gilgeekify
      @gilgeekify  Před 11 měsíci

      You can use both the 'self' source and a nonce together in a CSP header.
      This is how you can combine them:
      HTTP HEADER VERSION:
      Content-Security-Policy: script-src 'self' 'nonce-actualrandomvalue';
      HTML META TAG VERSION: