WuxiaWorld.com_Saca_Comentrarios

WuxiaWorld.com saca los comentarios

目前為 2017-11-26 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        WuxiaWorld.com_Saca_Comentrarios
// @version     1
// @namespace   zack0zack
// @description WuxiaWorld.com saca los comentarios
// @icon	
// @include     *www.wuxiaworld.com/*
// ==/UserScript==


function remove(w){
  if (w){
	w.parentNode.removeChild( w );
  }
}


remove( document.getElementById('comments') );
remove( document.getElementById('meta-2') );
remove( document.getElementById('categories-3') );
for(i=10; i < 90 ; i++ ) {
   remove( document.getElementById('simple_progress_bar-' + i) );
   remove( document.getElementById('ai_widget-' + i) );
   remove( document.getElementById('text-' + i) );
}


window.addEventListener("load",function() {

// var evt = document.createEvent("MouseEvents");
// evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
// document.getElementsByTagName('button')[0].dispatchEvent(evt);

 remove( document.getElementById('comments') );
 remove( document.getElementById('meta-2') );
 remove( document.getElementById('categories-3') );
 for(i=10; i < 40 ; i++ ) {
   remove( document.getElementById('simple_progress_bar-' + i) );
   remove( document.getElementById('ai_widget-' + i) );
   remove( document.getElementById('text-' + i) );
 }
},true)