AgileZen Improvements

Fixes janky rendering with story detail links and opens links to other sites in a new tab.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name		AgileZen Improvements
// @version		1.1
// @description	Fixes janky rendering with story detail links and opens links to other sites in a new tab.
// @match		https://agilezen.com/*
// @require		http://code.jquery.com/jquery-latest.js
// @namespace https://greasyfork.org/users/1858
// ==/UserScript==

$("head").append("<style>body.board .story .story-header .story-ref-number a { padding-right:16px; }</style>");

$(document).on('click', "a[href^='http']:not([href*='"+location.hostname.replace("www.","")+"'])", function(event) {
    event.preventDefault();
    window.open(event.target.href, "_blank");
});