Disable editing Jira's task on click

Disable clicking on JIRA tasks to update description

目前為 2022-08-25 提交的版本,檢視 最新版本

// ==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 => addEventListener('click', () => {event.stopImmediatePropagation();}, true)
        );

    };

    document.addEventListener('DOMContentLoaded', onLoad, false);
    document.addEventListener("DOMNodeInserted", onLoad, false);

})();

QingJ © 2025

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