// ==UserScript== // @name 开源中国去用户标签 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 去除开源中国乱弹中用户的特殊标签 // @author MYL // @match https://**.oschina.net/** // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; // Your code here... removeUserLabel(); document.getElementById("tweetList").addEventListener('DOMNodeInserted', function(e) { removeUserLabel(); }); })(); /*去除标签的方法*/ function removeUserLabel(){ console.log("开始执行去标签脚本"); var list=document.getElementsByClassName("__user"); for(var i=0; i