stop redirecting to nitter
change
commit 0320b02df2a34866c488bb668de8f0b74f2a1fef
author Alpha Chen <alpha@kejadlen.dev>
date
parent 78d43a9b
diff --git a/.hammerspoon/init.fnl b/.hammerspoon/init.fnl
index 40626c7e..b3b81bc2 100644
--- a/.hammerspoon/init.fnl
+++ b/.hammerspoon/init.fnl
@@ -67,8 +67,6 @@
         (url:find "^https://.*[.]bulletin.com/") (open-url :safari)
         (string.find orig-url "^https://doi.org/")
         ((open-with :firefox) (.. "https://sci-hub.st/" orig-url))
-        (string.find url "^https://twitter.com/")
-        ((open-with :firefox) (url:gsub :twitter.com :nitter.net 1))
         (open-url :firefox))))
 
 (set hs.urlevent.httpCallback
@@ -79,6 +77,7 @@
              orig-url (de-utm url)
              redirected (de-utm (redirect orig-url))]
          (handle redirected orig-url))))
+         ; (hs.urlevent.openURLWithBundle orig-url bundle-ids.firefox))))
 
 ;;; Spoons