Skip to content

Instantly share code, notes, and snippets.

@r8w9a5k
r8w9a5k / dribbbleBOT.js
Last active February 23, 2018 08:23
dribbbleBOT.js is a console script that automatically likes dribbble shots.
javascript:
function run(){ //function run wraps all the code into one run() function
var like = document.querySelector(".stats-label"); //select like button
var next = document.querySelector(".shot-nav-next"); //select next page
function simulateClick (elem) { //core of simulate click function
var evt = new MouseEvent('click', {
bubbles: true,
cancelable: true,