|
3 | 3 | // @icon https://bartervg.com/imgs/ico/barter/favicon-32x32.png |
4 | 4 | // @namespace Revadike |
5 | 5 | // @author Revadike |
6 | | -// @version 1.2.3 |
| 6 | +// @version 1.2.4 |
7 | 7 | // @description This userscript aims to enhance your experience at barter.vg |
8 | 8 | // @match https://barter.vg/* |
9 | 9 | // @match https://wwww.barter.vg/* |
@@ -95,7 +95,7 @@ function barterReady() { |
95 | 95 | </li>`); |
96 | 96 |
|
97 | 97 | $(".sortBy").after(`<div id="filtercontainer"> |
98 | | - <span class="activityIcon normal gray">¶</span> Filter by |
| 98 | + <span class="activityIcon normal gray">¶</span> Filter by |
99 | 99 | <input id="filterBy" type="text" placeholder="Search in displayed rows..." style="width: 530px;"> |
100 | 100 | </div>`); |
101 | 101 | $("#filtercontainer").attr("class", $(".sortBy").attr("class")); |
@@ -910,7 +910,7 @@ function setupAutomatedOffer() { |
910 | 910 | <li><input type="checkbox" name="platform" id="keyjoker" value="158"><label for="keyjoker">KeyJoker</label></li> |
911 | 911 | <li><input type="checkbox" name="platform" id="devsource" value="159"><label for="devsource">From Dev / Pub</label></li> |
912 | 912 | <li><input type="checkbox" name="platform" id="blank" value="160"><label for="blank">WeGame X</label></li> |
913 | | - <li><input type="checkbox" name="platform" id="blank" value="161"><label for="blank">Indie Face Kick</label></li> |
| 913 | + <li><input type="checkbox" name="platform" id="blank" value="161"><label for="blank">Indie Face Kick</label></li> |
914 | 914 | </ul> |
915 | 915 | </div>`); |
916 | 916 |
|
@@ -1671,8 +1671,8 @@ function passesTheirPreferences(game, user, optins, group, offeringcount) { // g |
1671 | 1671 | if (pass && user.hasOwnProperty("user_id") && optins.hasOwnProperty(user.user_id)) { |
1672 | 1672 | pass = pass && optins[user.user_id][my_user_id]; |
1673 | 1673 | } |
1674 | | - } else if (pass && user.hasOwnProperty("user_id") && optins.hasOwnProperty(user.user_id)) { |
1675 | | - pass = pass && optins[user.user_id]; |
| 1674 | + } else if (pass && user.hasOwnProperty("steam_id64_string") && optins.hasOwnProperty(user.steam_id64_string)) { |
| 1675 | + pass = pass && optins[user.steam_id64_string]; |
1676 | 1676 | } |
1677 | 1677 |
|
1678 | 1678 | if (pass && user.hasOwnProperty("wants_unowned")) { |
|
0 commit comments