// ==UserScript== // @name Github Stats // @namespace stratehm.github // @include https://github.com/*/* // @version 7 // @grant GM_xmlhttpRequest // @grant GM_getValue // @grant GM_setValue // @grant GM_deleteValue // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js // @require https://greasyfork.org/scripts/2199-waitforkeyelements/code/waitForKeyElements.js // @description Display download stats about the last release of Github projects. // @downloadURL https://update.greasyfork.icu/scripts/9201/Github%20Stats.user.js // @updateURL https://update.greasyfork.icu/scripts/9201/Github%20Stats.meta.js // ==/UserScript== var lastReleaseItemList; var cachedResponse; this.$ = this.jQuery = jQuery.noConflict(true); waitForKeyElements('.repohead-details-container', function () { init(); }); function init() { $('#ulLastReleaseItems').remove(); lastReleaseItemList = $('