Greasy Fork

来自缓存

Greasy Fork is available in English.

片假名终结者行高修复

修复了一些网頁中片假名终结者行高不當,顯示不全的的問題

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Katakana Terminator height repairer
// @name:zh-CN  片假名终结者行高修复
// @namespace    http://tampermonkey.net/
// @supportURL  http://greasyfork.icu/scripts/476378-katakana-terminator-height-repairer/feedback
// @version      2023.09.30.02
// @description  repair the height problem of Katakana Terminator in certain websites
// @description:zh-CN 修复了一些网頁中片假名终结者行高不當,顯示不全的的問題
// @author       Tu
// @license     MIT
// @match        *.bilibili.com/*
// @match        *.youtube.com/*
// @icon        https://upload.wikimedia.org/wikipedia/commons/2/28/Ja-Ruby.png
// @grant        GM_addStyle
// ==/UserScript==
GM_addStyle ( `
.small-item .title {
    line-break: anywhere!important;
    height: 44px!important;
}
.bili-video-card .bili-video-card__info--tit {
    height: initial;
}
.bili-video-card .bili-video-card__info--tit[data-v-15c84221] {
    height: initial;
}
#video-title.ytd-video-renderer {
    max-height: 6.3rem;
}
#video-title.ytd-rich-grid-media {
    max-height: 5.6rem;
}
` );