NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name GitHub To-Do View // @namespace http://tampermonkey.net/ // @version 1.0 // @description Removes the "Public" tag from GitHub repos, allowing you to see "Private" tags more easily. Meant for people who use private repos as WIP projects and needs to quickly see what needs work/to be released // @author Lumen // @match https://github.com/*?tab=repositories // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js // @grant GM_addStyle // @license MIT // ==/UserScript== (function() { 'use strict'; console.log("Loaded GitHub To-Do View"); //<span class="Label Label--secondary v-align-middle ml-1 mb-1">Public</span> //<span class="Label Label--secondary v-align-middle ml-1 mb-1">Private</span> var tags = document.getElementsByClassName('Label'); //console.log(tags); for (var i = 0; i < tags.length; ++i){ console.log(tags[i]); if (tags[i].innerText == 'Public') { tags[i].hidden = true; } } })();