Skip to content

Instantly share code, notes, and snippets.

@Ameb
Created April 11, 2019 08:11
Show Gist options
  • Select an option

  • Save Ameb/a96d1cc756b13f11961cfbfdc0cb25d0 to your computer and use it in GitHub Desktop.

Select an option

Save Ameb/a96d1cc756b13f11961cfbfdc0cb25d0 to your computer and use it in GitHub Desktop.
Google Tasks CSS mod Userscript
// ==UserScript==
// @name Google Tasks CSS mod
// @namespace https://tasks.google.com/embed/?origin=https://mail.google.com
// @version 0.1
// @description Injects CSS to display google tasks properly
// @author Ameb
// @match https://tasks.google.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict'
document.getElementsByTagName("body")[0].style.display = 'inline'
GM_addStyle(`
div > div > section,
div > div > section > div,
.G4zhSc,
.CTxcDf,
.jgvuAb
{
width: 100%;
}
`)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment