RYM Release Rating Center Fix

Fixes the off-center rating on releases on artist pages

  1. // ==UserScript==
  2. // @name RYM Release Rating Center Fix
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Fixes the off-center rating on releases on artist pages
  6. // @author nate
  7. // @match https://rateyourmusic.com/artist/*
  8. // @icon https://www.google.com/s2/favicons?domain=rateyourmusic.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. function addGlobalStyle(css) {
  16. var head, style;
  17. head = document.getElementsByTagName('head')[0];
  18. if (!head) { return; }
  19. style = document.createElement('style');
  20. style.type = 'text/css';
  21. style.innerHTML = css;
  22. head.appendChild(style);
  23. }
  24.  
  25. addGlobalStyle('.disco_cat_inner { float: none; }');
  26. })();