CSS: cyberyozh.com

Corrections to UI of cyberyozh.com: font style

Pada tanggal 18 Februari 2021. Lihat %(latest_version_link).

// ==UserScript==
// @name          CSS: cyberyozh.com
// @description   Corrections to UI of cyberyozh.com: font style
// @author        MK
// @namespace     max44
// @homepage      https://gf.zukizuki.org/en/users/309172-max44
// @include       https://cyberyozh.com/*
// @include       http://cyberyozh.com/*
// @version       1.1.1
// @note          v1.1.1 2021-02-18: @namespace and @homepage changed
// @note          v1.1 2021-01-01: code is rewritten to add CSS to the end of the document instead of <HEAD> tag in order to overcome possible server side CSS with !important rule
// @note          v1.0 2020-12-29: initial release
// ==/UserScript==
 
(function() {
  var css = `
  body, a {
    font-weight: normal !important;
  }
  `;

  if (typeof GM_addStyle != 'undefined') {
    GM_addStyle(css);
  } else if (typeof PRO_addStyle != 'undefined') {
    PRO_addStyle(css);
  } else if (typeof addStyle != 'undefined') {
    addStyle(css);
  } else {
    var node = document.createElement('style');
    node.type = 'text/css';
    node.appendChild(document.createTextNode(css));
    document.documentElement.appendChild(node);
  }
})();