Add the "Explore" button to GitHub

Adds the now missing "Explore" button to github left item bar

  1. // ==UserScript==
  2. // @name Add the "Explore" button to GitHub
  3. // @author Leandro Poblet (tw: DoctorMalboro)
  4. // @description Adds the now missing "Explore" button to github left item bar
  5. // @namespace add-explore-to-github
  6. // @include http*://github.com/*
  7. // @version 0.1
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. var items = document.getElementsByClassName('header-nav left');
  12. var item = items.item(0);
  13.  
  14. item.innerHTML += '<li class="header-nav-item"><a class="js-selected-navigation-item header-nav-link" href="/explore">Explore</a></li>';