From 6329a0073a113ecb717d476a48bb970fc3f6fcc5 Mon Sep 17 00:00:00 2001 From: Cliffmeister Date: Mon, 5 Aug 2024 18:10:49 +0800 Subject: [PATCH] Fix for popup.js not detecting the base url I've split the single check into two. --- popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.js b/popup.js index 18f7165..8160563 100644 --- a/popup.js +++ b/popup.js @@ -11,7 +11,7 @@ document.addEventListener('DOMContentLoaded', function() { var baseUrl = currentTab.url; - if (baseUrl.includes('https://app.apollo.io/#/people?finderViewId')) { + if (baseUrl.includes('https://app.apollo.io/') && baseUrl.includes('#/people?finderViewId=')) { statusElement.textContent = "You found a list!"; statusElement.style.fontSize = "20px"; actionButton.disabled = false;