Thibstars icon

gremlins_functions.js

Thibstars | PRO | 03/25/16 02:30:49 PM UTC | 0 ⭐ | 632 👁️ | Never ⏰ | []
JavaScript |

970 B

|

None

|

0 👍

/

0 👎

function hideAction() {
    gremlins.species.clicker().clickTypes(['click', 'dblclick', 'mouseover', 'mousedown', 'mouseup','mousemove', 'mouseout'])
    .showAction(function(x, y) {
    // by default, the clicker gremlin shows its action by a red circle
    // overriding showAction() with an empty function makes the gremlin action invisible
  })
  gremlins.species.scroller().showAction(function(x, y) {
    // by default, the clicker gremlin shows its action by a red circle
    // overriding showAction() with an empty function makes the gremlin action invisible
  })
}
 
function hideAction(species) {
  species.showAction(function(x, y) {
    // by default, the clicker gremlin shows its action by a red circle
    // overriding showAction() with an empty function makes the gremlin action invisible
  })
}
 
//Checks if the current document contains at least one input field.
function hasInputField() {
  return document.getElementsByTagName("input")[0] != null;
}

Comments