Simply Step 4

Simplify view of BGG Math Trades Step 4

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        Simply Step 4
// @namespace   http://userscripts.org
// @description Simplify view of BGG Math Trades Step 4
// @include     http://bgg.activityclub.org/olwlg/mywants.cgi*
// @require     https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
// @version     0.4
// @grant       none
// ==/UserScript==
//hide lines that are associated with dummy itens

    $('#wants .ondummy').hide();
    $('#wants .isdummy').hide();
    
    //adjust table size
    $('#wants tbody') .css('height', 'auto');

    $('<td/>', {
        id: "hideshow",
        html: "Toggle Dummy Association"
    }).insertAfter($('#tabofficial1'));

    $('#hideshow').click(function () {
        $('.isdummy').toggle();
        $('.ondummy').toggle();
    });