Last active
May 17, 2018 06:08
-
-
Save bueltge/1a5013d392c4fd864886ccddac5280dd to your computer and use it in GitHub Desktop.
Tampermonkey script to restyle xDebug Output
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 xDebug Restyling | |
// @namespace localhost | |
// @version 0.1 | |
// @description Restyling Xdebug output | |
// @author Frank Bueltge | |
// @match http://*localhost/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// The styling rules, pure css. | |
// Example design is here: https://stackoverflow.com/questions/19405735/how-to-change-the-colors-of-xdebug-output | |
var style = '.xdebug-error{ color: #333; }'; | |
var css = document.createElement("style"); | |
css.type = "text/css"; | |
css.innerHTML = style; | |
document.body.appendChild( css ); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment