Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (13 loc) · 947 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 947 Bytes

User ID to Name Replacer for GitHub Enterprise

Replaces the D/I/C user names in GitHub Enterprise with the users' real names.

Based on:

Usage

Add this as user script to Userscripts (Safari 13+)

Userscripts is available for free from the App store.

I haven't tested it with the iOS version of UserScripts yet.

The script uses localStorage to make a longer-term cache of user IDs to name mappings, resulting in fewer hits on the github enterprise server. You can bust the cache by deleting the entry named sap.tools.github.idToName using the Safari developer tools.

Update of Dynamic Data

GitHub loads and renders some data dynamically, e.g. the contributors list on the insights page.

The script re-runs the replacement when the DOM was modified. Nodes that were already modified in a previous run are left intact.