summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimonBrazell <simon@brazell.com.au>2020-05-27 23:29:16 +1000
committerSimonBrazell <simon@brazell.com.au>2020-05-27 23:29:16 +1000
commitd4eb025d765e0ae6c73d23795829181a6fd56f12 (patch)
tree1a89c3eecf4ef5bf9c64e3bcf7d84bb4968db670
parentd359763980e58d10180d920995d98b837a1c3a5c (diff)
downloadprivacy-redirect-d4eb025d765e0ae6c73d23795829181a6fd56f12.tar.gz
privacy-redirect-d4eb025d765e0ae6c73d23795829181a6fd56f12.tar.bz2
privacy-redirect-d4eb025d765e0ae6c73d23795829181a6fd56f12.zip
Stop redirecting Google Maps JS API endpoints (#56)v1.1.30
-rw-r--r--background.js2
-rw-r--r--manifest.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/background.js b/background.js
index 5c84702..d7b7318 100644
--- a/background.js
+++ b/background.js
@@ -55,7 +55,7 @@ const bibliogramInstances = [
'https://bibliogram.snopyta.org'
];
const osmDefault = 'https://openstreetmap.org';
-const googleMapsRegex = /https?:\/\/(((www|maps)\.)?(google).*(\/maps)|maps\.(google).*)/;
+const googleMapsRegex = /https?:\/\/(((www|maps)\.)?(google\.).*(\/maps)|maps\.(google\.).*)/;
const mapCentreRegex = /@(-?\d[0-9.]*),(-?\d[0-9.]*),(\d{1,2})[.z]/;
const dataLatLngRegex = /(!3d|!4d)(-?[0-9]{1,10}.[0-9]{1,10})/g;
const placeRegex = /\/place\/(.*)\//;
diff --git a/manifest.json b/manifest.json
index b6cce54..00a45f0 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"name": "Privacy Redirect",
"description": "Redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.",
- "version": "1.1.29",
+ "version": "1.1.30",
"manifest_version": 2,
"background": {
"scripts": [