您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fix Bilibili Evolved issue: video description color and auto-spread
- // ==UserScript==
- // @name Bilibili Evolved Issues Partial and Temporary Fix
- // @namespace http://tampermonkey.net/
- // @version 1.1
- // @description Fix Bilibili Evolved issue: video description color and auto-spread
- // @author Tianbao
- // @match *://*.bilibili.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // Your code here...
- window.onload = function() {
- document.getElementsByClassName('desc-info desc-v2 open')[0].style.color = 'grey'
- console.log('视频简介区文字显示修复, 颜色: 灰')
- document.getElementsByClassName('desc-info desc-v2 open')[0].style.height = 'auto'
- console.log('视频简介区自动展开修复, 高度: 自动')
- };
- })();