mozillaZine Forums - insert titles to bug links

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

Tính đến 17-08-2016. Xem phiên bản mới nhất.

Tác giả
darkred
Đánh giá
0 0 0
Phiên bản
2
Đã tạo
30-08-2015
Đã cập nhật
17-08-2016
Kích thước
6 KB
Giấy phép
N/A
Áp dụng cho

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: