// ==UserScript== // @name 贵物班友会 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 贵物班友会(bgm.tv、bangumi.tv、chii.in) // @author 老悠 // @include https://bgm.tv/* // @include https://bangumi.tv/* // @match https://chii.in/* // @grant GM_addStyle // @grant GM_getResourceText // @license MIT // @downloadURL none // ==/UserScript== (function() { 'use strict'; GM_addStyle('.dialog { width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.5); position: absolute; top: 0; left: 0;line-height: 30px; display: none; } .dialog .container {width: 220px;height: 100px; background-color: #fff;margin: calc((100vh - 100px)/2) auto; position: relative;} .dialog .container .dialog_footer { position: absolute; bottom: 0; } .dialog .container .dialog_footer button {position: relative;left: 50px;display: inline-block;width: 50px;bottom: 10px;} .monster-tooltip {display: none;position: absolute;background-color: #f9f9f9;border: 1px solid #ccc;padding: 5px 10px;border-radius: 5px;font-size: 14px;}') let modalHtml='
' +'
' +'
' +'
' +'
' +'     颜色:' +'' +'' +'
' +'     备注:
' +'
' +'
' +' ' +' ' +'
' +'
' +'
'; $('body').append(modalHtml); let marksModalHtml='
' +'
' +'
' +'
' +'
' +'
' +' 全量傻逼备注JSON:
' +'
' +'
' +'