Adapt: [Extension] for Firefox

This commit is contained in:
MengYX 2021-02-08 03:35:26 +08:00
parent ce2642ad1f
commit 549983a928
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

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