Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.addEventListener('DOMContentLoaded', function(){
- remove(x("/html/body/table[2]/tbody/tr/td/table/tbody/tr/td/table/tbody/tr/td/table/tbody/tr[2]/td/table")[0]);
- }, false);
- function x(xpath, root) {
- var doc = root ? root.evaluate ? root : root.ownerDocument : document, next;
- var got = doc.evaluate(xpath, root||doc, null, null, null), result = [];
- while(next = got.iterateNext())
- result.push(next);
- return result;
- }
- function remove(element) {
- if (element)
- element.parentNode.removeChild(element);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement