运行注册脚本
Some checks failed
test / Run tests (push) Failing after 3s
build / Build (push) Failing after 5s

This commit is contained in:
2025-03-30 19:16:44 +08:00
parent 57bef5a023
commit 2c62566696
7 changed files with 87 additions and 8 deletions

View File

@ -4,3 +4,8 @@ export function isExtensionRequest(details: chrome.webRequest.ResourceRequest &
(details.originUrl && details.originUrl.startsWith(chrome.runtime.getURL("")))
);
}
// 处理油猴的match和include为chrome的matches
export function dealMatches(matches: string[]) {
return matches;
}