Disable editing Jira's task on click

Disable clicking on JIRA tasks to update description

// ==UserScript==
// @name Disable editing Jira's task on click
// @license MIT
// @version 0.1
// @description Disable clicking on JIRA tasks to update description
// @match https://*.atlassian.net/*
// @namespace https://gf.qytechs.cn/users/950499
// ==/UserScript==

(function () {
    const onLoad = () => {
        const elements = [...document.querySelectorAll('.ak-renderer-document')];
 
        elements.map(
            el => el.addEventListener('click', () => {event.stopImmediatePropagation();}, true)
        );
 
    };
 
    document.addEventListener('DOMContentLoaded', onLoad, false);
    document.addEventListener("DOMNodeInserted", onLoad, false);
 
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址