Skip to content

Instantly share code, notes, and snippets.

View gorbiz's full-sized avatar
😺
Found a paper bag

Karl Svartholm gorbiz

😺
Found a paper bag
  • Gothenburg, Sweden
View GitHub Profile
@asafh
asafh / inbox_someday.js
Last active January 25, 2019 08:43
Restore Google Inbox Snooze to Someday
/*
Updated to support when "This Weekend" option doesn't exist.
Put the following link in a bookmark in your bookmark bar and when selecting snooze duration
(after clikcing the snooze icon) you may click this bookmark to modify the first snooze option to be the "Someday" option.
You need to click the bookmark everytime you want to snooze Someday (after clicking the snooze icon to show the menu).
*/
javascript:(function() { const l = document.querySelector("[data-jsaction*='global.snooze_']"); l.dataset.jsaction = 'global.snooze_someday'; l.querySelector('span.do').innerText = 'Someday';})(); void 0;
//Unfortunately this no longer works as the "snooze_someday" action has been removed internally from the JS API (rather than just from the UI)
@adrienjoly
adrienjoly / trello-card-title-markdown.user.js
Last active December 1, 2017 17:03 — forked from gorbiz/trello-card-title-markdown.user.js
Add support for bold and emphasized Markdown in Trello card titles using a User Script.
// ==UserScript==
// @name Trello card title Markdown
// @version 0.4.0
// @homepage https://gist.github.com/gorbiz/6062481
// @description Add support for bold and emphasized Markdown in card titles
// @match https://trello.com/b/*
// @match http://trello.com/b/*
// ==/UserScript==
/***