Created
September 23, 2019 17:03
-
-
Save justinoboyle/2f6f94a60585e83c3b5e21f2ae95533e to your computer and use it in GitHub Desktop.
Google Tasks Unlocker UserScript
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
// ==UserScript== | |
// @name google tasks | |
// @match https://tasks.google.com/* | |
// @grant none | |
// ==/UserScript== | |
// Just go to tasks.google.com. Installing as a shortcut works too. | |
if(Object.values(document.getElementsByTagName('p')).map(a=>a.innerText).join(' ').includes('The requested URL was not found on this server. ')) | |
window.location.href="https://tasks.google.com/embed/?origin=https://calendar.google.com&fullWidth=1" | |
var s = document.createElement('style'); | |
s.textContent = 'body { display: inline !important }'; | |
document.head.appendChild(s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment