x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

TF2 Profile Script

Created 25th June 2013 @ 00:50

Add A Reply Pages: « Previous 1 2

kugs

For Chrome, first install https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en Tampermonkey. For firefox, install https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/. Similar plugins for other browsers, but haven’t used them. Once installed, click on the link in the op to install the script.

slate

(ETF2L Donator)
AMG

hmm, the open-delay doesnt work with chrome

Casual

prtyboiz
T⑨

Quoted from slate

hmm, the open-delay doesnt work with chrome

Fixed now.

I also noticed text-align: center; isn’t working on the alt text of an <img> element making the close button look ugly… oh well

Selek

Dr. med.

Quoted from Casual

[…]

Well all that’s not working is going to their profile and then viewing it, hovering over the link that got you to their profile in the first place works just fine.

The script’s purpose is to add this info on links (aka <a> tags), making it work for random places isn’t something I want to do.

Fair enough, I just wanted to point out what works and what doesn’t :)

Casual

prtyboiz
T⑨

Looks like Valve broke ?xml=1 for steamcommunity urls. It returns the xml response and then for some reason appends the html after it, causing parsing to fail:

INVALID URL MY ASS! Copy this to the url bar…
view-source:http://steamcommunity.com/profiles/76561198031427432/?xml=1


Last edited by Casual,

Kaneco

was there any update? can’t get this script to work withh greasemonkey

Kaneco

any chance of adding ESEA profiles to this?

fraac

JOHN
CENATION

This needs to be updated for new steamids.

Selek

Dr. med.

Bump. Update, please?

Alfie

(ETF2L Donator)
bobs

Quoted from Selek

Bump. Update, please?

I fixed the original script last week but forgot where I found it.

http://pastebin.com/7x7fQjeA

Casual

prtyboiz
T⑨

It’s updated + tf2center support. Should autoupdate, if not go install it from github again.

ETF2L links appear to be broken: http://etf2l.org/forum/feedback/topic-30231/

Also someone tell me where exactly are the steamid’s located on ESEA and if they have an API I can use to query if a certain steamid is registered.

EDIT: Also fixed teamfortress.tv profiles, make sure the version you’re running is 1.1.6


Last edited by Casual,

Selek

Dr. med.

Strange, this ETF2L bug. Either way, thank you very much!

oxocuboid

(ETF2L Donator)
LOOΠΔ

http://pastebin.com/nHVeS1DX
Calling it 1.1.6.1 because I don’t want to fuck with the original creator’s source when he makes a 1.1.7 or whatever.

Removed dead tf2lobby and wireplay sections, basically a fix for the lazy who don’t want to comment them out.


Last edited by oxocuboid,

ondkaja

.:[aAa]:.

http://pastebin.com/3Wn6n5dG

Fix for tf2center + removed tf2logs

TF.tv and tf2pickup links don’t seem to be working anymore but I don’t know how to fix that.


Last edited by ondkaja,

Add A Reply Pages: « Previous 1 2