firefox support (kinda with manual permission set)

This commit is contained in:
Jorrin
2024-01-11 23:45:11 +01:00
parent 2eae1ede05
commit ef7234a36b
3 changed files with 23 additions and 10 deletions

3
src/utils/extension.ts Normal file
View File

@@ -0,0 +1,3 @@
export const isChrome = () => {
return chrome.runtime.getURL('').startsWith('chrome-extension://');
};