Skip to content

Instantly share code, notes, and snippets.

@wberdowski
Forked from DaWe35/Popcat click bot.js
Last active December 8, 2023 04:38
Show Gist options
  • Save wberdowski/9ccd275394a7ccf21ba602a3c736f5d9 to your computer and use it in GitHub Desktop.
Save wberdowski/9ccd275394a7ccf21ba602a3c736f5d9 to your computer and use it in GitHub Desktop.
Ban-proof popcat bot
/*
1) Open https://popcat.click
2) Open console (F12 or CTRL+SHIFT+I)
3) Insert code & run
4) Monitor bot progress in the console
Note: popcat.click server registers only 800 pops every 30 seconds per IP address (that's why this bot is slow and runnig it in multiple tabs won't work).
If you'll send 800 or more clicks 10 times in a row, you'll get banned for 12 hours ("ban" cookie is set).
This bot addresses this issue and will NOT get you banned.
POLSKA GUROM!
*/
(()=>{
console.clear()
var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
});
// Start sendStats interval
document.dispatchEvent(event);
// Total pops
var total = 0;
var iv = setInterval(()=>{
// Get VUE
var vue = document.getElementById('app').__vue__;
// Check if user is marked as bot (just for safety measures, very unlikely to happen)
if(vue.bot){
console.log("%c You've been barked as a bot. Please clear your cookies.", "background: #a00; color: #fff");
clearInterval(iv);
return;
}
// Prevent ban
vue.sequential_max_pops = 0;
// Detect sendStats function run
if(vue.accumulator == 0){
total += 800;
console.log(`[${new Date().toLocaleTimeString()}] %c800 pops sent (Total: ${total})`, "color: #0f0");
// Open and close cat's mount
vue.open = true;
setTimeout(()=>{
vue.open = false;
}, 1000);
}
// Set 800 pops
vue.accumulator = 800;
}, 1000);
console.log("%c Bot started. Waiting for the first request being sent. ", "background: #050; color: #0f0");
})();
@joseph584
Copy link

has any one got banned

@chestnutyt
Copy link

hi i am in a school group in the spain team (some of you maybe notice that spain earned some many points) so i searched the code with them first i only used it and earned 1 milion points but i refreshed the page and when i put it again it didn't work to me or my teammates and we have to get 100 milion and switzerland pls help :(

@HunterOcelot27
Copy link

does not seem to work properly, pops do not register on local but it does register a single pop every 30 seconds.

@mrericwong
Copy link

To all the people who are looking for an easy-to-use clicker for popcat.click, feel free to give my extension a try: https://chromewebstore.google.com/detail/popcat-hack-by-hk-champio/eccbdllelaajpodcngjbmejmdmfebjkg?hl=en. It comes with a UI that allows you to toggle the clicker, adjust the speed, and more. Please leave a review on the extension page if you find it useful! Thanks!

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