'Chrome Extensions user specified matches

json file like this:

"content_scripts": [ {
   "css": [ "test.css" ],
   "matches": [ "https://*/gallery/*" ]
}]

I want the user to be able to specify there own website into the manifest so it can be truly dynamic not just anything which matches "https://*/gallery/**"

Anyone know of any links to documentation or how to go about achieving this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source