Friend Icon Revert

Reverts the friend icon back to the star.

当前为 2016-03-06 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Friend Icon Revert
  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.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);