Skip to content

Instantly share code, notes, and snippets.

@markjarzynski
Last active August 29, 2015 14:18
Show Gist options
  • Save markjarzynski/8dbe7f4d2fe62cec94e9 to your computer and use it in GitHub Desktop.
Save markjarzynski/8dbe7f4d2fe62cec94e9 to your computer and use it in GitHub Desktop.

Revisions

  1. markjarzynski revised this gist Apr 9, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    // http://www.kuku-kube.com
    // http://106.186.25.143/kuku-kube/en-3/
    function cheat () {

  2. markjarzynski revised this gist Apr 9, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,6 @@ function cheat () {
    requestAnimationFrame( cheat );
    }

    document.querySelector(".btn .play-btn").click();
    document.querySelector(".play-btn").click();

    cheat();
  3. markjarzynski revised this gist Apr 9, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,6 @@ function cheat () {
    requestAnimationFrame( cheat );
    }

    document.querySelector("btn play-btn").click();
    document.querySelector(".btn .play-btn").click();

    cheat();
  4. markjarzynski revised this gist Apr 9, 2015. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -12,5 +12,8 @@ function cheat () {
    };

    requestAnimationFrame( cheat );
    }
    }

    document.querySelector("btn play-btn").click();

    cheat();
  5. markjarzynski revised this gist Apr 9, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ function cheat () {

    x[0].click();

    for( var i = 1; i < i.length; i++ ) {
    for( var i = 1; i < x.length; i++ ) {
    if ( x[i].style.backgroundColor != x[0].style.backgroundColor) {
    x[i].click();
    }
  6. markjarzynski revised this gist Apr 9, 2015. 1 changed file with 9 additions and 4 deletions.
    13 changes: 9 additions & 4 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,14 @@
    // http://106.186.25.143/kuku-kube/en-3/
    function cheat () {
    var i = document.querySelectorAll("#box span"); for( var x = 0; x < i.length; x++ ) {
    if ( i[x].style.backgroundColor != i[0].style.backgroundColor) {
    i[x].style.border = "10px magenta solid"; i[x].style.backgroundColor = "black";
    }

    var x = document.querySelectorAll("#box span");

    x[0].click();

    for( var i = 1; i < i.length; i++ ) {
    if ( x[i].style.backgroundColor != x[0].style.backgroundColor) {
    x[i].click();
    }
    };

    requestAnimationFrame( cheat );
  7. markjarzynski renamed this gist Apr 9, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. markjarzynski created this gist Apr 9, 2015.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    // http://106.186.25.143/kuku-kube/en-3/
    function cheat () {
    var i = document.querySelectorAll("#box span"); for( var x = 0; x < i.length; x++ ) {
    if ( i[x].style.backgroundColor != i[0].style.backgroundColor) {
    i[x].style.border = "10px magenta solid"; i[x].style.backgroundColor = "black";
    }
    };

    requestAnimationFrame( cheat );
    }
    cheat();