Jump to content

Archived

This topic is now archived and is closed to further replies.

Teeird

Script that allows you to check out steam profiles on market again

Recommended Posts

Teeird
// ==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)

967c1aec1d.png

 

3c34c518f4.png

 

Click "Use Script from Clipboard"

 

Make sure the script is already in your clipboard.

Share this post


Link to post
Share on other sites
OverduePixels
Posted · 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}

Share this post


Link to post
OverduePixels

/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  :wacko:

Share this post


Link to post
Share on other sites
Teeird

Might want to elaborate how to actually use this. Step by Step if possible. Vague details won't really help.  :wacko:

Put it into greasemonkey/tampermonkey as a user script.

 

967c1aec1d.png

 

3c34c518f4.png

 

Press "Use Script from Clipboard"

 

Make sure the script is already in your clipboard.

Share this post


Link to post
Share on other sites
HusKy

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

Share this post


Link to post
Share on other sites
Bobsplosion

This obviously only works if you're in a browser, yeah? Not from the normal Steam client?

Share this post


Link to post
Share on other sites
Teeird

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

Share this post


Link to post
Share on other sites
❤Hex❤

Who uses normal steam client for market purposes :S

I do, what is the problem with that? any negative repurcussions?

Share this post


Link to post
Share on other sites
t0night

I do, what is the problem with that? any negative repurcussions?

no multiple tabs, worse performance

Share this post


Link to post
Share on other sites
tangram § Xen domU

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

Share this post


Link to post
Share on other sites
❤ΣκαπανέαςGr❤
// ==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)

967c1aec1d.png

 

3c34c518f4.png

 

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.

Share this post


Link to post
Share on other sites
Teeird

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.

Share this post


Link to post
Share on other sites
Slocumruls

As I predicted Valve already removed the loophole. I had your script working earlier today. Now it doesn't

Share this post


Link to post
Share on other sites
tangram § Xen domU

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.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...