Yaplakal del Admin-block

Removes block user "Administration"

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name        Yaplakal del Admin-block
// @description Removes block user "Administration"
// @namespace   lainscripts_scissors
// @include     http://www.yaplakal.com/*
// @include     http://yap.ru/*
// @version     2.2
// @grant       none
// ==/UserScript==

var a = document.querySelectorAll('form > table[id^="p_row_"]');
var b = document.querySelectorAll('tr > .holder.newsbottom');
var words = /member1438|Administration/;
for (var i=0;i<a.length;i++) if (words.test(a[i].innerHTML))
a[i].parentNode.removeChild(a[i]);
for (var i=0;i<b.length;i++) if (words.test(b[i].innerHTML)){
var row = b[i].parentNode.rowIndex;
var table = b[i].parentNode.parentNode;
table.deleteRow(row);
table.deleteRow(row-1);
table.deleteRow(row-2);
}