您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Bangumi番组计划 主页观看进度 中文标题
当前为
// ==UserScript== // @name 番组计划主页观看进度中文标题 // @namespace https://github.com/ipcjs // @version 0.1.3 // @description Bangumi番组计划 主页观看进度 中文标题 // @author ipcjs // @include *://bgm.tv/ // @include *://bangumi.tv/ // @require http://greasyfork.icu/scripts/373283-ipcjs-lib-js/code/ipcjslibjs.js?version=637066 // @require-origin https://raw.githubusercontent.com/ipcjs/bilibili-helper/user.js/ipcjs.lib.js // @grant none // ==/UserScript== const css = ` .epGird > .tinyHeader { display: flex!important; } .epGird > .tinyHeader > [data-subject-name] { flex: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .epGird > .tinyHeader > * { margin-right: 2px; } small.grey a { font-size: 12px!important; } ` ipcjs.installInto(({ log, _, html }) => { document.head.appendChild(_('style', {}, css)) const epGrids = document.querySelectorAll('.infoWrapper_tv .epGird') // log(epGrids.length, epGrids) epGrids.forEach((item) => { const $title = item.children[0].children[1] const $prg_list = item.children[1] const title_cn = $title.getAttribute('data-subject-name-cn') if (title_cn) { item.insertBefore( _('div', { className: 'bsnc-title-cn' }, [ _('small', { className: 'grey' }, [ _('a', { href: $title.href }, title_cn) ]) ]), $prg_list) } }) })