Last active
September 14, 2022 07:59
-
-
Save avin/41ca51ee62b0a4d092e74a54157d8f62 to your computer and use it in GitHub Desktop.
Auto expand jira comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Auto expand jira comments | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @author You | |
// @match https://rbs-develop.paymentgate.ru/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const expandComments = () => { | |
const $sortButtonEl = $('.show-more-comment-tabpanel:not([data-processed]'); | |
if($sortButtonEl.length){ | |
$sortButtonEl.click() | |
$sortButtonEl.attr('data-processed', '1'); | |
} | |
} | |
setInterval(expandComments, 200); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment