From 4a08f5da8f04e4bd2ecf2b7bc3736fc40aa8b1be Mon Sep 17 00:00:00 2001 From: SimonBrazell Date: Mon, 4 May 2020 10:30:51 +1000 Subject: Fixes #45 - some usersnames caught in instagramReservedPaths --- background.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/background.js b/background.js index f249b80f..6ebc84e8 100644 --- a/background.js +++ b/background.js @@ -26,7 +26,7 @@ const instagramDomains = [ "help.instagram.com", "about.instagram.com", ]; -const instagramReservedPaths = /\/(p|favicon.ico|developer|legal|about|explore|support|press|api|privacy|safety|admin|help|terms|contact|blog|igtv)/; +const instagramReservedPaths = /^\/(p|favicon.ico|developer|legal|about|explore|support|press|api|privacy|safety|admin|help|terms|contact|blog|igtv)\/?$/; const bibliogramBypassPaths = /\/(accounts\/|embeds?.js)/; const bibliogramInstances = [ 'https://bibliogram.art', diff --git a/manifest.json b/manifest.json index 77dbb11d..49ffb2a4 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.23", + "version": "1.1.24", "manifest_version": 2, "background": { "scripts": [ -- cgit 1.4.1