Last active
August 29, 2015 14:08
-
-
Save mayukojpn/bdd0f7c6351f531b4c50 to your computer and use it in GitHub Desktop.
Backlogでチケット番号を抜き出す
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
var p_key = document.getElementsByClassName("p_key"),p_keyList; | |
for(var i=0;p_key.length>i;i++){ | |
p_keyList+=p_key[i].getElementsByTagName("a")[0].innerText+"\b"; | |
p_keyList+=p_key[i].nextSibling.nextSibling.getElementsByClassName("title-inner")[0].innerText+"\n"; | |
} | |
console.log(p_keyList); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment