Created
May 15, 2019 10:38
-
-
Save ofavre/ce909a5a1f6caef29ade0d2758381624 to your computer and use it in GitHub Desktop.
[UserScript] Hide Toggl announcement bar
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 Hide Toggl announcement bar | |
// @namespace https://ofavre.dev/ | |
// @version 1.0.0 | |
// @description Hides the annoying Toggl announcement bar that wants you to upgrade to a paid plan. | |
// @author Olivier Favre (of.olivier.favre@gmail.com) | |
// @match https://toggl.com/app/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var style = document.createElement('style') | |
style.type = 'text/css' | |
style.innerHTML = '.AnnouncementBar__root { display: none; }'; | |
document.getElementsByTagName('head')[0].appendChild(style); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment