Supremacy1914 but no gold

No more gold missclicks

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Supremacy1914 but no gold
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  No more gold missclicks
// @author       Somka
// @match *://www.supremacy1914.pl/*
// @match *://www.supremacy1914.com/*
// @match *://www.supremacy1914.fr/*
// @match *://www.supremacy1914.de/*
// @match *://www.supremacy1914.ru/*
// @match *://www.supremacy1914.nl/*
// @match *://www.supremacy1914.es/*
// @match *://www.supremacy1914.it/*
// @icon         https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/PZL.37A_72.11.jpg/1280px-PZL.37A_72.11.jpg
// @license CC BY-NC-ND
// @grant        none
// ==/UserScript==

function deleting(className){
    const elements = document.getElementsByClassName(className);
    while(elements.length > 0){
        elements[0].parentNode.removeChild(elements[0]);
    }
}

setInterval(function(){
    deleting("button_tile premium layout_row marginate_small");
    deleting("button_premium_decrease");
    deleting("button_tile premium dynamic_size row_formation");
    deleting("button_premium_increase func_order_table_premium_buy_button");
    deleting("button_premium_speedup_big func_building_speedup");
    deleting("button_premium_speedup province_bar_button");
    deleting("button_premium_increase");
    deleting("button_premium_speedup_big func_production_speedup");
}, 11);