Last active
August 31, 2018 15:06
-
-
Save macghriogair/82186d39d6fcb18c3373d08f598443ad to your computer and use it in GitHub Desktop.
Tampermonkey Remove Redmine Prio Styles #tampermonkey
This file contains hidden or 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 Redmine hide useless colors | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author pmg | |
// @include https://redmine.3pc.de* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
console.log('Wait a moment, let me fix these priority styles for you...!'); | |
var node = document.createElement('style'); | |
var str = 'table.list tr.priority-1:before,'; | |
str+= 'table.list tr.priority-2:before,'; | |
str+= 'table.list tr.priority-3:before,'; | |
str+= 'table.list tr.priority-4:before,'; | |
str+= 'table.list tr.priority-5:before'; | |
str+= '{ background-color: white;}'; | |
node.innerHTML = str; | |
document.body.appendChild(node); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment