diff --git a/src/extension/contentscript-main-override/index.ts b/src/extension/contentscript-main-override/index.ts index 703126f..18c2e20 100644 --- a/src/extension/contentscript-main-override/index.ts +++ b/src/extension/contentscript-main-override/index.ts @@ -2,10 +2,10 @@ const genericWindow = window as any if (genericWindow.aibrow) { genericWindow.ai = genericWindow.aibrow } else { - throw new Error('aibrow not found') + console.warn('aibrow not found') } if (genericWindow.aibrowTranslation) { genericWindow.translation = genericWindow.aibrowTranslation } else { - throw new Error('aibrowTranslation not found') + console.warn('aibrowTranslation not found') }