Created
March 31, 2014 11:02
-
-
Save ComFreek/9889920 to your computer and use it in GitHub Desktop.
Retrieve all StackExchange domains!
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
/* | |
* Must be run on http://stackexchange.com/sites?view=list#traffic | |
* Your popup blocker must be deactivated. | |
*/ | |
var links = []; $(".lv-info a").each(function () { | |
links.push(this.href); | |
}); | |
var str = links.join("\n"); | |
window.open("data:text/plain;base64," + btoa(str), "Links"); |
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
/* | |
* Must be run on http://stackexchange.com/sites?view=list#traffic | |
* Your popup blocker must be deactivated. | |
*/ | |
var links = []; | |
$(".lv-info a").each(function () { | |
if(this.host.indexOf("stackexchange.com") === -1) { | |
links.push(this.href); | |
} | |
}); | |
var str = links.join("\n"); | |
window.open("data:text/plain;base64," + btoa(str), "Links"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment