NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Hey Humble Store: No Tux, no Bucks! // @namespace gauda // @description Filter items from Humble Store having no Linux support // @version 2 // @license MIT // @include https://www.humblebundle.com // @run-at document-end // ==/UserScript== if (/\/promo/.test(location.pathname)) { Array.from(document.getElementsByClassName('product-row__os')).forEach(function (item) { if (item.getElementsByClassName('icon-linux').length == 0) { item.closest('.product-row').remove() } }) } //else if ((/\/store/.test(location.pathname))) { // document.querySelectorAll('.operating-systems').forEach(function (el) { // if (el.querySelectorAll('.hb-linux').length == 0) { // el.closest('.entity-block-container').remove(); // } // }) //}