Hide Github Recommended for you

Hide Github Recommened Followers

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Hide Github Recommended for you
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Hide Github Recommened Followers
// @author       Harisankar P S
// @match        https://github.com
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw
// @license      MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    console.log('testing');
    setInterval(function () {
        [... document.querySelectorAll('h5')].filter(el => el.textContent.includes('Recommended based on people you follow')).forEach(function(i) { i.parentElement.parentElement.remove() });
    }, 1000);

})();