Skip to content

Instantly share code, notes, and snippets.

View GrayStrider's full-sized avatar
🐌
blep

GrayStrider

🐌
blep
View GitHub Profile
const $$ = (id) => document.getElementById(id)
const $ = (className) => document.getElementsByClassName(className)
setInterval(() => {
container = $$('like-button-renderer')
skipBtn = $('next-button')[0]
if (container.getAttribute('like-status') === 'DISLIKE')
skipBtn.click()
}, 1000)
@GrayStrider
GrayStrider / machine.js
Created March 11, 2020 12:35
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions