Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).click();
- var mousePosition;
- $(window).on('mousemove', function (e) {
- mousePosition = {
- x: e.clientX,
- y: e.clientY
- }
- });
- function makeClick () {
- var el = document.elementFromPoint(mousePosition.x, mousePosition.y);
- $(el).click();
- }
- $("item").click();
- document.getElementById('item').click();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement