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'}, 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'}, 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 +}