NullPhantom / GGn Hide Inactive

// ==UserScript==
// @name         GGn Hide Inactive
// @version      0.1
// @updateURL    https://openuserjs.org/meta/NullPhantom/GGn_Hide_Inactive.meta.js
// @downloadURL  https://openuserjs.org/src/scripts/NullPhantom/GGn_Hide_Inactive.user.js
// @description  Hides user reviews from GGn
// @author       NullPhantom
// @match        http*://*gazellegames.net/torrents.php?*type=viewseed*
// @grant        none
// @require      https://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
    $("<input type='button' value='Toggle Inactive' />")
        .attr("id", "NP")
        .attr("name", "NP")
        .appendTo("#th_search tbody tr");

    $('#NP').click(function(){
        $('tr td:nth-child(9) span').each(function() {
            if(this.innerHTML === '0' || this.innerHTML === 'No')
            {
                $(this).parent().parent().toggle();
            }
        });
    });
})();