mozillaZine Forums - insert titles to bug links

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

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

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

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

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

您需要先安装一款用户脚本管理器扩展,例如 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