Created
September 17, 2019 13:31
-
-
Save schnapster/e445429cba4791525478501f408c5947 to your computer and use it in GitHub Desktop.
Gitlab total number of contributions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See: https://gitlab.com/gitlab-org/gitlab-foss/issues/47320#note_155771303 | |
Just drop it into the console when on a profile. | |
javascript:alert(`${Array.from(document.querySelectorAll('rect.user-contrib-cell')).reduce((sum, node) => sum + (parseInt((node.getAttribute('title') || node.getAttribute('data-original-title') || '').split(' ')[0]) || 0), 0)} contributions in the last 12 mo.`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment