-
-
Save yuya-takeyama/868086 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Report RT Dake ni Naru | |
// @namespace http://ssig33.com/ | |
// @description Destroy RT Igai from Report | |
// @include http://sinsai.info/ushahidi/admin/reports* | |
// @include http://ushahidi.localhost/admin/reports* | |
// ==/UserScript== | |
for (q = 0; q < 30; q ++) { | |
var ns = document.getElementsByTagName("tr"); | |
for (i = 0; i < ns.length; i++) { | |
var node = ns[i]; | |
if(node.class != "foot") { | |
if (node.innerHTML.match(/詳細をレポート/)) { | |
} else { | |
if (node.innerHTML.match(/RT\ /)) { | |
} else { | |
node.parentNode.removeChild(node); | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment