wsmud_status_size

武神传说 MUD

当前为 2019-05-01 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name wsmud_status_size
  3. // @namespace edc
  4. // @version 0.0.2
  5. // @date 01/05/2019
  6. // @modified 01/05/2019
  7. // @description 武神传说 MUD
  8. // @author edcit.cn
  9. // @match http://*.wsmud.com/*
  10. // ==/UserScript==
  11.  
  12. (function () {
  13. 'use strict';
  14. var style = document.createElement("style");
  15. style.type = "text/css";
  16. try{
  17.    style.appendChild(document.createTextNode(".item-status-bar > .status-item{font-size:0.5rem;}"));
  18. }catch(ex){
  19.    style.styleSheet.cssText = ".item-status-bar > .status-item{font-size:0.5rem;}";//针对IE
  20. }
  21. var head = document.getElementsByTagName("head")[0];
  22. head.appendChild(style);
  23. })();