Skip to content

Commit

Permalink
fixes compatibility with mv2 on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed Jun 3, 2024
1 parent 1715aea commit 3e27daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let currentScriptSrc;

export default {
getExtensionId() {
if (currentScriptSrc) {
if (currentScriptSrc && !currentScriptSrc.startsWith('moz-extension://')) {
return null;
}

Expand Down

0 comments on commit 3e27daa

Please sign in to comment.