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 statusURL = 'http://uni.priget.com/s/app/profile/status.php?guid=ON'; | |
| var battleURL = 'http://uni.priget.com/s/app/quest/enemy_battle_exec.php?guid=ON'; | |
| var trainingURL = 'http://uni.priget.com/s/app/training/training_solo_exec.php?GUID=ON'; | |
| var siegeData = 'team_id=4'; | |
| function xhrStart(method,url,data,requestHeader,callback){ | |
| var xhr = new XMLHttpRequest(); | |
| xhr.onload = function(){ | |
| callback(xhr.response); | |
| } |
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 rankingURL = 'http://uni.priget.com/s/app/siege/personal_ranking.php?team_id=0'; | |
| var sum = 0; | |
| var sumsum = 0; | |
| var c = 0; | |
| var ranking = function(document){ | |
| c++; | |
| if (c == 1){ | |
| var team = document.getElementsByClassName('padding5_tb')[0].innerHTML; | |
| console.log(team.slice(0,team.indexOf("内ランキング"))); | |
| } |
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(){if(location.hostname === "github.com")var url = location.href.replace("/blob","");else if(location.hostname === "gist.github.com")var url = document.getElementsByClassName('minibutton raw-url js-view-raw')[0].href;else if(location.hostname === "gist.githubusercontent.com" || "raw.githubusercontent.com")var url = location.href;prompt("URL for development",url.replace(location.hostname,"rawgit.com"));})(); |
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
| if(location.hostname === "github.com") | |
| var url = location.href.replace("/blob",""); | |
| else if(location.hostname === "gist.github.com") | |
| var url = document.getElementsByClassName('minibutton raw-url js-view-raw')[0].href; | |
| else if(location.hostname === "gist.githubusercontent.com" || "raw.githubusercontent.com") | |
| var url = location.href; | |
| prompt("URL for development",url.replace(location.hostname,"rawgit.com")); |
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 subscriberElement = document.getElementById('c4-primary-header-contents').getElementsByClassName('yt-subscription-button-subscriber-count-branded-horizontal yt-uix-tooltip')[0]; | |
| var i = another = Number(subscriberElement.innerHTML.replace(",","")); | |
| var count = setInterval(function(){ | |
| counter(i); | |
| i += 9; | |
| if(i >= another+10000){ | |
| clearInterval(count); | |
| } | |
| },10); | |
| function counter(num){ |
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 viewElement = document.getElementById('watch7-views-info').getElementsByClassName('watch-view-count')[0]; | |
| var i = another = Number(viewElement.innerHTML.replace(",","")); | |
| var count = setInterval(function(){ | |
| counter(i); | |
| i += 9; | |
| if(i >= another+10000){ | |
| clearInterval(count); | |
| } | |
| },10); | |
| function counter(num){ |
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 buttonElements = document.getElementById('watch-like-dislike-buttons').getElementsByClassName('yt-uix-button-content'); | |
| var viewElement = document.getElementById('watch7-views-info'); | |
| var i = another = Number(buttonElements[0].innerHTML.replace(",","")); | |
| var j = Number(buttonElements[1].innerHTML.replace(",","")); | |
| var count = setInterval(function(){ | |
| counter(i); | |
| i++; | |
| if(i >= another+1000){ | |
| clearInterval(count); | |
| } |
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(){var buttonElements=document.getElementById('watch-like-dislike-buttons').getElementsByClassName('yt-uix-button-content');var viewElement=document.getElementById('watch7-views-info');var i=another=Number(buttonElements[0].innerHTML.replace(",",""));var j=Number(buttonElements[1].innerHTML.replace(",",""));var count=setInterval(function(){counter(i);i++;if(i>=another+1000){clearInterval(count);}},10);function counter(num){buttonElements[0].innerHTML=String(num).replace(/(\d)(?=(\d\d\d)+(?!\d))/g,'$1,');viewElement.getElementsByClassName('video-extras-sparkbar-likes')[0].style.width=100*num/(num+j)+'%';viewElement.getElementsByClassName('video-extras-sparkbar-dislikes')[0].style.width=100*j/(num+j)+'%';}})(); |
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(){var viewElement=document.getElementById('watch7-views-info').getElementsByClassName('watch-view-count')[0];var i=another=Number(viewElement.innerHTML.replace(",",""));var count=setInterval(function(){counter(i);i+=9;if(i>=another+10000){clearInterval(count);}},10);function counter(num){viewElement.innerHTML=String(num).replace(/(\d)(?=(\d\d\d)+(?!\d))/g,'$1,');}})(); |
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(){var subscriberElement=document.getElementById('c4-primary-header-contents').getElementsByClassName('yt-subscription-button-subscriber-count-branded-horizontal yt-uix-tooltip')[0];var i=another=Number(subscriberElement.innerHTML.replace(",",""));var count=setInterval(function(){counter(i);i+=9;if(i>=another+10000){clearInterval(count);}},10);function counter(num){subscriberElement.innerHTML=String(num).replace(/(\d)(?=(\d\d\d)+(?!\d))/g,'$1,');}})(); |
OlderNewer