Create a gist now

Instantly share code, notes, and snippets.

function awesome(dom_id) {
var elem = $('#' + dom_id);
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window,1, 0, 0, elem.offset().left, elem.offset().top, false, false, false, false, 0, null);
var cb = document.getElementById(dom_id);
setInterval('awesome("erAqd")', 45000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment