es6.ruanyifeng

es6 文档 script

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         es6.ruanyifeng
// @namespace    ziggy chen
// @license MIT
// @version      1.2
// @description  es6 文档 script
// @author       Ziggy chen
// @match        *://es6.ruanyifeng.com/*
// @icon         https://es6.ruanyifeng.com/favicon.ico
// @run-at       document-start
// @grant        GM_addStyle
// ==/UserScript==

(function () {
  "use strict";
  // content 高度  800
  GM_addStyle(
    "@media (min-width: 40rem) { #content { width: 800px !important; }}"
  );
  GM_addStyle(
    "#back_to_top { right: 25px!important;margin-left: 0 !important;}"
  );
  GM_addStyle("#edit { right: 25px!important;margin-left: 0 !important;}");
  GM_addStyle("#theme { right: 25px!important;margin-left: 0 !important;}");
})();