Skip to content

Instantly share code, notes, and snippets.

View mattcdowning's full-sized avatar

Matt Downing mattcdowning

View GitHub Profile
[...document.querySelectorAll('.offer-cta')].forEach(x => {
if (x.textContent.includes('Add to Card')) {
setTimeout(x.click(), 1000)
}
})

Keybase proof

I hereby claim:

  • I am mattcdowning on github.
  • I am mattcdowning (https://keybase.io/mattcdowning) on keybase.
  • I have a public key ASBH97mE-c46ZO7VZBwdQyvu-Cz7FbqeTO8BLdYQjb1idwo

To claim this, I am signing this object:

[...document.querySelectorAll('.ProfileCard-content .dropdown')].forEach(x => {
x.querySelector('button').click()
x.querySelector('.retweet-off-text button').click()
})
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS styles go here */
}
pbcopy < ~/.ssh/id_rsa.pub