您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enforce `target="_self"` on links within Reddit posts and messages on desktop, delevoped for next chapter links on r/HFY.
Enforce target="_self"
on links within Reddit posts and messages so they open in the current tab, developed for next chapter links on r/HFY but generic enough that it should work on pretty much any Reddit text post.
Note: now redirects to old.reddit.com
if on www.reddit.com
from a /s/
share link redirect as the redirect to the real page only works on www.reddit.com
due to soulless corpo nonsense, and AJAX / XHR won't let me preempt the redirect from old.reddit.com
due to CORS. I prefer old.reddit.com
so this script now assumes that's where you want to be if you land on a /s/
redirected URL.
Developed in Tampermonkey v5.0.1 using Firefox 122.0 (64-bit) on Manjaro Linux.
I sometimes make dark CSS themes and JS userscripts. Some of them aren't terrible.