Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "http://*/*", "https://*/*" and "<all_urls>" mean in the context of Chrome extension's permissions

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://*/*", "https://*/*" and "<all_urls>"

Can anybody explain what do these permissions mean?

like image 818
TheRookierLearner Avatar asked Apr 19 '13 02:04

TheRookierLearner


People also ask

What does extensions mean on Google Chrome?

Extensions are small software programs that customize the browsing experience. They enable users to tailor Chrome functionality and behavior to individual needs or preferences. They are built on web technologies such as HTML, JavaScript, and CSS.

How do I send a post request extension in Chrome?

Type the url in the main input field and choose the method to use: GET/POST/PUT/DELETE/PATCH. Click on the arrow "Send" or press Ctrl+Enter. You'll see info about the response (time, size, type) and you'll be able to see the content response in the response section.


1 Answers

  • "<all_urls>": matches any URL that starts with a permitted scheme (http:, https:, file:, or ftp:).
  • "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

like image 118
PSL Avatar answered Sep 24 '22 15:09

PSL