Skip to content

Instantly share code, notes, and snippets.

@dshster
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dshster/d77a3b660590bd4ab4e1 to your computer and use it in GitHub Desktop.
Save dshster/d77a3b660590bd4ab4e1 to your computer and use it in GitHub Desktop.
callbackhunter popup fire
down = document.createEvent("MouseEvents");
down.initMouseEvent("mousedown", true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);
document.getElementById('clbh_phone_div').dispatchEvent(down)
up = document.createEvent("MouseEvents");
up.initMouseEvent("mouseup", true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);
document.getElementById('clbh_phone_div').dispatchEvent(up)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment