mozillaZine Forums - insert titles to bug links

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

La data de 17-11-2017. Vezi ultima versiune.

Autor
darkred
Rating-uri
0 0 0
Versiune
2017.11.16
Creat
30-08-2015
Actualizat
17-11-2017
Size
6,75 KB
Licență
MIT
Se aplică pe

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:

Hosted in GitHub