您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
go to read with better override style!
当前为
- // ==UserScript==
- // @name Read Golang Doc Better
- // @name:zh 更美的 Golang 文档
- // @namespace https://littleboyharry.me
- // @version 1.0.1
- // @description go to read with better override style!
- // @author LittleboyHarry
- // @match https://golang.org/*
- // @match https://blog.golang.org/*
- // @grant GM_addStyle
- // @run-at document-start
- // ==/UserScript==
- GM_addStyle(`
- html {
- font-size: 1em;
- }
- body {
- background: #FDF6E3;
- }
- main {
- align-text: center;
- }
- main#page.Site-content>.container {
- display: inline-block;
- max-width: 800px;
- width: 90%;
- }
- .container p{
- line-height: 1.5;
- }
- `);