您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
提供一些itab的小优化,目前包括字体、图标悬浮动画~
// ==UserScript== // @name Itab优化 // @namespace http://tampermonkey.net/ // @version 1.0.0 // @description 提供一些itab的小优化,目前包括字体、图标悬浮动画~ // @author wqhui // @license MIT // @match https://go.itab.link/ // @icon https://www.google.com/s2/favicons?sz=64&domain=itab.link // @grant none // ==/UserScript== (function() { 'use strict'; const ID = 'itab-custom-style' if(!isExistCustomStyleSheet(ID)){ //增加itab自定义样式 const styleSheet = document.createElement('style') styleSheet.type = 'text/css' styleSheet.setAttribute('id', ID) styleSheet.innerHTML = ` html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,button {font-family: system-ui;} .app-item .app-item-icon{top: 0;transition: top .2s;transition-timing-function: cubic-bezier(.37,1.08,.7,.95);} .app-item:hover .app-item-icon{top: -5px;} .app-item .app-item-title {pointer-events: none;} ` document.getElementsByTagName("head").item(0).appendChild(styleSheet) } function isExistCustomStyleSheet(id){ return !!document.querySelector(`#${id}`) } })();