AWBW Hide Buttons

Avoid accidentally activating powers or ending turn. Not recommended for live play!

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 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.

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

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

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

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

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

// ==UserScript==
// @name         AWBW Hide Buttons
// @namespace    https://awbw.amarriner.com/
// @version      1.1
// @description  Avoid accidentally activating powers or ending turn. Not recommended for live play!
// @author       Vincent
// @match        https://awbw.amarriner.com/game.php*
// @icon         https://cdn.discordapp.com/emojis/1059238674597957642.webp
// @license MIT
// ==/UserScript==


let powerButtons = document.getElementsByClassName('power-buttons');
Array.prototype.forEach.call(powerButtons, function(container) {
    container.style.display = 'none';
});

/**
let copButton = document.getElementsByClassName('cop-button');
Array.prototype.forEach.call(copButton, function(container) {
    container.style.display = 'none';
});
**/

/**
let scopButton = document.getElementsByClassName('scop-button');
Array.prototype.forEach.call(scopButton, function(container) {
    container.style.display = 'none';
});
**/

document.querySelector("#end-turn").style.display = 'none';

document.querySelector("#tag-co").style.display = 'none';