Bookmarklet to select a random steam game from your profile on steamdb.info
Lets you select a random game to play from your game list (or anyone's) via steamdb.info
Drag the steam logo to your bookmarks bar
Then click the bookmark & follow the directions on the popup.
If the automatic setup was too easy for you, follow these steps.
Copy the contents of either bookmarklet.min.js or the code below into the URL field for a new bookmark in your browser.
Bookmarklet code
javascript:(function(){var reg=/^(http:\/\/steamdb.info\/calculator\/\?player=[A-z0-9])/g;if(!reg.test(window.location.href)){var steamID=prompt("Please enter your SteamID, CommunityID, or Profile URL; If you do not know any of these just leave it blank and hit OK, then follow the instructions on the page to find a profile.\n\nRemember to click this bookmarklet again once you get to a profile on steamdb.info!","");if(steamID!=null&&steamID!=""){window.location="http://steamdb.info/calculator/?player="+steamID;return false}else{window.location="http://steamdb.info/calculator/";return false}}if(typeof chooseRandomGame != "function"){var script=document.createElement("script");script.src="https://raw.github.com/sprngr/randomSteamGame/master/randomGame.js";document.head.appendChild(script)}if(typeof chooseRandomGame=="function"){chooseRandomGame()}})();
Once the bookmark has been made, either view your profile under steamdb.info/calculator/ or click the bookmark you just made & follow the instructions.
Note: this will not work if steamdb.info cannot see your profile (set to private).
I have way too many games on Steam and in an attempt to play new ones, I would run a random number gen and find the game in my list. That got too tedious so I started manipulating my page on steamdb via the javascript console. At that point I figured why not make it just a simple button to click rather than copy in code each time; it kind of evolved from there.
Unknown at this time, too busy playing games. Feel free to give any suggestions.