Spacebat / Twitter Avatars Spin

// ==UserScript==
// @name            Twitter Avatars Spin
// @namespace       https://openuserjs.org/users/Spacebat
// @description     Makes twitter avatars spin.
// @version         1.0
// @author          Spacebat
// @license         MIT; http://opensource.org/licenses/MIT
// @homepageURL     https://twitter.com/MC_Spacebat/
// @supportURL      https://twitter.com/MC_Spacebat/
// @updateURL       https://openuserjs.org/meta/Spacebat/Twitter_Avatars_Spin.meta.js      
// @include         /^(?:http(?:s)?:\/\/)?(?:[^\.]+\.)?twitter\.com(?:\/.*)?$/
// @grant           GM_addStyle
// ==/UserScript==

var css = '\
@keyframes spin {\
  from {transform: rotate(0deg);}\
  to {transform: rotate(360deg);}\
}\
.avatar, .ProfileAvatar-image, .DashboardProfileCard-avatarImage {\
  animation-name: spin;\
  animation-duration: 0.5s;\
  animation-iteration-count: infinite;\
  animation-timing-function: linear;\
}';

GM_addStyle(css);