Skip to content

Instantly share code, notes, and snippets.

@EverfreeFaerie
Created December 16, 2017 20:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save EverfreeFaerie/3d939d9ef6caa6c7a5391114af51e19a to your computer and use it in GitHub Desktop.
Save EverfreeFaerie/3d939d9ef6caa6c7a5391114af51e19a to your computer and use it in GitHub Desktop.
Twitter: Rectangular avatars
// ==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