diff --git a/background.js b/background.js index bf735a9..9c9a9f8 100644 --- a/background.js +++ b/background.js @@ -33,7 +33,7 @@ const checkAndUpdateUrl = (tabId, tab) => { // debug(`inside checkAndUpdateUrl ${tab.url}`); const originalUrl = tab.url; - if (urlManager.isGoogle(tab.url) && !urlManager.getParam(tab.url, "tbs") && !urlManager.getParam(tab.url, "url")) { + if (urlManager.isGoogle(tab.url) && !urlManager.getParam(tab.url, "url")) { let newUrl = cleaningUrl(originalUrl); if (statusManager.getStatus()) { newUrl += getDateParamsString() diff --git a/manifest.json b/manifest.json index 95f6103..73943ab 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { - "name": "since 6 month ago ", - "version": "1.1.1", + "name": "search in 6 months ", + "version": "1.1.2", "manifest_version": 3, "description": "When Active, the search results are since 6 months old.", "icons": { diff --git a/utils/cleaningUrl.js b/utils/cleaningUrl.js index 4fac64d..7e68f85 100644 --- a/utils/cleaningUrl.js +++ b/utils/cleaningUrl.js @@ -16,8 +16,6 @@ const cleaningUrl = (url) => { url = url.replace(/&sca_upv=[^&]*/g, ""); url = url.replace(/&iflsig=[^&]*/g, ""); url = url.replace(/&uact=[^&]*/g, ""); - // del tag - url = url.replace(/#.*/g, ""); // del date params url = url.replace(/&as_qdr=y1/g, ""); url = url.replace(/&tbs=[^&]*/g, "");