Teeird Posted October 8, 2014 Share Posted October 8, 2014 // ==UserScript== // @name Steam Market Avatar Links // @version 1.0 // @description Clicking avatars in the Steam market opens the user's profile page. // @include https://steamcommunity.com/market/listings/* // @include http://steamcommunity.com/market/listings/* // @copyright 2014+, detabbed // ==/UserScript== var elem = document.createElement("script"); elem.type = "text/javascript"; elem.innerHTML = 'jQuery(document).on("click", ".market_listing_owner_avatar", function() { window.open("http://steamcommunity.com/profiles/" + g_rgAssets[730][2][g_rgListingInfo[jQuery(jQuery(".market_listing_item_name_block").get(jQuery(".market_listing_owner_avatar").index(this))).find("span:first").attr("id").match(/listing_(.*)_name/)[1]]["asset"]["id"]]["owner"]);});' document.head.appendChild(elem); /u/detabbed wrote it. Tested myself, seems to work fine. Put it into greasemonkey/tampermonkey as a user script. (firefox tutorial) Click "Use Script from Clipboard" Make sure the script is already in your clipboard. Link to comment Share on other sites More sharing options...
Grimes Posted October 8, 2014 Share Posted October 8, 2014 pls dont hack me :^( Link to comment Share on other sites More sharing options...
Administrators OverduePixels Posted October 8, 2014 Administrators Share Posted October 8, 2014 · Hidden by Woifi The Viking, October 8, 2014 - No reason given Hidden by Woifi The Viking, October 8, 2014 - No reason given -Double post- {IGNORE} Link to comment
Administrators OverduePixels Posted October 8, 2014 Administrators Share Posted October 8, 2014 /u/detabbed wrote it. Tested myself, seems to work fine. Might want to elaborate it. Would really help if shown step by step. Vague details really doesn't help much for people who has no idea what this actually is Link to comment Share on other sites More sharing options...
Teeird Posted October 8, 2014 Author Share Posted October 8, 2014 Might want to elaborate how to actually use this. Step by Step if possible. Vague details won't really help. Put it into greasemonkey/tampermonkey as a user script. Press "Use Script from Clipboard" Make sure the script is already in your clipboard. Link to comment Share on other sites More sharing options...
HusKy Posted October 8, 2014 Share Posted October 8, 2014 You will need Greasemonkey or Tampermonkey. Copy the code and save it in a file called anything.user.js (change "anything" to whatever you like). Open the file in your web browser and install. edit. ninja'd Link to comment Share on other sites More sharing options...
Bobsplosion Posted October 8, 2014 Share Posted October 8, 2014 This obviously only works if you're in a browser, yeah? Not from the normal Steam client? Link to comment Share on other sites More sharing options...
Teeird Posted October 8, 2014 Author Share Posted October 8, 2014 This obviously only works if you're in a browser, yeah? Not from the normal Steam client? Who uses normal steam client for market purposes :S Link to comment Share on other sites More sharing options...
❤Hex❤ Posted October 8, 2014 Share Posted October 8, 2014 Who uses normal steam client for market purposes :S I do, what is the problem with that? any negative repurcussions? Link to comment Share on other sites More sharing options...
t0night Posted October 8, 2014 Share Posted October 8, 2014 I do, what is the problem with that? any negative repurcussions? no multiple tabs, worse performance Link to comment Share on other sites More sharing options...
Teeird Posted October 8, 2014 Author Share Posted October 8, 2014 ^ Link to comment Share on other sites More sharing options...
Brad Pitt Posted October 8, 2014 Share Posted October 8, 2014 Doesn't seem to work for me in chrome / tampermonkey Link to comment Share on other sites More sharing options...
tangram § Xen domU Posted October 8, 2014 Share Posted October 8, 2014 Don't know what I'm doing wrong but it doesn't seem to work for me. Windows 7 Professional, Firefox 32.0.3, Greasemonkey 2.2 Link to comment Share on other sites More sharing options...
Brad Pitt Posted October 8, 2014 Share Posted October 8, 2014 eh, replace "730" with "440" in the script if you want this to work for tf2 Link to comment Share on other sites More sharing options...
Slocumruls Posted October 8, 2014 Share Posted October 8, 2014 my bet is on valve patching this loophole sooner or later. Link to comment Share on other sites More sharing options...
❤ΣκαπανέαςGr❤ Posted October 8, 2014 Share Posted October 8, 2014 // ==UserScript== // @name Steam Market Avatar Links // @version 1.0 // @description Clicking avatars in the Steam market opens the user's profile page. // @include https://steamcommunity.com/market/listings/* // @include http://steamcommunity.com/market/listings/* // @copyright 2014+, detabbed // ==/UserScript== var elem = document.createElement("script"); elem.type = "text/javascript"; elem.innerHTML = 'jQuery(document).on("click", ".market_listing_owner_avatar", function() { window.open("http://steamcommunity.com/profiles/" + g_rgAssets[730][2][g_rgListingInfo[jQuery(jQuery(".market_listing_item_name_block").get(jQuery(".market_listing_owner_avatar").index(this))).find("span:first").attr("id").match(/listing_(.*)_name/)[1]]["asset"]["id"]]["owner"]);});' document.head.appendChild(elem); /u/detabbed wrote it. Tested myself, seems to work fine. Put it into greasemonkey/tampermonkey as a user script. (firefox tutorial) Click "Use Script from Clipboard" Make sure the script is already in your clipboard. if you think this is a viable solution you have to be joking right? Valve has state to the past that any 3 rd party software gives an advantage towards to other users in the market can get you baned.. I wouldn't use that :/ and also this is not a viable solution for casual traders. Link to comment Share on other sites More sharing options...
Teeird Posted October 9, 2014 Author Share Posted October 9, 2014 if you think this is a viable solution you have to be joking right? Valve has state to the past that any 3 rd party software gives an advantage towards to other users in the market can get you baned.. I wouldn't use that :/ and also this is not a viable solution for casual traders. You're not going to get baned for using this. Link to comment Share on other sites More sharing options...
Slocumruls Posted October 9, 2014 Share Posted October 9, 2014 As I predicted Valve already removed the loophole. I had your script working earlier today. Now it doesn't Link to comment Share on other sites More sharing options...
tangram § Xen domU Posted October 9, 2014 Share Posted October 9, 2014 eh, replace "730" with "440" in the script if you want this to work for tf2 Changing to "440" takes you to a http://steamcommunity.com/profiles/0 newtab. In not into javascript or SCM API so if someone could sort the issue out I'd appreciate. Link to comment Share on other sites More sharing options...
HusKy Posted October 9, 2014 Share Posted October 9, 2014 Changing to "440" takes you to a http://steamcommunity.com/profiles/0 newtab. In not into javascript or SCM API so if someone could sort the issue out I'd appreciate. They removed "owner" from "g_rgAssets" JSON. The script is dead. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.