您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2024-09-14, 5:17:22 p.m.
当前为
- // ==UserScript==
- // @name Better anitaku layout
- // @namespace Violentmonkey Scripts
- // @match https://anitaku.pe/*
- // @exclude https://anitaku.pe/home.html
- // @grant none
- // @version 1.0
- // @author -
- // @description 2024-09-14, 5:17:22 p.m.
- // @license GNU
- // ==/UserScript==
- document.getElementById('wrapper_inside').style.margin = '0';
- document.getElementById('wrapper_inside').style.width = '100vw';
- // Change properties of #wrapper
- document.getElementById('wrapper').style.backgroundColor = '#1b1b1b';
- document.getElementById('wrapper').style.float = 'left';
- document.getElementById('wrapper').style.width = '100vw';
- document.getElementById('wrapper').style.padding = '0 20px';
- // Change properties of section.content section.content_left
- let contentLeft = document.querySelector('section.content section.content_left');
- if (contentLeft) {
- contentLeft.style.float = 'left';
- contentLeft.style.width = '80vw';
- }