// ==UserScript== // @name GitHub images as icons // @description Show images in Github repositories source tree as 16x16 icons // @namespace wOxxOm.scripts // @include https://github.com/* // @match https://github.com/* // @version 1 // @grant none // @run-at document-start // @downloadURL none // ==/UserScript== function iconify(n) { var aa = (n.className == 'js-directory-link') ? [n] : n.getElementsByClassName('js-directory-link'); for (var a, i=0; i