gitee快速跳转sikp

实现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...
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址