Adapt: [Extension] for Firefox

This commit is contained in:
MengYX 2021-02-08 03:35:26 +08:00
parent 4d5c986af9
commit 1429fdf27b
1 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
window.open(chrome.runtime.getURL('./index.html'));
const bs = chrome || browser
window.open(bs.runtime.getURL('./index.html'))