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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background.js') 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', -- cgit 1.4.1