Steam Store - Show Entire Wishlist

Shows all hidden wishlisted apps

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Steam Store - Show Entire Wishlist
// @icon         http://store.steampowered.com/favicon.ico
// @namespace    Royalgamer06
// @version      1.0.1
// @description  Shows all hidden wishlisted apps
// @author       Royalgamer06 <https://royalgamer06.ga>
// @include      *://store.steampowered.com/wishlist/*
// @run-at       document-start
// @grant        GM_xmlhttpRequest
// @connect      steam-tracker.com
// @require      http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js
// ==/UserScript==

// ==Configuration==
var extraAppIds = [];
// ==/Configuration==

// ==Code==
this.$ = this.jQuery = jQuery.noConflict(true);
GM_xmlhttpRequest({
    method: "GET",
    url: "https://steam-tracker.com/api?action=GetAppListV3",
    onload: function(response) {
        var removedApps = JSON.parse(response.responseText).removed_apps;
        console.log("removedApps", removedApps);
        $.getJSON("//store.steampowered.com/dynamicstore/userdata/?t=" + Date.now(), function(json) {
            var rgWishlist = json.rgWishlist;
            console.log("rgWishlist", rgWishlist);
            var await = setInterval(function() {
                if (g_rgWishlistData && g_Wishlist && g_Wishlist.rgAllApps) {
                    clearInterval(await);
                    doModify(rgWishlist, removedApps);
                }
            }, 200);
        });
    }
});

function doModify(rgWishlist, removedApps) {
    console.log("g_Wishlist.rgAllApps", g_Wishlist.rgAllApps);
    var missingAppIds = rgWishlist.filter(appid => !g_Wishlist.rgAllApps.includes(appid.toString())).concat(extraAppIds);
    console.log("missingAppIds", missingAppIds);
    var missingApps = {};
    missingAppIds.forEach(appid => {
        var removedApp = removedApps.filter(app => app.appid == appid);
        var data = g_rgWishlistData.filter(app => app.appid == appid);
        removedApp = removedApp.length > 0 ? removedApp[0] : null;
        data = data.length > 0 ? data[0] : null;
        missingApps[appid] = {
            "name": removedApp ? removedApp.name : "Unknown App",
            "capsule": "//cdn.akamai.steamstatic.com/steam/apps/" + appid + "/header_292x136.jpg?t=" + Date.now(),
            "review_score": 0,
            "review_desc": "No user reviews",
            "reviews_total": "0",
            "reviews_percent": 0,
            "release_date": "0",
            "release_string": "Unavailable",
            "platform_icons": "",
            "subs": [],
            "type": removedApp ? convertType(removedApp.type) : "Game",
            "screenshots": [],
            "review_css": "not_enough_reviews",
            "priority": data ? data.priority : 0,
            "added": data ? data.added : 0,
            "rank": "9999999",
            "tags": []
        };
    });
    console.log("missingApps", missingApps);
    g_rgAppInfo = Object.assign(g_rgAppInfo, missingApps);
    g_Wishlist.rgAllApps = g_Wishlist.rgAllApps.concat(missingAppIds);
    g_Wishlist.LoadAdditionalPages();
}

function convertType(type) {
    // "Game", "DLC", "Application", "Hardware", "Video", "Advertising"
    if (type == "software") {
        return "Application";
    } else if (type == "video") {
        return "Video";
    }
    return "Game";
}
// ==/Code==