This file contains hidden or 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 comments = {}; | |
| var comment_url = window.document.getElementById("commentdl_ret").getElementsByTagName("input"); | |
| var xhr = new XMLHttpRequest(); | |
| xhr.onload = function(){ | |
| var elements = new DOMParser().parseFromString(xhr.responseText,"application/xml").firstChild.getElementsByTagName("c"); | |
| for(var i=0;i<elements.length;i++){ | |
| var key = Math.floor(parseInt(elements[i].getAttribute("p").split(",")[0], 36)/10); | |
| comments[key] = elements[i].innerHTML; | |
| }; | |
| for(key1 in comments)console.log(key1,comments[key1]); |
This file contains hidden or 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
| setInterval(function(){ | |
| var x = new XMLHttpRequest(); | |
| x.onload = function(){ | |
| var r = JSON.parse(x.responseText).query.results; | |
| if(r !== null) | |
| window.location.href = r.a.href; | |
| }; | |
| x.open("GET","https://query.yahooapis.com/v1/public/yql?q=select * from html where url=\""+window.document.getElementsByClassName("commu_name")[0].href+"\" and xpath=\"//div[@id=\'now_live\']//h2//a\"&format=json&env=store://datatables.org/alltableswithkeys",true); | |
| x.send(); | |
| },3000); |
This file contains hidden or 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
| javascript:(function(){setInterval(function(){var x=new XMLHttpRequest();x.onload=function(){var r=JSON.parse(x.responseText).query.results;if(r!==null)window.location.href=r.a.href;};x.open("GET","https://query.yahooapis.com/v1/public/yql?q=select * from html where url=\""+window.document.getElementsByClassName("commu_name")[0].href+"\" and xpath=\"//div[@id=\'now_live\']//h2//a\"&format=json&env=store://datatables.org/alltableswithkeys",true);x.send();},3000);})(); |
This file contains hidden or 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
| javascript:(function(){setInterval(function(){var x=new XMLHttpRequest();x.onload=function(){if(x.response.getElementById("now_live")!==null)window.location.href=x.response.getElementById("now_live").getElementsByClassName("community")[0].href;};x.open("GET","http://api.dan.co.jp/get/"+document.getElementsByClassName("commu_name")[0].href,true);x.responseType="document";x.send();},3000);})(); |
This file contains hidden or 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 d=document; | |
| var el=d.getElementsByTagName('link'); | |
| var g=false; | |
| var j=false; | |
| for(i=0;i<el.length;i++){ | |
| if(el[i].getAttribute('rel').indexOf('alternate')!=-1){ | |
| ty=el[i].getAttribute('type'); | |
| if(ty.indexOf('application/rss+xml')!=-1||ty.indexOf('text/xml')!=-1){ | |
| g=true; | |
| h=el[i].getAttribute('href'); |
This file contains hidden or 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
| javascript:(function(){setInterval(function(){var%20x=new%20XMLHttpRequest();x.onload=function(){if(x.response.getElementById("now_live")!==null)window.location.href=x.response.getElementById("now_live").getElementsByClassName("community")[0].href;};x.open("GET","http://api.dan.co.jp/get/"+document.getElementsByClassName("commu_name")[0].href);x.responseType="document";x.send();},3000);})(); |
This file contains hidden or 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
| setInterval(function(){ | |
| var x = new XMLHttpRequest(); | |
| x.onload = function(){ | |
| if(x.response.getElementById("now_live") !== null) | |
| window.location.href = x.response.getElementById("now_live").getElementsByClassName("community")[0].href; | |
| }; | |
| x.open("GET","http://allow-any-origin.appspot.com/"+document.getElementsByClassName("commu_name")[0].href,true); | |
| x.responseType = "document"; | |
| x.send(); | |
| },3000); |
This file contains hidden or 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
| javascript:(function(){setInterval(function(){var x=new XMLHttpRequest();x.onload=function(){if(x.response.getElementById("now_live")!==null)window.location.href=x.response.getElementById("now_live").getElementsByClassName("community")[0].href;};x.open("GET","http://allow-any-origin.appspot.com/"+document.getElementsByClassName("commu_name")[0].href,true);x.responseType="document";x.send();},3000);})(); |
This file contains hidden or 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
| javascript:(function(){setInterval(function(){var x=new XMLHttpRequest();x.onload=function(){var r=JSON.parse(x.responseText).query.results;if(r!==null)window.location.href=r.a.href;};x.open("GET","https://query.yahooapis.com/v1/public/yql?q=select * from html where url=\""+window.document.getElementsByClassName("commu_name")[0].href+"\" and xpath=\"//div[@id=\'now_live\']//h2//a\"&format=json&env=store://datatables.org/alltableswithkeys",true);x.send();},3000);})(); |
This file contains hidden or 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
| javascript:(function(){set=false;get=false;rm=true;var s=document.createElement('script');s.src='https://rawgit.com/user19/81f3f6b80cdc3680f49c/raw/24f516577573be86078a4df2281df36ddd65c1c1/kakaku.com.js';s.charset="UTF-8";document.body.appendChild(s)})(); |