Skip to main content

add more tabs to close

ID
3b4d6ba
date
2022-09-13 15:57:34+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
e10787b
message
add more tabs to close
changed files
1 file, 3 additions, 1 deletion

Changed files

close_tabs (3043) → close_tabs (3132)

diff --git a/close_tabs b/close_tabs
index d509d09..db97da8 100755
--- a/close_tabs
+++ b/close_tabs
@@ -67,7 +67,9 @@ function isSafeToClose(url) {
     url === 'https://www.macrumors.com' ||
     url === 'https://www.youtube.com/' ||
     url === 'https://github.com/alexwlchan/pathscripts' ||
-    url === 'https://alexwlchan.net/'
+    url === 'https://alexwlchan.net/' ||
+    url === 'https://arstechnica.com/' ||
+    url === 'https://news.ycombinator.com/'
   );
 }