Chrome Extension Manifest 'Matches'

前端 未结 5 1958
甜味超标
甜味超标 2020-12-12 23:54

I\'m trying my hands at a simple Chrome Extension, but am running into a problem with providing a value for the matches array in my content_scripts

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 00:08

    If you want to match every URL, then Google has a special pattern just for this purpose:

    Sample usage:

    "matches": [""],
    

    See this page for more info: https://developer.chrome.com/extensions/match_patterns

提交回复
热议问题