Censorship of GitHub

Tampermonkey is a great tool to remove search results!

Simple script can do wonderful job! 👍👍👍

Censorship is not a bad word any more! Holy Sh*t!

Tampermonkey for Chrome
Tampermonkey is a free browser extension and the most popular userscript manager. It’s available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox. Even though some of the supported browsers have native userscript support, Tampermonkey will give you much more convenience in managing your u…
// ==UserScript==
// @name         github
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  remove chinese results
// @author       EasyPi Software Foundation
// @match        https://github.com/search?*
// @match        https://github.com/topics/*
// @match        https://github.com/trending
// @match        https://github.com/explore
// @icon         https://github.githubassets.com/favicons/favicon.png
// @grant        none
// @require      https://code.jquery.com/jquery-3.6.0.min.js
// @run-at       document-idle
// ==/UserScript==

(function() {
  function remove() {
    $('article.Box-row,li.repo-list-item:has(svg.octicon-repo),article:has(svg.octicon-repo)').each((i, e)=>{
      let text = $(e).text();
      let regex = /[\u4e00-\u9fa5]/g;
      if(regex.test(text)) {
        console.log(`remove ${i} ...`);
        $(e).remove();
      }
    });
  }
  $(document).ready(remove);
  $(document).on('pjax:success', remove);
})();