mozillaZine Forums - insert titles to bug links

Inserts titles to bug links that are plain URLs, in forums.mozillazine.org

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
darkred
今日安裝
0
安裝總數
35
評價
1 0 0
版本
2017.11.16
建立日期
2015-08-30
更新日期
2020-06-25
尺寸
6.8 KB
授權條款
MIT
腳本執行於

This userscript applies to forums.mozillazine.org.
It inserts titles to bug links that are plain URLs, in forums.mozillazine.org
i.e. instead of showing: https://bugzilla.mozilla.org/show_bug.cgi?id=1147820 it shows: 1147820 - [meta] Improve Storage
It also converts links with titles like: Bug 1147820.

Note: the request for each link is done asynchronously, i.e. Firefox UI is not locked and frozen until the request completes.

v2.0: Script rewrite (based on johnp_'s contribution in the userscript 'Firefox for desktop - list fixed bugs in Mercurial'):
now the REST API is used (one (1) network connection is made for all unique examined bug IDs).
During this procedure, you may open the Web Console (Ctrl+Shift+K) to monitor progress. (screenshot)

v1.1 Now, a spinning icon appears at the end of each bug link during the title request procedure:
During the request :
After appending title:

The script works and is tested on Tampermonkey and Violentmonkey.
Greasemonkey -any version- is not supported (the script might work, but is not tested).

If you have any bugs, bug fixes or ideas, please report at my GitHub repo