Greasy Fork 支持简体中文。

Friend Icon Revert *OLD*

Reverts the friend icon back to the star

  1. // ==UserScript==
  2. // @name Friend Icon Revert *OLD*
  3. // @author skyboy
  4. // @version 1.0.0
  5. // @description Reverts the friend icon back to the star
  6. // @include http://www.kongregate.com/games/*/*
  7. // @homepage http://userscripts-mirror.org/scripts/show/72290
  8. // @namespace https://greasyfork.org/users/32649
  9. // ==/UserScript==
  10. if (/^\/?games\/[^\/]+\/[^\/?]+(\?.*)?$/.test(window.location.pathname))
  11. setTimeout(function() {
  12. window.location.assign("javascript:(function(){var t = document.createElement('span');t.update(\"<style>.user_row .friend_icon {background: transparent url(/images/presentation/yourrating.gif) no-repeat scroll 0px -12px !important;line-height:12px !important;margin-top:2px;width:14px !important;}</style>\");$('gamepage_header').appendChild(t)})();void(0)");
  13. }, 1250);