- Highlight all of the 'Auto-clicker-bookmarklet' file and paste it into your bookmark bar
- Click on the newly created bookmark then click on the screen where the auto clicker should click
-
-
Save Toddpe/52cdc63e53cd4e61db32b091705f3ad1 to your computer and use it in GitHub Desktop.
javascript:var DELAY = 1;var autoClickerStyleElement = document.createElement("style");autoClickerStyleElement.innerHTML="*{cursor: crosshair !important;}";document.body.appendChild(autoClickerStyleElement);function addClicker(e) {if(!e.isTrusted) {return;}if(e.target.classList.contains("auto-clicker-target")) {e.target.classList.remove("auto-clicker-target");} else {e.target.classList.add("auto-clicker-target");}document.body.removeChild(autoClickerStyleElement);document.body.removeEventListener("click", addClicker);e.preventDefault();autoClick(e.target);}function autoClick(element) {if(element.classList.contains("auto-clicker-target")) {element.click();setTimeout(function(){ autoClick(element); }, DELAY);}}document.body.addEventListener("click", addClicker, 0); |
How do I make it click faster?
Its a really simple system, but I can tell you It clicks faster than 100 miliseconds.
why does it not work for clicker heroes
can you make it work for clicker heroes on crazy games plssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
also why tf is it so slow like make it faster
javascript:var DELAY = 1;var autoClickerStyleElement = document.createElement("style");autoClickerStyleElement.innerHTML="*{cursor: crosshair !important;}";document.body.appendChild(autoClickerStyleElement);function addClicker(e) {if(!e.isTrusted) {return;}if(e.target.classList.contains("auto-clicker-target")) {e.target.classList.remove("auto-clicker-target");} else {e.target.classList.add("auto-clicker-target");}document.body.removeChild(autoClickerStyleElement);document.body.removeEventListener("click", addClicker);e.preventDefault();autoClick(e.target);}function autoClick(element) {if(element.classList.contains("auto-clicker-target")) {element.click();setTimeout(function(){ autoClick(element); }, DELAY);}}document.body.addEventListener("click", addClicker, 0);
//To add to your bookmarks highlight the code then paste it into your bookmarks bar. dosent work
javascript:clicker:%7B"use strict"%3Bconst%7BNumber%7D%3Dself%3Bconst milliseconds%3DNumber.parseInt(self.prompt("How many seconds do you want to wait before clicking again%3F",%271%27),10)%3Bif(false%3D%3D%3DNumber.isSafeInteger(milliseconds))%7Bself.alert("Input was not an integer")%3Bbreak clicker%3B%7Dlet clientX%3D0,clientY%3D0%3Bconst%7Bdocument%7D%3Dself%3Bself.setInterval(()%3D>%7Bdocument.elementFromPoint(clientX,clientY)%3F.click%3F.()%3B%7D,milliseconds)%3Bdocument.addEventListener("mousemove",event%3D>%7B(%7BclientX,clientY%7D%3Devent)%3B%7D,%7Bpassive:true%7D)%3B%7D
javascript:var DELAY %3D 1%3Bvar autoClickerStyleElement %3D document.createElement("style")%3BautoClickerStyleElement.innerHTML%3D"*%7Bcursor: crosshair !important%3B%7D"%3Bdocument.body.appendChild(autoClickerStyleElement)%3Bfunction addClicker(e) %7Bif(!e.isTrusted) %7Breturn%3B%7Dif(e.target.classList.contains("auto-clicker-target")) %7Be.target.classList.remove("auto-clicker-target")%3B%7D else %7Be.target.classList.add("auto-clicker-target")%3B%7Ddocument.body.removeChild(autoClickerStyleElement)%3Bdocument.body.removeEventListener("click", addClicker)%3Be.preventDefault()%3BautoClick(e.target)%3B%7Dfunction autoClick(element) %7Bif(element.classList.contains("auto-clicker-target")) %7Belement.click()%3BsetTimeout(function()%7B autoClick(element)%3B %7D, DELAY)%3B%7D%7Ddocument.body.addEventListener("click", addClicker, 0)%3B
Both work
a bit faster
ah, kids
it doesnt work
hey lethal game it works great but i cant stop it it iis opeing tabs like crazy rn
doesn't work
i click the file but nothing happens
like what
its supposed to show a crosshair right?
mine doesn't have one
javascript:var DELAY = 1;var autoClickerStyleElement = document.createElement("style");autoClickerStyleElement.innerHTML="*{cursor: crosshair !important;}";document.body.appendChild(autoClickerStyleElement);function addClicker(e) {if(!e.isTrusted) {return;}if(e.target.classList.contains("auto-clicker-target")) {e.target.classList.remove("auto-clicker-target");} else {e.target.classList.add("auto-clicker-target");}document.body.removeChild(autoClickerStyleElement);document.body.removeEventListener("click", addClicker);e.preventDefault();autoClick(e.target);}function autoClick(element) {if(element.classList.contains("auto-clicker-target")) {element.click();setTimeout(function(){ autoClick(element); }, DELAY);}}document.body.addEventListener("click", addClicker, 0);
i like it but, it clickes slow as hell like tf so slow
this one is ok, but is kind of slow. javascript:(function()%7Balert('Made by ThatGuy728')%3B%7D)()%3Bvar DELAY = 1;var autoClickerStyleElement = document.createElement("style");autoClickerStyleElement.innerHTML="*{cursor: crosshair !important;}";document.body.appendChild(autoClickerStyleElement);function addClicker(e) {if(!e.isTrusted) {return;}if(e.target.classList.contains("auto-clicker-target")) {e.target.classList.remove("auto-clicker-target");} else {e.target.classList.add("auto-clicker-target");}document.body.removeChild(autoClickerStyleElement);document.body.removeEventListener("click", addClicker);e.preventDefault();autoClick(e.target);}function autoClick(element) {if(element.classList.contains("auto-clicker-target")) {element.click();setTimeout(function(){ autoClick(element); }, DELAY);}}document.body.addEventListener("click", addClicker);
yeah yeah im still new at this
javascript: (function() {var info = { name : 'Hold Click',tag_id : '__bk_HoldClick' /* The special class added to new tags (for easier cleanup of the DOM on close) /,description : 'Bookmarklet to continuously auto-click on an element when the left mouse button is held down.'};var resources = [{ name : "jQuery",version : "3.2.1",source : "//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js",type : "script",isLoaded : function (resource) {return window.jQuery !== undefined && window.jQuery.fn.jquery >= resource.version;}},{ name : "jQuery UI",version : "1.12.1",source : "//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js",type : "script",isLoaded : function (resource) {return window.jQuery.ui !== undefined && window.jQuery.ui.version >= resource.version;}},{ name : "jQuery UI CSS",version : "1.12.1",source : "//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/flick/jquery-ui.css",type : "css",isLoaded : function (resource) {return true;}},{ name : "jQuery Inject CSS",version : "0.1",source : "//cdn.rawgit.com/kajic/jquery-injectCSS/0323ad70/jquery.injectCSS.js",type : "script",isLoaded : function (resource) {return window.jQuery.injectCSS !== undefined}}];var css = {/ CSS for jQuery UI / '.ui-widget' : { 'font-family' : 'Verdana,Arial,sans-serif','font-size' : '1em'},'.ui-widget-content' : { 'background' : '#ffffff','color' : '#111111'},'.ui-widget.ui-dialog' : { 'position' : 'fixed','box-shadow' : '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)','padding' : '0 !important','border' : 'none'},'.ui-dialog .ui-dialog-content' : { 'position' : 'relative','overflow' : 'hidden','border' : 'none','text-align' : 'center','padding' : '2px !important'},'.ui-dialog .ui-dialog-content p' : { 'margin' : '0px','padding' : '3px 0px 10px'},'.ui-dialog .ui-dialog-titlebar' : { 'position' : 'relative','padding' : '3px','background' : '#665577','color' : '#ffffff','border' : 'none'},'.ui-dialog .ui-dialog-titlebar.ui-corner-all' : { 'border-bottom-left-radius' : '0px','border-bottom-right-radius' : '0px'},'.ui-dialog-titlebar-close' : { 'background' : '#665577','color' : '#ffffff'},'.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus, .ui-dialog-titlebar-close:active' : { 'background' : '#ffffff','color' : '#665577','outline' : 'none !important','border' : 'none'},'.ui-dialog-titlebar-close .ui-button-icon' : { 'filter' : 'brightness(0%) invert(100%)'},'.ui-dialog-titlebar-close:hover .ui-button-icon, .ui-dialog-titlebar-close:focus .ui-button-icon, .ui-dialog-titlebar-close:active .ui-button-icon' : { 'filter' : 'brightness(40%) sepia(100%) hue-rotate(227deg) brightness(75.5%) saturate(130.75%) brightness(97.56%)','outline' : 'none !important'},'.ui-dialog .ui-dialog-titlebar .ui-dialog-title' : { 'font-size' : '1.25em','font-weight' : 'bold','text-align' : 'center','width' : '100%'},'.ui-dialog .ui-dialog-content .ui-slider' : { 'margin' : '5px 0px 20px 0px','position' : 'relative'},'.ui-dialog .ui-dialog-content .ui-slider .ui-slider-handle' : {'background' : '#665577'},'.ui-dialog .ui-dialog-content .ui-slider .ui-slider-handle.ui-state-hover, .ui-slider-handle.ui-state-focus, .ui-slider-handle.ui-state-active' : { 'outline' : 'none','border' : '1px solid #665577'}};function loadNextResource() {var res = resources.shift(); if (res) {console.log("Loading Resource [" + res.name + " v" + res.version + "]");var loaded = res.isLoaded(res)&& (res.type != 'script' || document.querySelector('script[src="' + res.source + '"]') !== null)&& (res.type != 'css' || document.querySelector('link[href="' + res.source + '"]') !== null);if (!loaded) {var tag;if (res.type == "script") {tag = document.createElement("script");tag.src = res.source;} else if (res.type == "css") {tag = document.createElement("link");tag.rel = "stylesheet";tag.href = res.source;} else {console.log(" Unsupported resource type [" + res.type + "]");loadNextResource();return;}tag.classList.add(info.class_id);document.head.appendChild(tag);tag.onload = tag.onreadystatechange = function () {if (!loaded && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")) {console.log(" Resource finished loading");loadNextResource();}};} else {console.log(" Resource already loaded");loadNextResource();}} else {console.log("Finished loading resources");$.injectCSS(css);initBookmarket();}}loadNextResource();/ BOOKMARKLET IMPLEMENTATION /var MS_PER_SEC = 1000.0;var INIT_DELAY = 100;var MIN_CPS = 1;var MAX_CPS = 200;var DEFAULT_CPS = 50;var __timeout = null;function initBookmarket() {__ui = createUI();$(document).on('mousedown.' + info.tag_id, function(event) {if (__ui.parent().has(event.target).length == 0 && isAutoClickable(event.target)) {/ Not part of this bookmarklet's UI /var cps = __ui.getValue();var delay = Math.round(MS_PER_SEC / cps);__timeout = setTimeout(autoClick, INIT_DELAY, event.target, delay);} else {/ Not autoclickable, so just send one click /clickTag(event.target);}});$(document).on('mouseup.' + info.tag_id, function(event) {stopAutoClick();});}function teardownBookmarklet() {$(document).off('mousedown.' + info.tag_id);$(document).off('mouseup.' + info.tag_id);stopAutoClick();}function isAutoClickable(tag) {return tag&& (tag.click || (tag.nodeName == "BUTTON" && !tag.disabled))&& window.getComputedStyle(tag) !== "none";}function autoClick(tag, delay) {if (isAutoClickable(tag) && __timeout) {clickTag(tag);__timeout = setTimeout(autoClick, delay, tag, delay);} else {stopAutoClick();}}function stopAutoClick() {if (__timeout) {clearTimeout(__timeout);__timeout = null;}}function clickTag(tag) {tag.dispatchEvent(new MouseEvent('click', { 'view' : window,'bubbles' : true,'cancelable' : true}));}function createUI() {var ui_tag =
$('#ui' + info.tag_id);if (!ui_tag.length) {ui_tag = $ ('
Unable to render expression.
', {'id' : 'ui' + info.tag_id}).appendTo('body');}var ui = ui_tag.dialog({ 'title' : 'Hold Click','draggable' : true,'modal' : false,'autoresize' : true,'minHeight' : 0,'close' : teardownBookmarklet});var label_tag = ui_tag.find('#label' + info.tag_id);if (!label_tag.length) {label_tag = $('
', {'id' : 'label' + info.tag_id}).text('Clicks per Second').appendTo(ui_tag);}var slider_tag = ui_tag.find('#slide' + info.tag_id);if (!slider_tag.length) {slider_tag = $('
', { 'css' : {'width' : '90%'},'id' : 'slide' + info.tag_id}).insertAfter(label_tag);}var value_tag = slider_tag.find('#value' + info.tag_id);if (!value_tag.length) {value_tag = $('
', { 'css' : {'display' : 'inline-block'},'id' : 'value' + info.tag_id}).appendTo(slider_tag);}var slider = configureSlider(slider_tag, value_tag, MIN_CPS, MAX_CPS, DEFAULT_CPS, 1).position({ 'my' : 'center top','at' : 'center bottom','of' : label_tag,'within' : ui_tag});ui.getValue = function() {return slider.slider('value');};return ui;}function configureSlider(slider_tag, value_tag, min, max, value, step) {var slide;if (slider_tag.slider('instance')) {slide = slider_tag.slider('widget');} else {slide = slider_tag.slider({ 'min' : min,'max' : max,'value' : value,'step' : step});}slide.slider('option', 'slide', function(event, ui) {/ Wait for the UI to finish setting the position /setTimeout(function() {value_tag.html(ui.value).position({ 'my' : 'center top','at' : 'center bottom','of' : ui.handle});}, 5);});/ Call the slide method in order to display the value of the default position */slide.slider('option', 'slide').call(slide, null, { 'handle' : $('.ui-slider-handle', slide),'value' : slide.slider('value')});return slide;}})();