Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
あー一面のクソミドリ(ヤホーシブトク専用)
if(document.location.href.indexOf("https://toku.yahoo.co.jp/history")===0){
var res=document.getElementsByClassName("result");
for(i=0;i < res.length;i++){
var rsr=res[i].innerHTML;
rsr=rsr.replace("はずれ","クソミドリ");
document.getElementsByClassName("result")[i].innerHTML=rsr;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment