Oracle Java download without login

Replaces license agreement and subsequent login form with a direct link to download the desired Java (JRE, JDK, etc.) package.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo 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        Oracle Java download without login
// @namespace   StephenP
// @author      StephenP
// @description Replaces license agreement and subsequent login form with a direct link to download the desired Java (JRE, JDK, etc.) package.
// @version     1
// @icon        data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAgMAAAAOFJJnAAAADFBMVEUhJC7hEwfEjoj///9njhhOAAAArElEQVQY013NIQ7CQBAF0B+QCO6B4Qg9CIJzoGjgDlQgQBfRI2yTngEQOEggwbQhqaCU+cxsu4YRsy87f2dBqxYR9BD3j2/AO2TuAUkPmR861Itlh1PIJOcesy1zDBW7hBXGisumHz2OFDhFU5Mr2kJFoWj44ZqKEVlWBgCZh9XLoM0VhgqYOj96ZjYFxacULRAZxMUDf3O1XiryCWVvryTWzTcLN2mKLHyh9QO+J8iJoTKABwAAAABJRU5ErkJggg==
// @grant       none
// @match       https://www.oracle.com/java/technologies/*-downloads.html
// ==/UserScript==
const links=document.getElementsByClassName("license-link");
for(var i=0;i<links.length;i++){
  links[i].href=links[i].getAttribute("data-file").replace("/otn/","/otn-pub/");
}