Reformat Post Permalinks - deltaruneboards.net

Turns "Posted on:" links in post headers into normal working permalinks. 2025-11-22

目前為 2025-11-22 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Snarp
評價
0 0 0
版本
0.5
建立日期
2025-11-22
更新日期
2025-11-22
尺寸
1.8 KB
授權條款
未知
腳本執行於

This userscript reformats post permalinks to look like this:

<a title="Permalink" href="#entry92157" style="text-decoration:underline">Posted on:</a>

By default, they look like this:

<a title="" href="#" onclick="link_to_post(92157); return false;" style="text-decoration:underline">Posted on:</a>

Clicking one does not set the browser URL to a working permalink URL. It instead opens a dialog allowing the user to manually copy a URL in this format:

https://deltaruneboards.net/index.php?showtopic=2938&view=findpost&p=92157

Which, when entered into the browser address bar, will redirect to:

https://deltaruneboards.net/index.php?showtopic=2938&st=90&#entry92157

This is unexpected behavior that makes acquiring the permalink more time-consuming than using built-in browser methods (right-clicking and selecting 'Copy link' or left-clicking and copying from the browser address bar).