Skip to content

Instantly share code, notes, and snippets.

@seanjensengrey
Last active March 23, 2017 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanjensengrey/cbc07c48bcc950280f5be6dae84b8a8f to your computer and use it in GitHub Desktop.
Save seanjensengrey/cbc07c48bcc950280f5be6dae84b8a8f to your computer and use it in GitHub Desktop.
/** Apache Licensed **/
function t2() {
aref = document.getElementsByTagName("a");
var result = [];
for(i = 0; i < aref.length; i++) {
var t = aref[i];
if (t.href.includes("forum")) {
result.push(t.href);
}
}
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment