Created
October 18, 2020 21:23
-
-
Save divinity76/0131acef2a810d4fb7acebb4c2e06fc2 to your computer and use it in GitHub Desktop.
runewords filter
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
// for https://diablo2.diablowiki.net/Runewords | |
$("table:eq(2)>tbody>tr").each(function(u, ele) { | |
let shouldremove = false; | |
const t=ele.textContent.toLowerCase(); | |
if (t.indexOf("skill") === -1) { | |
shouldremove=1; | |
} | |
if(shouldremove){ | |
ele.parentNode.removeChild(ele); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment