一键开启github1s页面

需配合https://github.com/conwnet/github1s使用

< Feedback on 一键开启github1s页面

Review: Bad - script does not work

§
Posted: 19-01-2022

已失效

§
Posted: 11-05-2023

// ==UserScript==
// @name 一键开启github1s页面
// @namespace github
// @author 伟大鱼塘
// @description 需配合https://github.com/conwnet/github1s使用
// @include https://github.com/
// @match https://github.com/*
// @version 1.0.1
// ==/UserScript==

{
setTimeout(() => {
const href = `https://github1s.com${location.pathname}`
const btn =
`` +
'github1s' +
'
'
const parent = document.querySelector('.d-none.d-md-flex.ml-2')
parent && parent.insertAdjacentHTML('beforeBegin', btn)
}, 2000)
}

已失效

Post reply

Sign in to post a reply.