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");
})();
@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