Last active
May 11, 2016 10:22
-
-
Save ivan/93da7b2551a78c9231c1b7f0729491b1 to your computer and use it in GitHub Desktop.
IRCCloud nick gutter
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 Fix IRCCloud | |
// @namespace fixirrcloud | |
// @include *://www.irccloud.com/* | |
// @grant none | |
// ==/UserScript== | |
var styles = ` | |
/* Normal message lines */ | |
.authorWrap { | |
display: inline-block !important; | |
min-width: 135px !important; | |
text-align: right !important; | |
} | |
/* /me message lines */ | |
.messageRow.me .message .content .author { | |
display: inline-block !important; | |
min-width: 116px !important; | |
text-align: right !important; | |
} | |
`; | |
var newSS = document.createElement('link'); | |
newSS.rel = 'stylesheet'; | |
newSS.href = 'data:text/css,' + escape(styles); | |
document.getElementsByTagName("head")[0].appendChild(newSS); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment