Created
December 16, 2017 20:33
-
-
Save EverfreeFaerie/3d939d9ef6caa6c7a5391114af51e19a to your computer and use it in GitHub Desktop.
Twitter: Rectangular avatars
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 Twitter: Rectangular avatars | |
// @include http://twitter.com/* | |
// @include https://twitter.com/* | |
// @include http://tweetdeck.twitter.com/* | |
// @include https://tweetdeck.twitter.com/* | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; | |
head = document.getElementsByTagName('head')[0]; | |
if (!head) { return; } | |
style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); | |
} | |
addGlobalStyle('.avatar { border-radius: 0 !important; }'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment