您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
实现giteee平台的跳转问题
// ==UserScript== // @name gitee快速跳转sikp // @namespace http://gitee.com // @version 1.1 // @description 实现giteee平台的跳转问题 // @author You // @include *://gitee.com/* // @grant none // ==/UserScript== (function() { 'use strict'; var divs = window.document.createElement('div') divs.style.width = '50px' divs.style.height = '50px' divs.style.background = 'red' divs.style.position = 'fixed' divs.style.top = '50%' divs.left = 0 divs.addEventListener("click", function( event ) { window.open(window.location.href.replace('github','github1s')) }, false); var body = window.document.body body.appendChild(divs) // Your code here... })();