From a01e08b74596fcd109d9a2ff7f7ac7debeed8cd9 Mon Sep 17 00:00:00 2001 From: cassandragemini29 Date: Wed, 2 Oct 2024 12:06:10 +0200 Subject: [PATCH] Update bg.js quick fix to disable PL as default language --- bg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bg.js b/bg.js index 5729041..ef012af 100644 --- a/bg.js +++ b/bg.js @@ -120,7 +120,7 @@ async function search(image) { browser.tabs.create({url: "loading.html", index: active[0].index+1, active: !(settings.openInBG || false)}).then(async tab=>{ browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { if (changeInfo.status == "complete") { - browser.tabs.sendMessage(tab.id, { url: `https://lens.google.com/v3/upload?hl=pl&re=df&stcs=${Date.now()}&vpw=1920&vph=604&ep=subb`, image: image }) + browser.tabs.sendMessage(tab.id, { url: `https://lens.google.com/v3/upload?re=df&stcs=${Date.now()}&vpw=1920&vph=604&ep=subb`, image: image }) } }, { tabId: tab.id }); });