Better-Wangdoc

make wangdoc better

  1. // ==UserScript==
  2. // @name Better-Wangdoc
  3. // @namespace https://wangdoc.com/
  4. // @version 0.1
  5. // @description make wangdoc better
  6. // @author WitchElaina
  7. // @match https://wangdoc.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=wangdoc.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. function changeFont() {
  15. var style = document.createElement("style");
  16. style.innerHTML = "code,pre { font-family:source code pro; }";
  17. document.head.appendChild(style);
  18. }
  19. changeFont();
  20.  
  21. })();