From c9a891a6da99d598cbc9a90a3db48ee17565358f Mon Sep 17 00:00:00 2001 From: Michael Rienstra Date: Wed, 19 Oct 2022 20:47:59 -0700 Subject: [PATCH 1/3] Exclude Google Maps --- manifest.json | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/manifest.json b/manifest.json index 5290e93..3be65fb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,22 +1,33 @@ { - "content_scripts": [ { - "exclude_matches": [ ], - "include_globs": [ - "http://www.google.*/search*" - ,"https://www.google.*/search*" - ,"https://www.google.*/*" - ,"https://encrypted.google.*/search*" - ,"https://encrypted.google.*/*" - ,"https://spmbt.github.io/googleSearchExtraButtons/saveYourLocalStorage.html" - ,"https://www.gstatic.com/index.html" - ,"https://www.gstatic.com/sites/p/b9356d/system/services/test.html"], - "js": [ "Google_Search_Extra_Buttons.user.js" ], - "matches": [ "http://*/*", "https://*/*" ], - "run_at": "document_idle" - } ], + "content_scripts": [ + { + "exclude_matches": [], + "include_globs": [ + "http://www.google.*/search*", + "https://www.google.*/search*", + "https://www.google.*/*", + "https://encrypted.google.*/search*", + "https://encrypted.google.*/*", + "https://spmbt.github.io/googleSearchExtraButtons/saveYourLocalStorage.html", + "https://www.gstatic.com/index.html", + "https://www.gstatic.com/sites/p/b9356d/system/services/test.html" + ], + "exclude_globs": [ + "https://www.google.com/maps/*" + ], + "js": [ + "Google_Search_Extra_Buttons.user.js" + ], + "matches": [ + "http://*/*", + "https://*/*" + ], + "run_at": "document_idle" + } + ], "converted_from_user_script": true, "description": "Add buttons (past 1/2/3 days, weeks, PDF search etc.) for Google search page", "name": "GoogleSearchExtraButtons", "version": "45.2022.8.23", "manifest_version": 2 -} \ No newline at end of file +} From c0abc231cbbed1cdee2683787d6fc4d06225f8c2 Mon Sep 17 00:00:00 2001 From: Michael Rienstra Date: Wed, 19 Oct 2022 20:49:39 -0700 Subject: [PATCH 2/3] Ditto --- Google_Search_Extra_Buttons.user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Google_Search_Extra_Buttons.user.js b/Google_Search_Extra_Buttons.user.js index dfdd677..1655b94 100644 --- a/Google_Search_Extra_Buttons.user.js +++ b/Google_Search_Extra_Buttons.user.js @@ -13,6 +13,7 @@ // @include https://spmbt.github.io/googleSearchExtraButtons/saveYourLocalStorage.html // @include https://www.gstatic.com/sites/p/b9356d/system/services/test.html // @include https://www.gstatic.com/index.html +// @exclude https://www.google.com/maps/* // ==/UserScript== var xLocStI =0, xLocSto = [{origin:'https://spmbt.github.io', restHref:'/googleSearchExtraButtons/saveYourLocalStorage.html'}, {origin:'https://www.gstatic.com', restHref:'/sites/p/b9356d/system/services/test.html', '//':'blank page'}, From 2ecf15c73a2281249434dc2032fbace0a550418b Mon Sep 17 00:00:00 2001 From: Michael Rienstra Date: Wed, 19 Oct 2022 20:50:12 -0700 Subject: [PATCH 3/3] Ditto --- GSEB41-20220821.user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/GSEB41-20220821.user.js b/GSEB41-20220821.user.js index 595458e..532efe3 100644 --- a/GSEB41-20220821.user.js +++ b/GSEB41-20220821.user.js @@ -13,6 +13,7 @@ // @include https://spmbt.github.io/googleSearchExtraButtons/saveYourLocalStorage.html // @include https://www.gstatic.com/sites/p/b9356d/system/services/test.html // @include https://www.gstatic.com/index.html +// @exclude https://www.google.com/maps/* // ==/UserScript== var xLocStI =0, xLocSto = [{origin:'https://spmbt.github.io', restHref:'/googleSearchExtraButtons/saveYourLocalStorage.html'}, {origin:'https://www.gstatic.com', restHref:'/sites/p/b9356d/system/services/test.html', '//':'blank page'},