您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make site more user-friendly and modern.
- // ==UserScript==
- // @name Site Enhance
- // @namespace https://kingfish404.cn/
- // @version 0.1
- // @description Make site more user-friendly and modern.
- // @author Kingfish404
- // @match *://*/*
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function () {
- 'use strict';
- switch (document.location.host) {
- case 'www.marxists.org':
- {
- const table = document.querySelector('table');
- table.style.margin = 'auto';
- table.style.maxWidth = '900px';
- }
- break;
- default:
- break;
- }
- })();