Mallowigi / Open Links in New Tab

// ==UserScript==
// @name         Open Links in New Tab
// @namespace    https://openuserjs.org/users/Mallowigi
// @version      1.0
// @description  Just open all Jira Links in a new tab
// @license      MIT
// @author       Elior Boukhobza
// @match        https://*.atlassian.net/*
// @grant        none
// ==/UserScript==

// ==OpenUserJS==
// @author Mallowigi
// ==/OpenUserJS==

(function() {
    'use strict';

    window.addEventListener('load', function() {
        document.querySelectorAll('a').forEach(link => link.target = '_blank');
    }, false);
})();