Skip to content

Instantly share code, notes, and snippets.

@fuomag9
Created February 3, 2019 15:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fuomag9/8fef0b384e23d41b5df32935cf81307b to your computer and use it in GitHub Desktop.
Save fuomag9/8fef0b384e23d41b5df32935cf81307b to your computer and use it in GitHub Desktop.
DNSDUMPSTER -> console
// ==UserScript==
// @name DNSDUMPSTER -> console
// @namespace http://tampermonkey.net/
// @version 0.1
// @description DNSDUMPSTER -> console
// @author fuomag9
// @match https://dnsdumpster.com/
// @grant none
// ==/UserScript==
(function() {
'use strict';
function getElementByXpath(path) {
return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}
var banana=[]
for (var i=0; i < getElementByXpath("/html/body/div[1]/div/section/div[1]/div[2]/div[9]/table/tbody").children.length ;i++){banana[i]=(getElementByXpath("/html/body/div[1]/div/section/div[1]/div[2]/div[9]/table/tbody").children[i].firstChild.childNodes[0].data);}
console.log(banana.toString());
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment