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
  • Star 17 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • 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");
})();
@wannatermux
Copy link

wow bro thx you

@DaWe35
Copy link

DaWe35 commented Apr 19, 2021

cool

@clutter8
Copy link

PERKELE

@sipuli123456
Copy link

var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
});

setInterval(function(){
for (i = 0; i < 25; i++) {
document.dispatchEvent(event);
}
}, 0);

@mhalinen
Copy link

J

@millllloooo
Copy link

it didnt work for me

@cnxdv
Copy link

cnxdv commented Apr 23, 2021

nice

@raikasdev
Copy link

raikasdev commented Apr 23, 2021

var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
});

setInterval(function(){
for (i = 0; i < 25; i++) {
document.dispatchEvent(event);
}
}, 0);

That's not efficient.

@Zeltux66
Copy link

Give me new hack pls

@Nabiru697
Copy link

why pops didnt register to my country pls help.

@xdxdd420
Copy link

So is this cheating?

@chrisucks
Copy link

how do i check if i got banned?

@MokuMoki
Copy link

how do i check if i got banned?

If you got a "bot" entry in cookies it means that you are marked as bot (aka banned). Simply clear cookies and reload the page.
The script also checks if you got marked as bot, so you can tell from the console.

@JapanBall
Copy link

Doesnt register to the US..

@bufce2010
Copy link

bufce2010 commented Nov 16, 2021

I got this message: You've been barked as a bot. Please clear your cookies.
Edit: opened an incognito tab

@bufce2010
Copy link

I get this:
image

@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