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, hey GOG: No Tux, no Bucks! // @namespace gauda // @description Filter items from Humble Store and GOG that have no Linux support // @version 3 // @license MIT // @include https://www.humblebundle.com // @include https://www.gog.com // @run-at document-end // ==/UserScript== if (location.host == 'www.gog.com') { 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 (location.host == 'www.humblebundle.com') { //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(); // } // }) //} //}