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.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==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/");
}