您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
工时统计jirass
// ==UserScript== // @name 工时统计jira // @namespace https://blog.csdn.net/FengZ1 // @version 0.5 // @description 工时统计jirass // @author Rui // @match http://jira.vemic.com/** // @exclude http://jira.vemic.com/secure/TimesheetReport.jspa** // @icon https://www.google.com/s2/favicons?sz=64&domain=vemic.com // @grant none // @require https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js // @license MIT // ==/UserScript== this.$=this.jQuery=jQuery.noConflict(true); $('body').append('<iframe id="jirags" style="display: none" src="http://jira.vemic.com/secure/TimesheetReport.jspa?reportKey=jira-timesheet-plugin:report&page=1&weekends=true&showDetails=true&reportingDay=1&sumSubTasks=true&numOfWeeks=1&offset=0&sum=day"></iframe>'); setTimeout(function(){ $("#jirags").contents().find('.rowHeader:last .border').each(function () { if ($(this).css('background-color') == "rgb(240, 255, 235)") { $("#create-menu").after("<li style=''><span> 今日工时累计"+$(this).text()+"</span></li>"); } }) },2000);