Click to set default description

Just a simple util to to make submitting bug easier

Per 10-10-2018. Zie de nieuwste versie.

// ==UserScript==
// @name        Click to set default description
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Just a simple util to to make submitting bug easier
// @author       You
// @match        *://*.atlassian.net/*
// @grant        none
// ==/UserScript==
(function() {
    'use strict';
    // Your code here...
    $("body").click(function() {
        if ($("#description") && $("#description").html().trim() == "") {
            $("#description").html("<h2>Precondition</h2><h3>Account:</h3><h3>Password:</h3><h3>Page URL:</h3><h2>Reproduce Steps:</h2><p><br></p><h2>Expect Result:</h2><p><br></p><h2>Actual Result:</h2><p>​<br></p><p><br></p><p><br></p></body>");
        }
    });