// ==UserScript== // @name 快捷标注版谷米傻逼 // @namespace http://tampermonkey.net/ // @version 0.5 // @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 https://update.greasyfork.icu/scripts/480678/%E5%BF%AB%E6%8D%B7%E6%A0%87%E6%B3%A8%E7%89%88%E8%B0%B7%E7%B1%B3%E5%82%BB%E9%80%BC.user.js // @updateURL https://update.greasyfork.icu/scripts/480678/%E5%BF%AB%E6%8D%B7%E6%A0%87%E6%B3%A8%E7%89%88%E8%B0%B7%E7%B1%B3%E5%82%BB%E9%80%BC.meta.js // ==/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;}') let modalHtml='
' +'
' +'
' +'
' +'
' +'     颜色:' +'' +'' +'
' +'     备注:
' +'
' +'
' +' ' +' ' +'
' +'
' +'
'; $('body').append(modalHtml); let marksModalHtml='
' +'
' +'
' +'
' +'
' +'
' +' 全量傻逼备注JSON:
' +'
' +'
' +'