Skip to content

Instantly share code, notes, and snippets.

@jfred
jfred / Flat Pinboard v1
Last active February 16, 2017 12:09 — forked from danklammer/Flat Pinboard v1
A simple userstyle for pinboard.in bookmarking site
/* Theme Name: Flat Pinboard */
/* Theme URL: http://tackk.com/flat-pinboard */
/* Version: v1.0.1 */
/* Created by: Dan Klammer */
/* Broswer: Chrome + Stylish Extension */
/*
20170215 - modified:
- unstick sidebar
- modified 'private' bookmark background
@jfred
jfred / delete-watched-videos-from-playlist.js
Last active January 26, 2022 03:06 — forked from timothyarmstrong/delete-videos-from-playlist.js
Delete all watched videos in YouTube Playlist
(function() {
var i = window.setInterval(function() {
var watched = document.querySelector('.watched');
var closeButton = watched ? watched.parentNode.parentNode.parentNode.querySelector('.pl-video-edit-remove') : false;
if (closeButton) {
closeButton.click();
} else {
window.clearInterval(i);
}
}, 500);