From 918c0ab3f18c4a20654ddcf95c75451d50ecd16d Mon Sep 17 00:00:00 2001 From: Filipe Medeiros Date: Wed, 28 Aug 2024 19:11:27 +0200 Subject: [PATCH] fix small bug --- service-worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service-worker.js b/service-worker.js index 687ea10..5c8b08b 100644 --- a/service-worker.js +++ b/service-worker.js @@ -32,8 +32,8 @@ chrome.webNavigation.onBeforeNavigate.addListener(({ url, tabId, frameType }) => ) }, { url: [ - { hostSuffix: 'x.com' }, - { hostSuffix: 'twitter.com' }, + { hostSuffix: '.x.com' }, + { hostSuffix: '.twitter.com' }, ] })