Skip to content

Instantly share code, notes, and snippets.

@ymrl
Created September 27, 2011 07:08
Show Gist options
  • Save ymrl/1244506 to your computer and use it in GitHub Desktop.
Save ymrl/1244506 to your computer and use it in GitHub Desktop.
SFC-SFSで履修しまくる
(function(){
var get = function(elm){var x = new XMLHttpRequest;x.open("GET",elm.href);x.send(null);}
var m = Array.prototype.slice.call(document.getElementsByTagName('a')).filter(function(elm){return elm.text=="追加";})
for(var i=0;i<m.length;i++){get(m[i]);}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment