您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically expands the older comments accordion in JIRA so you see all comments by default. Workaround to jira.comment.collapsing.minimum.hidden. Aids in searching page.
- // ==UserScript==
- // @name Atlassian JIRA - Auto-expand older comments
- // @description Automatically expands the older comments accordion in JIRA so you see all comments by default. Workaround to jira.comment.collapsing.minimum.hidden. Aids in searching page.
- // @include https://jira.*
- // @include http://jira.*
- // @match https://jira.*
- // @match http://jira.*
- // @version 0.5
- // @namespace https://gf.qytechs.cn/users/77886
- // @require https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
- // @require https://gf.qytechs.cn/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=115012
- // ==/UserScript==
- function clickWhenItAppears (jNode) {
- var clickEvent = document.createEvent ('MouseEvents');
- clickEvent.initEvent ('click', true, true);
- jNode[0].dispatchEvent (clickEvent);
- }
- bWaitOnce = true;
- // <a class="collapsed-comments" href="(redacted)"><span class="collapsed-comments-line"></span><span class="collapsed-comments-line"></span><span class="show-more-comments" data-collapsed-count="12">12 older comments</span></a>
- waitForKeyElements (
- "a[class='collapsed-comments']",
- clickWhenItAppears
- );
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址