Skip to content

Instantly share code, notes, and snippets.

@pilate
Last active August 27, 2017 11:41
Show Gist options
  • Save pilate/4d51836311c376966b99 to your computer and use it in GitHub Desktop.
Save pilate/4d51836311c376966b99 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @id FixMarket12321321
// @name FixMarket
// @version 1.0
// @namespace AB
// @author Pilate
// @description Fixes broken item tooltips on market pages
// @include http://steamcommunity.com/market/*
// @run-at document-end
// ==/UserScript==
unsafeWindow.BShouldSuppressFades = function () { return true; };
function findResults () {
if (unsafeWindow.g_oSearchResults) {
clearInterval(_interval);
unsafeWindow.g_oSearchResults.m_cPageSize = 100;
unsafeWindow.g_oSearchResults.GoToPage(0, 1);
}
}
var _interval = setInterval(findResults, 100);
@r3sp
Copy link

r3sp commented Aug 27, 2017

m_cPageSize - nice find!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment