Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) install https://chrome.google.com/webstore/detail/panda-styler-emoji/bogdgcfoocbajfkjjolkmcdcnnellpkb
- 2) Go to the website, open the extension (click the extension icon), and put the following code into the Javascript section. Then refresh the page.
- /*for input length:
- for (var i in document.getElementsByTagName('input')){
- document.getElementsByTagName('input')[i].maxLength = 10000;
- }
- */
- //exploit made by Michael Burke
- var inter;
- var i = 1;
- var start = document.createElement('button');
- start.style = "display:block;z-index:999;position:fixed;right:60px;top:40%;font-size:30px;width:300px;height:120px;text-align:center;word-wrap:break-word;line-height:12px;";
- start.innerHTML = "START HACK<b style='font-size:12px;'><br>Click the Play Now button,<br>Answer the first question to start the timer,<br>and then click me</b>";
- start.addEventListener('click', function(){
- hack();
- });
- document.body.appendChild(start);
- function hack() {
- inter = setInterval(function(){
- if (i <= 20){
- $("#square" + i).hide();
- rightcount++;
- myAudio.play();
- if(rightcount < qcount){
- $("#gamestatus").html(rightcount + " / " + qcount);
- };
- if(rightcount == 1){
- sec = 0;
- //$('#instructions').fadeOut("fast").delay(2000);
- $("#secondtop").hide();
- $('#gameinfobox').fadeIn("slow");
- $("#topsection").hide().delay(500);
- $('html, body').css({
- 'overflow': 'hidden',
- 'height': '100%'
- })
- }
- if(rightcount == 2){
- $('#gametop').animatescroll();
- }
- if(rightcount >= qcount){
- $('#gameinfobox').fadeOut("fast");
- $('#gametime').val(sec);
- $('#answerbox').fadeIn("slow").delay( 3000 );
- seconds = pad(++sec%60);
- minutes = pad(parseInt(sec/60,10));
- $('#gamedone').html("You correctly matched " + rightcount + " items in " + minutes + " minutes, " + seconds + " seconds!");
- //Restore scrolling
- $("#secondtop").show();
- $("#gameinfobox").hide();
- $("#targetbox").hide();
- $('html, body').css({
- 'overflow': 'auto',
- 'height': 'auto'
- })
- $("#squarebox").fadeOut("fast");
- //Highscore?
- if(sec <= bestevertime || sec <= besttodaytime){
- //alert('That is a high score!');
- $('#submitbox').fadeIn("slow").delay( 3000 );
- }
- else{
- $('#gamedone2').html("You correctly matched " + rightcount + " items in " + minutes + " minutes, " + seconds + " seconds!");
- }
- }
- $( this )
- .slideFadeToggle();
- i++;
- } else {
- clearInterval(inter);
- }
- }, 100);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement