Skip to content

Instantly share code, notes, and snippets.

@mesartwell
mesartwell / vimium_dark_theme.css
Created March 14, 2022 20:25
CSS for Vimium UI (dark theme)
/* Arc Dark theme */
/* Link hint boxes */
div > .vimiumHintMarker {
background: #383c4a;
font-size: 12px;
border: 0.25em solid #383c4a;
border-radius: 0.68em;
box-shadow: 0em 0.1em 0.6em 0.1em rgba(0, 0, 0, 0.4);
}
@mesartwell
mesartwell / yt-clear-watch-later.js
Created March 2, 2022 00:35
youtube: clear Watch Later playlist
// navigate to Watch Later playlist then enter the following in the JS console (ctrl+shift+j) in chrome)
// note: it simulates browser clicks and runs in a serial fashion
// src: a comment from https://www.alphr.com/delete-all-watch-later-videos-youtube
setInterval(() => {
// NOTE: This direct indexing is hacky but my JS skills are too weak to improve it.
// The index is not stable and can change w/o notice.
document.querySelectorAll(".style-scope.ytd-menu-renderer")[7].click()
document.querySelectorAll(".style-scope.ytd-menu-service-item-renderer")[6].click()
}, 500);

Keybase proof

I hereby claim:

  • I am mesartwell on github.
  • I am mesartwell (https://keybase.io/mesartwell) on keybase.
  • I have a public key ASDQnEQkvSjxc1JIhCglS4IKhay_dcps5Lo49OI3QFWaRAo

To claim this, I am signing this object: