Skip to content

Instantly share code, notes, and snippets.

@Toddpe
Last active February 3, 2025 14:23
Show Gist options
  • Save Toddpe/52cdc63e53cd4e61db32b091705f3ad1 to your computer and use it in GitHub Desktop.
Save Toddpe/52cdc63e53cd4e61db32b091705f3ad1 to your computer and use it in GitHub Desktop.
To use this bookmarklet click on it then click where you want the auto clicker to click

How to use

  • 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
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);
@SayanisCool
Copy link

i click the file but nothing happens

@LMSavages
Copy link

LMSavages commented Feb 26, 2024 via email

@SayanisCool
Copy link

SayanisCool commented Feb 26, 2024 via email

@SayanisCool
Copy link

like what

@SayanisCool
Copy link

its supposed to show a crosshair right?

@SayanisCool
Copy link

mine doesn't have one

@LMSavages
Copy link

LMSavages commented Feb 26, 2024 via email

@SayanisCool
Copy link

SayanisCool commented Feb 26, 2024 via email

@liamisagod11111
Copy link

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

@SayanisCool
Copy link

SayanisCool commented Mar 11, 2024 via email

@SayanisCool
Copy link

SayanisCool commented Mar 11, 2024 via email

@ThatGuy728
Copy link

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);

@SayanisCool
Copy link

SayanisCool commented Mar 14, 2024 via email

@ThatGuy728
Copy link

yeah yeah im still new at this

@SayanisCool
Copy link

SayanisCool commented Mar 15, 2024 via email

@dragontm7
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment