Skip to content

Commit

Permalink
Disable on Safari (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Jun 6, 2024
1 parent 5e71c58 commit 93ebafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/register.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {onExtensionStart} from 'webext-events';
import progressivelyInjectScript from './inject.js';

if (globalThis.chrome && !navigator.userAgent.includes('Firefox')) {
if (globalThis.chrome && navigator.userAgent.includes('Chrome')) {
onExtensionStart.addListener(() => {
const {content_scripts: scripts} = chrome.runtime.getManifest();

Expand Down

0 comments on commit 93ebafa

Please sign in to comment.