ElementaryOS - Remove paywall

It removes the fake paywall on ElementaryOS website

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         ElementaryOS - Remove paywall
// @namespace    https://github.com/Synaelle/ElementaryOS-nopaywall
// @version      1.02
// @description  It removes the fake paywall on ElementaryOS website
// @author       Synaelle
// @match        https://elementary.io/*
// @icon         https://elementary.io/favicon.ico
// @grant        none
// @license      gpl-3.0
// ==/UserScript==

(function() {
    'use strict';
    //I don't think three "duplicate" lines of commands is worth an array
    document.getElementById("payment-trust").style.display = 'none';
    document.getElementById("choice-buttons").style.display = 'none';
    document.getElementById("pay-what-you-want").style.display = 'none';
    //If you don't choose any value, they will put 20$ if you click buy. So that's how I found a workaround for this.
    document.getElementById("amount-twenty").value = '0';
    document.getElementById('translate-purchase').innerHTML = document.getElementById('translate-download').innerHTML;
}

)();