您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2021/2/9下午3:12:17
// ==UserScript== // @name Jira 工具 // @namespace Violentmonkey Scripts // @match https://jira.zhenguanyu.com/secure/* // @match https://jira.zhenguanyu.com/browse/* // @grant none // @version 1.1.3 // @author - // @description 2021/2/9下午3:12:17 // ==/UserScript== ;(async function () { window.addEventListener('load', async () => { const loadScript = (url) => { const script = document.createElement('script') script.src = url; document.head.appendChild(script) return new Promise((resolve, reject) => { script.onload = resolve; script.onerror = reject; }) } const loadStyle = (url) => { const link = document.createElement('link') link.href = url; link.rel = 'stylesheet'; document.head.appendChild(link) return new Promise((resolve, reject) => { link.onload = resolve; link.onerror = reject; }) } const isDebug = location.search.indexOf('jira-extension-script-debug=true') >= 0; const jsUrl = isDebug ? 'http://localhost:8080/index.js' : 'https://unpkg.com/jira-extension-script@latest'; const cssUrl = isDebug ? 'http://localhost:8080/index.css' : 'https://unpkg.com/jira-extension-script@latest/dist/index.css'; await Promise.all([ loadScript(jsUrl), loadStyle(cssUrl) ]); const div = document.createElement('div'); div.id = 'jira-ext'; document.body.appendChild(div); JiraExtensionScript.render(div); JiraExtensionScript.polyfillRender && JiraExtensionScript.polyfillRender(); }) })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址