Last active
January 25, 2019 08:43
-
-
Save asafh/b05060a6f546e6af587ab57ed7849e92 to your computer and use it in GitHub Desktop.
Restore Google Inbox Snooze to Someday
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sad they removed the API 😢
A Thought, one could add the option in the Snooze menu and have it move the message to a label "Snooze to Someday".
Will look into it someday if I feel enough urgency :)