Add +50 claps to Medium.com Articles in 1-click w/ our Google Chrome Extension | SERP Clapper
Did you know you can clap for someone’s content up to 50 times on Medium?
Well, you can.
And to protect you from carpal tunnel syndrome, I packaged that behavior into a little extension for Chrome.
It works like this:
Wanna give it a little test-drive without committing?
Update! It’s officially live in the Google Chrome extension store!
Please give it a whirl and drop a review.
Cheers!
- Get your clap on 👉 https://serp.ly/@serp/medium-clapper
- Leave a review 👉 https://serp.ly/@serp/medium-clapper-review
Open up your developer tools (right-click & choose inspect)
Then, navigate to the “console”:
And if you have a bunch of caca (that’s Spanish for 💩) in your Console you can click the little 🚫 icon to clear it:
Then:
- copy the JavaScript code below
- paste it into the Console area
- press the Return key
and spread the clap!
(Scroll up to the top of this article before you press enter if you want to see it in action)
let clapButton = document.querySelector('button[data-testid="headerClapButton"]');
if (clapButton) {
const events = ['mousedown', 'mouseup', 'click'];
async function performClap() {
for (let i = 0; i < 50; i++) {
events.forEach(eventType => {
let event = new MouseEvent(eventType, {
'view': window,
'bubbles': true,
'cancelable': true
});
clapButton.dispatchEvent(event);
});
await new Promise(resolve => setTimeout(resolve, 10)); // Introducing a 10ms delay between claps
}
console.log("+50 Claps! Now, go join the SERP community!");
}
performClap();
} else {
console.log("Clap button not found!");
}
Want the extension?
I submitted the extension to the Chrome app store and it’s pending approval as of this writing…
But if you’re too excited to sit around when you could be clappin’ it up — you’re welcome to grab the bootleg here:
👉 https://serp.ly/@serp/serp-clapper-medium
Before you leave… Check out the SUPER Clap!
That’s all for now!
Cheers,
Stay funky 🦩,
& spread the Clap 👏