Reddit Links Open in Same Tab

Enforce `target="_self"` on links within Reddit posts and messages on desktop, delevoped for next chapter links on r/HFY.

コードが変更されたバージョンのみを表示しています。 すべてのバージョンを表示

  • v1.8 2024/02/02
  • v1.7 2024/02/01
    • now redirects to old.reddit.com if on www.reddit.com from a /s/ share link redirect
    • no longer edits /s/ share link targets on old.reddit.com as the redirect to the real page only works on www.reddit.com due to soulless corpo nonsense
  • v1.6 2023/11/28

    add error handling, specify tags with href attributes in querySelectorAll

  • v1.5 2023/10/28

    add handling of redd.it links while browsing old.reddit.com

  • v1.4 2023/10/27

    now works on links in messages like from the UpdateMeBot used on r/HFY

  • v1.3 2023/10/26

    fix event handling on old.reddit.com

  • v1.2 2023/10/26

    also match on old.reddit.com

  • v1.1 2023/04/30
  • v1.0 2023/04/23