I hereby claim:
- I am jfred on github.
- I am jfred (https://keybase.io/jfred) on keybase.
- I have a public key ASAlpwOrNMkXLLAKQm5iuz3inHOky1x4Vg6M9tgqdC9UpQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* 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 |
(function() { | |
var slackToken = 'GET TOKEN FROM https://api.slack.com/docs/oauth-test-tokens'; | |
var targetHr = 9; | |
var d = new Date(); | |
d.setDate(d.getDate() + (1 + 7 - d.getDay()) % 7); | |
d.setHours(targetHr); d.setMinutes(0); d.setSeconds(0); | |
var mins = (d.getTime()-new Date().getTime()) / (1000 * 60); | |
window.location='https://slack.com/api/dnd.setSnooze?token=' + slackToken + '&num_minutes=' + mins + '&pretty=1'; | |
})() |
(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); |