You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK this library has no particular reason to ditch Firefox extensions. I have tested with above changes applied and I can finally use OCR within Firefox too.
Thanks for considering this change.
Copy file name to clipboardExpand all lines: src/worker-script/index.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ const loadLanguage = async ({
89
89
if(typeof_lang==='string'){
90
90
letpath=null;
91
91
92
-
if(isURL(langPath)||langPath.startsWith('chrome-extension://')||langPath.startsWith('file://')){/** When langPath is an URL */
92
+
if(isURL(langPath)||langPath.startsWith('moz-extension://')||langPath.startsWith('chrome-extension://')||langPath.startsWith('file://')){/** When langPath is an URL */
0 commit comments