Reddit Links Open in Same Tab

Remove `target="_blank"` from links within Reddit posts on desktop, focused on next chapter links on r/HFY.

当前为 2023-04-30 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Ultrabenosaurus
评分
0 0 0
版本
1.1
创建于
2023-04-23
更新于
2023-04-30
大小
963 字节
许可证
GNU AGPLv3
适用于

Remove target="_blank" from links within Reddit posts 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.

Developed in Tampermonkey v4.18.1 using Firefox 112.0 (64-bit) on Manjaro Linux.

I sometimes make dark CSS themes and JS userscripts. Some of them aren't terrible.