Skip to main content

Close tabs on x.com not twitter.com

ID
f1eb787
date
2024-06-20 20:59:35+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
09f9b79
message
Close tabs on x.com not twitter.com
changed files
1 file, 1 addition

Changed files

macos/close_tabs (3918) → macos/close_tabs (3954)

diff --git a/macos/close_tabs b/macos/close_tabs
index f1b8e85..adf60cc 100755
--- a/macos/close_tabs
+++ b/macos/close_tabs
@@ -77,6 +77,7 @@ function isSafeToClose(url) {
     url === 'https://www.theguardian.com/uk' ||
     url === 'https://www.youtube.com/' ||
     url === 'https://www.youtube.com/?app=desktop' ||
+    url === 'https://x.com/home' ||
     url === 'history://'
   );
 }