What does “http://*/*”, “https://*/*” and “” mean in the context of Chrome extension's permissions

后端 未结 1 1832
醉梦人生
醉梦人生 2020-12-01 06:27

I am trying to understand the working of Google chrome extensions. I was studying the manifest.json file where I came across the permissions \"http://*/*\

相关标签:
1条回答
  • 2020-12-01 06:54
    • "<all_urls>": matches any URL that starts with a permitted scheme (http:, https:, file:, ftp:, or chrome-extension:).
    • "http://*/*": Matches any URL that uses the http: scheme.
    • "https://*/*": Matches any URL that uses the https: scheme.
    • "*://*/*": Matches any URL that uses the https: or http: scheme.

    These permissions are required if your Chrome extension wants to interact with the code running on pages.

    Match patterns documentation

    0 讨论(0)
提交回复
热议问题