PDA

View Full Version : Community Integration v2


Pages : 1 [2]

KeRupTion
11-12-2009, 09:03 PM
I have a feeling it's control characters in the xml that you're getting.
That's the only explanation I can come up with.

It's not working again. :(

Fuzz Bucket
11-12-2009, 09:07 PM
It's not working again. :(
...How very strange...
Check to see if there are any errors in your profile's XML.

GottZ
11-12-2009, 10:26 PM
@require (http://wiki.greasespot.net/Greasemonkey_Manual:Metadata_Block#.40require) instead of base64 encoded jquery.
thats what i would prefer for you.
also you are able to use it then without the interval hack.

Fuzz Bucket
11-12-2009, 10:37 PM
@require (http://wiki.greasespot.net/Greasemonkey_Manual:Metadata_Block#.40require) instead of base64 encoded jquery.
thats what i would prefer for you.
also you are able to use it then without the interval hack.
Doesn't work properly.

ultradude25
11-14-2009, 06:58 AM
Request: Clicking on the link of an image will open it in a new tab as usual, and clicking on the image will make it zoom to fullscreen. Instead of them both doing the latter.

_Tagy_
11-14-2009, 09:10 PM
I don't like the preview image thing.

Fuzz Bucket
11-14-2009, 09:13 PM
I don't like the preview image thing.
Then use the setting and disable it?

Zedo Mann
11-15-2009, 10:49 AM
Could you possibly have it save the pictures from Steam Community somewhere and just check for updates while showing the saved picture?

Fuzz Bucket
11-15-2009, 10:55 AM
Could you possibly have it save the pictures from Steam Community somewhere and just check for updates while showing the saved picture?
I'm looking into it. Unfortunately, I'm stretching the use of the get and set value functions, as is.

Fuzz Bucket
11-25-2009, 05:42 PM
Curious: How many people are actively using this script? I ask, for obvious reasons.

Skaery
11-25-2009, 06:04 PM
Curious: How many people are actively using this script? I ask, for obvious reasons.
I do, and I really enjoy using it.

L.o.D.
11-25-2009, 06:53 PM
I do.
10 I dos

ultradude25
11-25-2009, 09:50 PM
Curious: How many people are actively using this script? I ask, for obvious reasons.
+1

AntiFritz
11-26-2009, 12:29 AM
I do, cept not at moment it slows does the forums toomuch when i open a new tab.

Nuttmegger
11-26-2009, 07:42 AM
I love it, but I've turned off avatars as they muck up the page loading.

ultradude25
11-26-2009, 02:39 PM
What does the "Go to anchores" option do?

Fuzz Bucket
11-26-2009, 02:43 PM
What does the "Go to anchores" option do?
When the script inserts elements into the DOM, the page becomes longer. If you load a page and your browser is supposed to go to an anchor (like #post12345), the browser will "scroll" down to that point after the page has loaded, but any elements inserted into the DOM above that anchor will throw it off (the anchor will be pushed lower and lower on the page). The "go to anchors" option makes the browser go back to the anchor after every postbit is processed. Personally, I have it disabled, because it can get annoying.

Jesse1234
11-26-2009, 05:17 PM
Curious: How many people are actively using this script? I ask, for obvious reasons.

I used it for the first couple weeks it was out but have stopped. The way pages loaded just got annoying and I liked the default way better. It just felt clunky.

Fuzz Bucket
11-26-2009, 05:18 PM
I used it for the first couple weeks it was out but have stopped. The way pages loaded just got annoying and I liked the default way better. It just felt clunky.
Yep. That's the downside of having to do it with javascript.

Jesse1234
11-26-2009, 05:42 PM
Yep. That's the downside of having to do it with javascript.

It worked fine when I was using it. I just love how fast pages load without it.

If VALVe was to ever implement it themselves would it load faster?

Fuzz Bucket
11-26-2009, 05:51 PM
It worked fine when I was using it. I just love how fast pages load without it.

If VALVe was to ever implement it themselves would it load faster?
Yes/No answer: Yes.

My first version did all the processing on my server with php. Data was scraped from the community site. The speed difference with it was hardly noticeable. However, people wouldn't trust it, because it was running on my server. I actually sent the source code to someone at Valve (I think it was John McCaskey (http://steamcommunity.com/id/john)) for review, but it was still my word as it was running on my sever.

This version does all the processing on the client's machine with javascript. Data is scraped from the community site. This is a lot slower and is more noticeable because the user has to wait for the page to load and for the script to execute (involving scraping data from the community) on their machine.

My first version was so much faster because it handled everything server-side. Data was scraped from the forums and processed, needed data from the community and cached or retrieved from the cache (so every user was using the same cached data where as, on this version, each users implementation has to cache it's own data), the community data was inserted into the forum page, and then the modified form page was sent to the user.

In short:
Original Server-Side Version, PHP: Faster, but untrusted.
This Client-Side Version, javascript: Really slow, trusted.
Steam's Implementation, most likely PHP (Non-existant): Fastest, trusted.

If VALVe (Steam) were to implement it themselves (properly) it would most certainly be much faster. Direct calls to databases are much faster, reliable, and efficient than screen-scraping.

Jesse1234
11-26-2009, 06:16 PM
Cool, thanks for the explanation.

Ive wanted to post here to tell you why I'm not using it (it's speed) because I felt bad when I stopped using it haha. It's a really nifty little script but it just feels slow, and now I know why it is.

ultradude25
11-26-2009, 11:13 PM
If you wrote it as an actual Firefox addon (Instead of an addon of an addon :p) it would probably be faster.

Fuzz Bucket
11-27-2009, 06:54 AM
If you wrote it as an actual Firefox addon (Instead of an addon of an addon :p) it would probably be faster.
Eh... Not really. I did some tests with disabling requests and just running off cache data and it was pretty fast. I don't think it would be worth rewriting it as a full plug-in for the little bit of speed that would be gained as it would still be making a lot of requests.

weedo
11-27-2009, 03:00 PM
I hope Valve go ahead and implement this for real, I'm gonna have to remove it for the sake of my browsing speed :(

Fuzz Bucket
11-27-2009, 03:11 PM
I hope Valve go ahead and implement this for real, I'm gonna have to remove it for the sake of my browsing speed :(
Yea. I get annoyed and disable it every now and then.
I hope Valve/Steam implements it as well.

Justin7
11-28-2009, 12:57 PM
I like the idea, but I don't like things being slow. So not gonna try it. Hope Steam implements this as an option though :)

spooksmagee
12-03-2009, 02:24 AM
Finally gave this a try, it's pretty cool so far. Immediately had to disable sigs though, that's one thing I do enjoy not seeing in SPUF. ;)

And some of your avatars...lol. :D

wits
12-05-2009, 04:02 PM
Is the link in the OP the latest version?

Edit: OH yay it works for me now.

Fuzz Bucket
12-05-2009, 09:19 PM
Is the link in the OP the latest version?

Edit: OH yay it works for me now.
Yes (10yes).

xabbott
12-06-2009, 04:49 AM
Thanks for the script it's great.

psihomir2
12-06-2009, 10:46 AM
Yes/No answer: Yes.

My first version did all the processing on my server with php. Data was scraped from the community site. The speed difference with it was hardly noticeable. However, people wouldn't trust it, because it was running on my server. I actually sent the source code to someone at Valve (I think it was John McCaskey (http://steamcommunity.com/id/john)) for review, but it was still my word as it was running on my sever.

This version does all the processing on the client's machine with javascript. Data is scraped from the community site. This is a lot slower and is more noticeable because the user has to wait for the page to load and for the script to execute (involving scraping data from the community) on their machine.

My first version was so much faster because it handled everything server-side. Data was scraped from the forums and processed, needed data from the community and cached or retrieved from the cache (so every user was using the same cached data where as, on this version, each users implementation has to cache it's own data), the community data was inserted into the forum page, and then the modified form page was sent to the user.

In short:
Original Server-Side Version, PHP: Faster, but untrusted.
This Client-Side Version, javascript: Really slow, trusted.
Steam's Implementation, most likely PHP (Non-existant): Fastest, trusted.

If VALVe (Steam) were to implement it themselves (properly) it would most certainly be much faster. Direct calls to databases are much faster, reliable, and efficient than screen-scraping.

Can't you still release it in two versions, one being the old one? I'm sure the trustworthiness won't be a problem for most of us, and the speed is really what's putting me off using it.

Jesse1234
12-06-2009, 01:10 PM
Can't you still release it in two versions, one being the old one? I'm sure the trustworthiness won't be a problem for most of us, and the speed is really what's putting me off using it.

That would be cool..I'd like to see how much faster it could be.

Fuzz Bucket
12-06-2009, 01:37 PM
I'm still recovering from what Microsoft's Windows 7 Installer did to my Laptop Friday night. No thanks to any of Microsoft's utterly useless tools.

I'll think about it.

desynked
12-06-2009, 09:24 PM
Not much else to say except amazing job; a shame Valve has yet to implement a similar system. :]

Fuzz Bucket
12-08-2009, 06:46 AM
Not much else to say except amazing job; a shame Valve has yet to implement a similar system. :]
Your last clause also expresses my thoughts on the matter.

xabbott
12-08-2009, 11:48 PM
Your last clause also expresses my thoughts on the matter.

Not sure if this matters to you. But as of right now, the script installs in Chrome but doesnt seem to work. Other steam scripts seem to work fine with chrome so not sure what is up.

Fuzz Bucket
12-08-2009, 11:51 PM
Not sure if this matters to you. But as of right now, the script installs in Chrome but doesnt seem to work. Other steam scripts seem to work fine with chrome so not sure what is up.
The script uses GM_getValue and GM_setValue for local storage. These functions, including others, are specific to GreaseMonkey.

Fatbubba
12-09-2009, 02:20 AM
Having it used for a month or so, I have to say: Really nice work. I love the avatars coming from the steampages and the easy clicking to the profiles. That said, I did revert back, but that is because of the speed.

Addy
12-11-2009, 12:00 PM
I have been trying to download this API but the links seem not to work? Am I doing something wrong ?

Thanks

L.o.D.
12-11-2009, 12:10 PM
You need greasemonkey installed first.

Addy
12-11-2009, 01:31 PM
What does Greasemonkey do ? I thought it was just a PHP script ?

Fuzz Bucket
12-11-2009, 05:05 PM
I have been trying to download this API but the links seem not to work? Am I doing something wrong ?

Thanks

What does Greasemonkey do ? I thought it was just a PHP script ?
This thread is for my community integration GreaseMonkey (and, thus, JavaScript) script.
If you are looking for my old PHP community API, that is currently unavailable as I have not worked on it in quite a while since Steam introduced the XML feeds.

Addy
12-12-2009, 02:52 AM
Ah! Okay, I would hopping to have a look at it as I wanted to try and code a PHP script for Joomla. But I am mainly code in VB.NET and ASP.NET. So wanted to learn how the code works. Any chance of some help with this?

Thank you for coming back to me by the way :)

Benji90
12-12-2009, 07:10 PM
how do you add a sig? :confused:

Fuzz Bucket
12-12-2009, 07:11 PM
how do you add a sig? :confused:
Look at my community profile. :p
 Oh, look! I have a signature!

Benji90
12-12-2009, 07:19 PM
sorted! nice 1!

have sum rep

edit: 'You must spread some Reputation around before giving it to Fuzz Bucket again.'

Fuzz Bucket
12-12-2009, 07:24 PM
sorted! nice 1!

have sum rep

edit: 'You must spread some Reputation around before giving it to Fuzz Bucket again.'
It lies. >_> Lies and slander, I tell you!

ultradude25
12-12-2009, 09:14 PM
sorted! nice 1!

have sum rep

edit: 'You must spread some Reputation around before giving it to Fuzz Bucket again.'

It lies. >_> Lies and slander, I tell you!
Repped for you, +3 rep.

Enigma776
12-14-2009, 03:23 PM
Might be an idea to include a function for when maintenance occurs instead of it saying "It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile (http://forums.steampowered.com/forums/profile.php?do=editprofile).
Error:false:false"

Something like "Maintenance is currently taking place so the script won't work".

Fuzz Bucket
12-14-2009, 03:35 PM
Might be an idea to include a function for when maintenance occurs instead of it saying "It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile (http://forums.steampowered.com/forums/profile.php?do=editprofile).
Error:false:false"

Something like "Maintenance is currently taking place so the script won't work".
I have to be working on the script (or be able to work on the script) at the time of maintenance to implement that. It has been something I have been trying to do for a while.
Unfortunately, the only times I have noticed it, I've been in Windows (like now).

I'll save the page source now and see what I can do with it later.

Sonikku
12-14-2009, 09:24 PM
Sweet! Am using it now aswell and works like a charm. Too bad most forum-users don't really link their profiles by using the URL. D:

Btw: Oh god, I just noticed that it's you, Seir. Perhaps you remember me from the NF-Chatroom. :P

Fuzz Bucket
12-14-2009, 09:30 PM
Sweet! Am using it now aswell and works like a charm. Too bad most forum-users don't really link their profiles by using the URL. D:

Btw: Oh god, I just noticed that it's you, Seir. Perhaps you remember me from the NF-Chatroom. :P
Yea. Most of the regulars have, though.
Yes, I am seirmubsa.
I don't have the script installed in Windows 7, however, so I'll have to look in your forum profile to see who you are. XD

Sonikku
12-14-2009, 09:32 PM
Yea. Most of the regulars have, though.
Yes, I am seirmubsa.
I don't have the script installed in Windows 7, however, so I'll have to look in your forum profile to see who you are. XD

It's Tachi (http://steamcommunity.com/id/DarkSonik). :3

Fuzz Bucket
12-14-2009, 09:33 PM
It's Tachi (http://steamcommunity.com/id/DarkSonik). :3
I saw (10saw).

ALCAMJI
12-15-2009, 11:08 AM
I´m using it and works perfect. When are you going to put back your website online again?

PD. I hace added to friends list.

Fuzz Bucket
12-15-2009, 11:29 AM
I´m using it and works perfect. When are you going to put back your website online again?

PD. I hace added to friends list.
What, my personal website?
Whenever I have something to do with it, I suppose.

ALCAMJI
12-15-2009, 11:59 AM
What, my personal website?
Whenever I have something to do with it, I suppose.
Yes, I meant our personal webite, your steamcard has the best dig I have ever ee, only suplied by thys one:

Steam Signature (http://clan-saf.com/steam/Ny%20katalog/steam_xml_large.php?id=ALCAMJI)

Kailieann
12-16-2009, 03:52 PM
None of the pulldown options are working for me in Firefox 3.5.6 with Greasemonkey 0.8.20091209.4

I tried disabling all my other add-ons to see if it was a conflict (oh god, what a horrifying experience), but still had no luck.

Fuzz Bucket
12-16-2009, 05:32 PM
None of the pulldown options are working for me in Firefox 3.5.6 with Greasemonkey 0.8.20091209.4

I tried disabling all my other add-ons to see if it was a conflict (oh god, what a horrifying experience), but still had no luck.
I'll check it out when I get back into OS X.

Fuzz Bucket
12-18-2009, 02:14 PM
None of the pulldown options are working for me in Firefox 3.5.6 with Greasemonkey 0.8.20091209.4

I tried disabling all my other add-ons to see if it was a conflict (oh god, what a horrifying experience), but still had no luck.
Still having issues?

Fuzz Bucket
12-20-2009, 11:33 AM
Guess not? :P

Kailieann
12-20-2009, 01:16 PM
Actually, yes. No luck at all getting any of the settings to change from the defaults.

ALCAMJI
01-03-2010, 02:14 PM
I´ve discovered a bug, sometimes the system shows me the steam avatar, but others not, with the same person...

Fuzz Bucket
01-03-2010, 02:23 PM
I´ve discovered a bug, sometimes the system shows me the steam avatar, but others not, with the same person...
Can you be a bit more specific?

maddima
01-04-2010, 03:31 PM
cool thing
but it's a bit slow...

Fuzz Bucket
01-04-2010, 03:31 PM
cool thing
but it's a bit slow...
Yep. It's explained above (earlier in the thread, rather).

maddima
01-06-2010, 03:47 AM
sometimes
others have my community name and avatar
on a second load it is fixed...

Fuzz Bucket
01-06-2010, 10:29 AM
sometimes
others have my community name and avatar
on a second load it is fixed...
I haven't been able to replicate this.

Jesse1234
01-06-2010, 11:30 AM
sometimes
others have my community name and avatar
on a second load it is fixed...

Even when I was using it for a couple weeks I had never experienced this little glitch.

maddima
01-06-2010, 11:44 AM
look at the icons...
click (http://img10.imageshack.us/img10/2269/unbenanntovg.jpg)

Fuzz Bucket
01-06-2010, 11:46 AM
look at the icons...
http://img10.imageshack.us/img10/2269/unbenanntovg.th.jpg (http://img10.imageshack.us/i/unbenanntovg.jpg/)
There is some freak-error going on, there. :P When I say freak-error, I mean an error that only seems to effect one/few people for some unknown reason. I can't really diagnose it if I can't reproduce it.

maddima
01-08-2010, 03:22 PM
There is some freak-error going on, there. :P When I say freak-error, I mean an error that only seems to effect one/few people for some unknown reason. I can't really diagnose it if I can't reproduce it.

^^ :D :D :D :D

TreeRat
01-09-2010, 02:34 AM
NOTICE: While the link to the script in this OP remains current, some of the other information in the OP (especially screen shots) is outdated. Please read through the thread for updates.

Yea, so remember that php script I wrote a while back that no one trusted (understandably)? I wrote some javascript that does the same thing, and actually looks better, in my opinion.

Firefox Greasemonkey Script: SPUFCommunityIntegration.min.user.js (http://seirmubsa.com/tmp/SPUFCommunityIntegration/SPUFCommunityIntegration.min.user.js)

Screenshots: 01 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/01.png) | 02 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/02.png) | 03 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/03.png) | 04 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/04.png) | 05 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/05.png) | 06 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/06.png) | 07 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/07.png) | 08 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/08.png) (Actual usage starts at 03... 01-02 are setup)

The downside to this client-side process: Non-collective caching results in more requests. There is a little bit of a performance hit when you first start using it. :P

If you're logged into steamcommunity.com in the same browser that you use this script in, it should show you more information about the user. If you have no idea what I'm talking about, I'm referring to profiles with privacy set to 'friends-only' and a few quirks.

Oh, yea... Cache time for community data is 5 minutes; 1 hour for forum data. Currently, the only way to clear the "cache" is to remove each individual item, one at a time, or just "uninstall" and "reinstall" the script.

Awesome, You have mine on there SS 5 6 and 7

+rep

k*nel
01-09-2010, 06:27 AM
wow I just starting using it and its great. good work

Xezium
01-17-2010, 06:20 PM
♥♥♥♥ you, Google Chrome. Can't get this thing to work in any way shape or form despite using like 12 different methods.

Fuzz Bucket
01-17-2010, 06:39 PM
♥♥♥♥ you, Google Chrome. Can't get this thing to work in any way shape or form despite using like 12 different methods.
As mentioned earlier, the script uses functions specific to greasemonkey to retrieve data from steamcommunity.com

Xezium
01-18-2010, 03:49 PM
As mentioned earlier, the script uses functions specific to greasemonkey to retrieve data from steamcommunity.com

FUUUUUUUUUUUUUUUUUUUUU-

I did not see that.

Fuzz Bucket
01-18-2010, 04:01 PM
FUUUUUUUUUUUUUUUUUUUUU-

I did not see that.
:P How else would it retrieve community data while executing under forums.steampowered.com?

Xezium
01-19-2010, 03:30 PM
:P How else would it retrieve community data while executing under forums.steampowered.com?

well one of the methods was to add osmething like --enable-greasemonkey- to the target line, so I ASSUMED...

AshTR
01-20-2010, 12:15 PM
Since it'll take me forever to read through 22 pages... (Yes, I fail, yada yada.)

Would there be any chance of a version of this in Chrome? I can't stand to use Firefox since I upgraded to multi-core.

I really love using this script in Firefox, so a Chrome version would be amazing.

A Noobcake
01-20-2010, 12:59 PM
Since it'll take me forever to read through 22 pages... (Yes, I fail, yada yada.)

Would there be any chance of a version of this in Chrome? I can't stand to use Firefox since I upgraded to multi-core.

I really love using this script in Firefox, so a Chrome version would be amazing.

I would also like this. I kinda dislike using FF here and Chrome for everything else.

Fuzz Bucket
01-20-2010, 01:25 PM
I would also like this. I kinda dislike using FF here and Chrome for everything else.
Since it'll take me forever to read through 22 pages... (Yes, I fail, yada yada.)

Would there be any chance of a version of this in Chrome? I can't stand to use Firefox since I upgraded to multi-core.

I really love using this script in Firefox, so a Chrome version would be amazing.

From what I've read, the next candidate would most likely be Webkit/Safari. I haven't seen much to support being able to get it to work in Chrome.

Xezium
01-20-2010, 06:09 PM
From what I've read, the next candidate would most likely be Webkit/Safari. I haven't seen much to support being able to get it to work in Chrome.
There's a Chrome port of Greasemonkey called Greasemetal but hasn't been updated in a year. lolol

ultradude25
01-20-2010, 06:50 PM
I hope Chrome starts getting a large community of addons like FireFox. As much as I love Chrome, I just can't live without my addons. And the fact no Google products will install on Win 7 RC. :p

Fuzz Bucket
01-20-2010, 06:51 PM
I hope Chrome starts getting a large community of addons like FireFox. As much as I love Chrome, I just can't live without my addons. And the fact no Google products will install on Win 7 RC. :p
Addons are the only thing keeping me from going Webkit, full-time. :P

bloodypalace
01-20-2010, 08:30 PM
Addons are the only thing keeping me from going Webkit, full-time. :P

Same here, i rely on too many plug-ins to switch to chrome...

Petchyy
01-23-2010, 07:25 PM
Am I like the only person who doesn't like Chrome? It's probably because it's new though.

Alteran Ancient
01-24-2010, 09:23 AM
I only use Firefox when I NEED the blessing of an Addon/Extension, or if I'm testing website rendering compatability. For 99.9% of the time, I'm using Chrome.

Google plan to enable Extension support in Chrome 4.0 at some point. It's in the works right now, so fingers crossed! If you're on the Beta or Developer channels of Google Chrome, then you will already have access to Chrome Extensions, as seen here (https://chrome.google.com/extensions/).

Crazydog115
02-01-2010, 03:16 PM
The newest (beta?) version of chrome supports userscripts. I've installed others, and they work, but I'm not seeing anything with this one.

Fuzz Bucket
02-01-2010, 03:20 PM
The newest (beta?) version of chrome supports userscripts. I've installed others, and they work, but I'm not seeing anything with this one.
As mentioned earlier, the script uses functions specific to greasemonkey to retrieve data from steamcommunity.com

^The above.

Crazydog115
02-01-2010, 03:21 PM
rgr that..

Fuzz Bucket
02-01-2010, 03:23 PM
rgr that..
If you can find a way to get around domain restrictions in other browsers, by all means, bring it to my attention. :P

Mangr0v3
02-02-2010, 04:59 PM
This might just be in the beta, but Chrome now has native support for Greasemonkey scripts. Could you do a Chrome-compatible version, please?

Fuzz Bucket
02-02-2010, 05:00 PM
This might just be in the beta, but Chrome now has native support for Greasemonkey scripts. Could you do a Chrome-compatible version, please?
Do you know if it supports these API functions (http://wiki.greasespot.net/Greasemonkey_Manual:API)?

Mangr0v3
02-02-2010, 05:21 PM
Not sure. The Chromium blog (http://blog.chromium.org/2010/02/40000-more-extensions.html) states:
Based on some analysis that the current maintainers of Greasemonkey did, I expect between 15%-25% of scripts to not work in Google Chrome.
Their analysis is this: http://www.greasespot.net/2009/11/greasemonkey-api-usage.html

Wikipedia:
In Chrome, scripts that use one of the GM_setValue or GM_getValue initiatives will break

Although someone claims to have emulated those functions: http://userscripts.org/topics/41177

Fuzz Bucket
02-02-2010, 05:29 PM
Not sure. The Chromium blog (http://blog.chromium.org/2010/02/40000-more-extensions.html) states:

Their analysis is this: http://www.greasespot.net/2009/11/greasemonkey-api-usage.html

Wikipedia:


Although someone claims to have emulated those functions: http://userscripts.org/topics/41177
I apparently have to get some obscure developer's version of Chrome to use extensions... I'm downloading it now, but it's going epically slow for some reason.

Fuzz Bucket
02-02-2010, 05:41 PM
It might be a while... or not happen at all. There is apparently no decent way to debug the script within Chrome other than using alerts and I'm still not sure if I'll be able to actually get the data from SC.

Crazydog115
02-02-2010, 05:47 PM
http://code.google.com/chrome/extensions/tut_debugging.html (That's for extensions...not sure if it applies to userscripts)

You don't need an "obscure developer version" of chrome to get extensions. The current public release supports extensions, and at least the current beta version (I don't use the stable one) supports greasemonkey scripts.

Fuzz Bucket
02-02-2010, 05:47 PM
http://code.google.com/chrome/extensions/tut_debugging.html

You don't need an "obscure developer version" of chrome to get extensions. The current public release supports extensions, and at least the current beta version (I don't use the stable one) supports greasemonkey scripts.
I don't use Windows. They are pretty slow getting things out for other systems.

Fuzz Bucket
02-02-2010, 06:25 PM
I wrote/modified an excerpt of code to handle the GM specific functions. However, I have run into an issue in which I am heavily dependent on Grease Monkey's unsafeWindow object, which does not exist in Chrome.

Thetbone
02-08-2010, 02:31 PM
So this javascript only works as a Firefox extension, right?

What I'm looking for is code that you can put on a website (for instance, my site runs on Postnuke) that will display the group member list and who is online and in what game. The closest I got was something that k1dercountry did years ago. I was able to get my personal friends list on the site, but recently k1der took the hosted script down off of his site, and so now it is no longer functional.

I also saw links to steamextras.com and other dead ends that seem to have all died off around 2007. I've been searching and searching, and I can't find anything left that will display a steam group member list or steam friends list on an external site. Is this as close as I get or can someone point me in the right direction?

Fuzz Bucket
02-08-2010, 03:26 PM
So this javascript only works as a Firefox extension, right?

What I'm looking for is code that you can put on a website (for instance, my site runs on Postnuke) that will display the group member list and who is online and in what game. The closest I got was something that k1dercountry did years ago. I was able to get my personal friends list on the site, but recently k1der took the hosted script down off of his site, and so now it is no longer functional.

I also saw links to steamextras.com and other dead ends that seem to have all died off around 2007. I've been searching and searching, and I can't find anything left that will display a steam group member list or steam friends list on an external site. Is this as close as I get or can someone point me in the right direction?
This is client-side JavaScript. My old PHP API served that purpose, but is not longer needed now that the majority of the community data is available via XML and/or JSON.

Thetbone
02-08-2010, 04:06 PM
Yeah, I've spent a majority of the day trying to figure out XML. I found the address to the data I want:

http://steamcommunity.com/groups/followtheangel/memberslistxml/?xml=1

However, I have no idea how to fetch/parse that data into a page that shows members online. I tried looking at other codes here:

http://forums.steampowered.com/forums/showthread.php?t=968539

I just couldn't figure out how to convert their coding into what I needed.

Fuzz Bucket
02-08-2010, 04:06 PM
Yeah, I've spent a majority of the day trying to figure out XML. I found the address to the data I want:

http://steamcommunity.com/groups/followtheangel/memberslistxml/?xml=1

However, I have no idea how to fetch/parse that data into a page that shows members online. I tried looking at other codes here:

http://forums.steampowered.com/forums/showthread.php?t=968539

I just couldn't figure out how to convert their coding into what I needed.
http://php.net/xml

tazzitac
02-08-2010, 04:42 PM
I've tried using the script and I'm still getting this:
It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:2:Error parsing forum profile (Invalid community URL?)

I tried the normal URL https://steamcommunity.com/id/tazzitac which didn't work, so I tried my profile link and it also didn't work.

The images, menus and swear filter works but no avatars. I used the link to void my cache and tried waiting an hour. Still no change.
I am running the latest FF with no add ons other than greasemonkey and it's all a brand new install as I just upgraded all my hardware. It seems to be the same problem nutmegger was having. Any ideas?

Also tried FF portable. Then realized that when I try to go to my normal profile URL, it says I don't exist. I'm guessing this is a Steam Community issue.

Soaked
02-08-2010, 08:28 PM
Very handy! Thanks. :)

Jacob
02-15-2010, 09:33 PM
Wow, very nice job! This is great; makes the forums more lively.

Alteran Ancient
02-18-2010, 05:26 PM
This guy supposedly uses a workaround to mimic the unsafeWindow functionality in Chrome. Not sure how effective or ultimately useful it is, but...

http://userscripts.org/scripts/show/58296

Every little helps.

Fuzz Bucket
02-18-2010, 05:39 PM
This guy supposedly uses a workaround to mimic the unsafeWindow functionality in Chrome. Not sure how effective or ultimately useful it is, but...

http://userscripts.org/scripts/show/58296

Every little helps.
That's about window.clipboardData :P

t0wardz
02-19-2010, 06:15 PM
Good work :)

Ghil
02-19-2010, 09:40 PM
oh that thing is awesome o_0

Alteran Ancient
02-20-2010, 09:32 AM
That's about window.clipboardData :P

Wait, what? But that's not what the blog that linked to it suggested! I've been conned, and I demand a refund!

Regardless of useless information, I'll keep my eyes peeled.

spooksmagee
02-22-2010, 02:10 PM
Hmm, just grabbed greasemonkey and this script again after a fresh Windows 7 + FF install. Everything displays correctly but I can't save my settings in the drop down menu. Tried uninstalling/reinstalling greasemoneky and the script, restarting FF etc. Nothing worked so far. I just want to disable sigs and turn off the swear filter, is there a manual way to do this? (Other than the handy drop down menu I mean).

I read through ~12 pages of this thread and couldn't find an answer to this problem, apologies if it has been addressed already.

Fuzz Bucket
02-22-2010, 02:12 PM
Hmm, just grabbed greasemonkey and this script again after a fresh Windows 7 + FF install. Everything displays correctly but I can't save my settings in the drop down menu. Tried uninstalling/reinstalling greasemoneky and the script, restarting FF etc. Nothing worked so far. I just want to disable sigs and turn off the swear filter, is there a manual way to do this? (Other than the handy drop down menu I mean).

I read through ~12 pages of this thread and couldn't find an answer to this problem, apologies if it has been addressed already.
I have noticed this as well. I believe a recent GreaseMonkey update has broken one of my workarounds. I'll look into it when time permits.

spooksmagee
02-22-2010, 03:33 PM
Thanks Fuzz. :)

t0wardz
02-23-2010, 09:00 AM
I suggest to take out the "country flag", the avatar alone (when is online or offline) and the "in-game" advertisment is okey.


This awesome work should be avaible as option in steam (maybe by default), its VERY VERY cool, i dont know how STEAM forums admins ignore this.

Fuzz Bucket
02-23-2010, 10:00 AM
I suggest to take out the "country flag", the avatar alone (when is online or offline) and the "in-game" advertisment is okey.


This awesome work should be avaible as option in steam (maybe by default), its VERY VERY cool, i dont know how STEAM forums admins ignore this.
The thread for the previous rendition of this script (the PHP one) and the suggestion threads have been purged/deleted, as far as I can tell.
I found some proponent's arguments rather comical, to be honest.

t0wardz
02-25-2010, 08:42 PM
The thread for the previous rendition of this script (the PHP one) and the suggestion threads have been purged/deleted, as far as I can tell.
I found some proponent's arguments rather comical, to be honest.

Ok, no more suggestions :)

Light Yagami
03-10-2010, 10:14 PM
Awesome Script

+Rep

safari jim
03-11-2010, 12:51 AM
04 (http://seirmubsa.com/tmp/SPUFCommunityIntegration/04.png)


has anyone heard from Geordie since Newcastle went down?

t0wardz
03-13-2010, 06:05 AM
up ...

hmmwhatsthisdo
03-15-2010, 07:17 PM
This needs stickying. Badly. Perhaps, Valve will see this and give their restricted vB version a second thought. Also, how do you set your signature?

Fuzz Bucket
03-15-2010, 07:23 PM
This needs stickying. Badly. Perhaps, Valve will see this and give their restricted vB version a second thought. Also, how do you set your signature?
how do you add a sig? :confused:
Look at my community profile. :p
 Oh, look! I have a signature!
Knock yourself out. :P

Petchyy
03-15-2010, 07:44 PM
Saw you've got a Mac OS X group all set up then. Didn't take long. =D

Fuzz Bucket
03-15-2010, 07:46 PM
Saw you've got a Mac OS X group all set up then. Didn't take long. =D
This has what to do with this thread...? :P

hmmwhatsthisdo
03-15-2010, 09:57 PM
Also, this may or may not be related to the topic, but does anyone know how to execute a JavaScript file from a Userchrome.css modification? I thought that if this was possible, one could run the script without downloading a permanent, local copy. Instead, it would cache the file upon running, so the user would always have the latest copy. Just a thought. Also, I noticed that the settings accessed through the menu are not saved. Is it possible to set these manually in say, about:config, or the script file itself?

EDIT: also found 2 bugs:

1. When viewing images on the forum using the 2010 UI update forum skin, the Steam Navagation bar covers the images.
2. The Loading animation has very little transparency. Perhaps replace it with "http://people.mozilla.com/~dolske/apng/loading_16.png".

General Balls
04-05-2010, 06:56 AM
Hmm, just grabbed greasemonkey and this script again after a fresh Windows 7 + FF install. Everything displays correctly but I can't save my settings in the drop down menu. Tried uninstalling/reinstalling greasemoneky and the script, restarting FF etc. Nothing worked so far. I just want to disable sigs and turn off the swear filter, is there a manual way to do this? (Other than the handy drop down menu I mean).

I read through ~12 pages of this thread and couldn't find an answer to this problem, apologies if it has been addressed already.

Finally got myself up and gave this script a try, and I've got the same issues. I like how it is, except for the obnoxiously large default avatar size, and it'd be nice to be able to change that sometime.

ultradude25
04-05-2010, 06:57 AM
Finally got myself up and gave this script a try, and I've got the same issues. I like how it is, except for the obnoxiously large default avatar size, and it'd be nice to be able to change that sometime.
You can change it in the settings menu.

http://images.matt-russell.com/ZScreen/SS_05-04-2010_10.58.50.PM.png

Fuzz Bucket
04-05-2010, 07:27 AM
You can change it in the settings menu.

http://images.matt-russell.com/ZScreen/SS_05-04-2010_10.58.50.PM.png
I believe the settings menu is broken due to updates to FireFox and/or GreaseMonkey.

You can manually set settings by setting [GMPrefix]settings_[Setting] to the desired value in about:config where [GMPrefix] is the config prefix for the script and [Setting] is the name of property in the settings object.
If indexonly is 1 for a setting, then that setting may only be set for the "top level" of the forums. If it is 0, then it may be applied to individual forums and threads by using the key [GMPrefix]settings_forum_[ForumID]_[Setting] and [GMPrefix]settings_thread_[ThreadID]_[Setting], respectively, where [ForumID] and [ThreadID] are the numerical IDs of the targets.
here is the settings object:

settings = {
avatars: {
title: 'Avatars',
defaultValue: 0,
indexonly: 0,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
},
avatars_maxDimension: {
title: 'Avatars - Max Dimension',
defaultValue: 6,
indexonly: 1,
options: new Array(
{value: 60, title: '60px'},
{value: 70, title: '70px'},
{value: 80, title: '80px'},
{value: 90, title: '90px'},
{value: 100, title: '100px'},
{value: 110, title: '110px'},
{value: 120, title: '120px'}
)
},
images: {
title: 'Images',
defaultValue: 0,
indexonly: 0,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
},
images_maxDimension: {
title: 'Images - Max Dimension',
defaultValue: 0,
indexonly: 1,
options: new Array(
{value: 150, title: '150px'},
{value: 250, title: '250px'},
{value: 500, title: '500px'}
)
},
signatures: {
title: 'Signatures',
defaultValue: 0,
indexonly: 0,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
},
signatures_characterLimit: {
title: 'Signatures - Character Limit',
defaultValue: 0,
indexonly: 1,
options: new Array(
{value: 100, title: '100'},
{value: 250, title: '250'},
{value: 500, title: '500'}
)
},
signatures_maxHeight: {
title: 'Signatures - Max Height',
defaultValue: 4,
indexonly: 1,
options: new Array(
{value: 16, title: '16px'},
{value: 32, title: '32px'},
{value: 48, title: '48px'},
{value: 64, title: '64px'},
{value: 80, title: '80px'},
{value: 96, title: '96px'},
{value: 112, title: '112px'},
{value: 128, title: '128px'},
{value: 144, title: '144px'}
)
},
swearFilter: {
title: 'Swear Filter',
defaultValue: 0,
indexonly: 1,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
},
swearFilter_replacement: {
title: 'Swear Filter - Replacement',
defaultValue: 0,
indexonly: 1,
options: new Array(
{value: 1, title: 'Asterisks'},
{value: 2, title: '!@#$%^&*()_+'},
{value: 3, title: 'Pacman'}
)
},
forumProfileCacheTime: {
title: 'Forum Cache Time',
defaultValue: 2,
indexonly: 1,
options: new Array(
{value: 18000000, title: '5 hours'},
{value: 7200000, title: '2 hours'},
{value: 3600000, title: '1 hour'},
{value: 1800000, title: '30 minutes'}
)
},
communityProfileCacheTime: {
title: 'Community Cache Time',
defaultValue: 6,
indexonly: 1,
options: new Array(
{value: 18000000, title: '5 hours'},
{value: 7200000, title: '2 hours'},
{value: 3600000, title: '1 hour'},
{value: 1800000, title: '30 minutes'},
{value: 900000, title: '15 minutes'},
{value: 600000, title: '10 minutes'},
{value: 300000, title: '5 minutes'}
)
},
goToAnchors: {
title: 'Go To Anchors',
defaultValue: 1,
indexonly: 1,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
},
logging: {
title: 'Logging',
defaultValue: 1,
indexonly: 1,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
},
showErrors: {
title: 'Show Errors',
defaultValue: 1,
indexonly: 1,
options: new Array(
{value: 1, title: 'Enabled'},
{value: 0, title: 'Disabled'}
)
}
}

ultradude25
04-05-2010, 07:40 AM
I believe the settings menu is broken due to updated to FireFox and/or GreaseMonkey.
Well seeing as I'm on the latest version of both (And the script isn't outdated due to me just installing it to take that screenshot), it isn't.

Fuzz Bucket
04-05-2010, 07:46 AM
Well seeing as I'm on the latest version of both (And the script isn't outdated due to me just installing it to take that screenshot), it isn't.
That was a typo. "Updated" should have been "updates."
The last time I modified the public version of the script was back in February. Before, and since then, there have been updates to Firefox and GreaseMonkey that have broken some of my workarounds.

L.o.D.
04-05-2010, 07:47 AM
Firefox has updated twice this month alone.

I stopped using the script simply due to it loading pages slow.

Fuzz Bucket
04-05-2010, 07:50 AM
Firefox has updated twice this month alone.

I stopped using the script simply due to it loading pages slow.
I stopped using it... I don't even know how long ago. :P
I currently have other things I am busy with.

As I said before, this script's main purpose was to serve as a proof of concept. Results should be taken with a grain of salt. Keep in mind that using JavaScript for this is a heavy performance penalty and that scraping data, processing it, storing it, and inserting appropriate data it into the DOM over and over again is not a simple task.

Col_
04-26-2010, 10:42 AM
soo, whats the deal with this? every time i edit my profile, it still says error parsing..
It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:2:Error parsing forum profile (Invalid community URL?)

I did it once and it worked, but since that 1 time, nothing

Benji90
05-12-2010, 01:31 PM
My avatars have dissapeared :/ I just get a red box at the top saying my profile is invalid. Im guessing its because of a firefox update but is there any way to change it back?

Fuzz Bucket
05-12-2010, 01:33 PM
My avatars have dissapeared :/ I just get a red box at the top saying my profile is invalid. Im guessing its because of a firefox update but is there any way to change it back?

Make the community URL in your forum profile

http://steamcommunity.com/profiles/76561197986803773/

instead of

http://steamcommunity.com/profiles/76561197986803773


Stupid bug. I know.

Peelz
05-12-2010, 02:36 PM
Make the community URL in your forum profile

http://steamcommunity.com/profiles/76561197986803773/

instead of

http://steamcommunity.com/profiles/76561197986803773


Stupid bug. I know.

This didnt work for me, still having the problem.

lasseholmen
05-12-2010, 02:38 PM
This didnt work for me, still having the problem.

Tried it as well. Got an rather annoying message at the top of my window as well.

It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:2:Error parsing forum profile (Invalid community URL?)

?:confused:?

Edit: And no, I didnt enter those specific numbers, I just put an "/" at the end. Wasnt that the right way to do it...?

Benji90
05-12-2010, 02:49 PM
Make the community URL in your forum profile

http://steamcommunity.com/profiles/76561197986803773/

instead of

http://steamcommunity.com/profiles/76561197986803773


Stupid bug. I know.

sorry dude still the same problem :(

is it working for you?

spooksmagee
05-12-2010, 02:55 PM
FWIW, I'm having the same issue.

Enigma776
05-12-2010, 03:08 PM
Same issue, I am assuming they have plugged the hole for this somewhere which is why it no longer works.

Zedo Mann
05-12-2010, 06:17 PM
It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:2:Error parsing forum profile (Invalid community URL?)
Nobody's Steam info is showing for me. Damn, I liked this script too. Hopefully you can update it to work, Fuzz.

Fuzz Bucket
05-12-2010, 06:27 PM
Nobody's Steam info is showing for me. Damn, I liked this script too. Hopefully you can update it to work, Fuzz.

I stopped using Firefox when 3.6 was released. :P
I had to use a lot of workaround and unorthodox methods to accomplish what the script used to do.

Enigma776
05-12-2010, 07:03 PM
So the script is officially dead then?

Fuzz Bucket
05-12-2010, 07:31 PM
So the script is officially dead then?

With regards to this particular version, yes, it's pretty much dead.

I don't see much point in continuing it, as it was mainly just a proof of concept to show what integration could be like (but, much much faster).

hmmwhatsthisdo
05-12-2010, 07:46 PM
You really should re-make this. Perhaps have it do this:
Load avatars and Game information inside the pulldown menu.
Put images' thumbnails in a mouse-over popup.


This will still cause pages to load like they are, but the page will not expand like it's on Viagra while it's loading, and users will not see things loading (unless they're super fast, and they mouse over the images or click the pulldown menu before the page loads. If they do, they'll see a loading animation.)

ultradude25
05-12-2010, 07:46 PM
I'm using Firefox 3.6.3, and the latest version of the script and everything works perfectly. What are you complaining about? (Although I don't actually use the script, too laggy, I just enabled it to test it)

relaxeder
05-12-2010, 08:14 PM
It may not be worth putting the time into writing a new script if there might be some official avatar support or something in the pipeline soon anyway...

Biohazard_90
05-12-2010, 08:15 PM
Didn't work for me either, seems like they added an hyperlink to the community url of your profile.

I changed function parseUserForumProfile(data){var pattern=/<dt class=\"smallfont\"><strong>Steam Community Profile<\/strong>:<\/dt>\r\n<dd class=\"smallfont\">(http|https):\/\/steamcommunity.com\/(id\/[a-zA-Z0-9_\-]{1,}|profiles\/[0-9]{17})(\/|)<\/dd>/;var match=data.match(pattern);if(match){return match[2];}

to function parseUserForumProfile(data){var pattern=/<a href=\"(http|https):\/\/steamcommunity.com\/(id\/[a-zA-Z0-9_\-]{1,}|profiles\/[0-9]{17})(\/|)\">/;var match=data.match(pattern);if(match){return match[2];}

and now it's working again, hurray.

JOBE!!!
05-13-2010, 08:27 PM
Didn't work for me either, seems like they added an hyperlink to the community url of your profile.

I changed function parseUserForumProfile(data){var pattern=/<dt class=\"smallfont\"><strong>Steam Community Profile<\/strong>:<\/dt>\r\n<dd class=\"smallfont\">(http|https):\/\/steamcommunity.com\/(id\/[a-zA-Z0-9_\-]{1,}|profiles\/[0-9]{17})(\/|)<\/dd>/;var match=data.match(pattern);if(match){return match[2];}

to function parseUserForumProfile(data){var pattern=/<a href=\"(http|https):\/\/steamcommunity.com\/(id\/[a-zA-Z0-9_\-]{1,}|profiles\/[0-9]{17})(\/|)\">/;var match=data.match(pattern);if(match){return match[2];}

and now it's working again, hurray.

So i replaced that in a text editor. Now what do i need to do?

goro421
05-14-2010, 12:11 AM
Is there some way I can just get that red and black box off of there, cause I really like the image viewing part of the script, but that box is annoying the hell out of me.

Or if someone could point me to another script/addon that works the same way, I would be much obliged.

Fuzz Bucket
05-14-2010, 01:05 AM
Is there some way I can just get that red and black box off of there, cause I really like the image viewing part of the script, but that box is annoying the hell out of me.

Or if someone could point me to another script/addon that works the same way, I would be much obliged.
If you can be more specific, I can likely tell you what to remove.

goro421
05-14-2010, 11:46 PM
If you can be more specific, I can likely tell you what to remove.

All I want to keep, now that the community part isn't working, is the image part. (http://i43.tinypic.com/10h0e1v.jpg)

Fuzz Bucket
05-15-2010, 10:02 AM
All I want to keep, now that the community part isn't working, is the image part. (http://i43.tinypic.com/10h0e1v.jpg)

Valve changed the forum profiles. Another user provided a fix in one of the above posts.

Fuzz Bucket
05-15-2010, 01:32 PM
So i replaced that in a text editor. Now what do i need to do?
If you edited the local version that GreaseMonkey uses, you shouldn't have to do anything.

If you edited another version, you'll have to install the modified version.

I might get around to releasing another version...

ultradude25
05-15-2010, 07:15 PM
Maybe you should release it in parts, like some people may only want the avatars, some people may only want the linked image loader.

DarthSatoris
06-01-2010, 03:23 PM
What the hell is wrong with my script? It has started to screw up on me, giving me this message:

"It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:2:Error parsing forum profile (Invalid community URL?"

In a big red framed box and no avatars, no signatures, nothing shows up.

Is there a trouble shooter, or is the script outdated? :confused:

Biohazard_90
06-01-2010, 03:44 PM
What the hell is wrong with my script?[...]

Did you try that (http://forums.steampowered.com/forums/showpost.php?p=14918070&postcount=400)? It's still working for me atm at least...

Fuzz Bucket
06-02-2010, 07:33 AM
What the hell is wrong with my script? It has started to screw up on me, giving me this message:

"It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:2:Error parsing forum profile (Invalid community URL?"

In a big red framed box and no avatars, no signatures, nothing shows up.

Is there a trouble shooter, or is the script outdated? :confused:

Valve changed the forum profile pages.

hmmwhatsthisdo
06-02-2010, 07:20 PM
FB, can you change it on your server? That way, those who download it from now on won't come here, wondering why it isn't working.

Fuzz Bucket
06-02-2010, 08:29 PM
FB, can you change it on your server? That way, those who download it from now on won't come here, wondering why it isn't working.

I'll make that change, but I won't test it extensively or anything.

hmmwhatsthisdo
06-07-2010, 08:41 PM
I have a feeling that this might be the cause of the lack of settable settings:

The following is being spammed like hell to the error console every time the script is loaded:

Second argument not specified: Value
chrome://greasemonkey/content/miscapis.js Line: 11

hmmwhatsthisdo
06-30-2010, 11:46 AM
It appears to be down again.

It appears as though you have not yet entered a valid, working steam community url into your forum profile.
Please do so as soon as possible by editing your profile.
Error:false:false

maddima
07-02-2010, 01:55 PM
yeah
same here -.-

Fuzz Bucket
07-02-2010, 06:47 PM
I'll likely look in to it the next time I'm bored with nothing to do.

Time to try Firefox again, I suppose... -_-

DarthSatoris
08-11-2010, 08:39 AM
Is something being done? I miss my avatars... :(

Enigma776
08-11-2010, 08:43 AM
Is something being done? I miss my avatars... :(

Everything seems ok with mine I can see avatars and sigs. Can not see anything wrong at all.

Fuzz Bucket
08-11-2010, 01:38 PM
Is something being done? I miss my avatars... :(

I've just decided to start on a Safari extension. From what I've read, it will be a lot more friendlier to work with (read: I won't have to worry about workarounds).

macrylinda
08-13-2010, 05:49 PM
The script is a total failure

I accept with information:
A few things I don't really like:
- Using the community name and then putting the forum name under it. I prefer it the other way around as it's easier for identification of forum users.
- The parsing error looks bad and it's not really needed. If there's no avatar it's pretty obvious they don't have a profile.
- Avatars are centered instead of left-aligned.
- The big avatars. Anyways for you to pull _medium.jpg instead of _full.jpg?


__________________
watch free movies online (http://moviesonlinefree.biz/)

viehrea_siili
08-15-2010, 06:30 AM
Pretty nice script :P Nice way to get custom avatars :P

ultradude25
08-16-2010, 02:31 AM
The script works fine. It's just settings that don't work. I've been trying to go through manually to remove everything but avatars. :(

Enigma776
09-22-2010, 09:08 AM
Broke again even with the adjustment, I am assuming the recent forum update broke it.

ernest.
09-22-2010, 11:01 AM
yeppers its broke

hmmwhatsthisdo
09-22-2010, 10:31 PM
Ooh! I found an interesting bug!

ATM, all of the forum posts that have quotes in them are blank while the script is active.

Noob-ber-ry
09-24-2010, 10:48 AM
It broke; I see blank posts

Fuzz Bucket
09-24-2010, 11:03 AM
Well, you know, these sorts of things happen when the structure the script gets it's data from is changed.

hmmwhatsthisdo
10-13-2010, 07:32 PM
So, is the Greasemonkey script officially EOL?

eeh44
10-13-2010, 08:55 PM
This looks interesting. Any chance for an update/fix?

Fuzz Bucket
10-14-2010, 01:22 AM
This looks interesting. Any chance for an update/fix?

This:

I've just decided to start on a Safari extension. From what I've read, it will be a lot more friendlier to work with (read: I won't have to worry about workarounds).

The API for Safari extensions really is nice. Unfortunately, it's going rather slow as I do not have a lot of time to put in to it.

eeh44
10-14-2010, 06:34 AM
Any chance for an update/fix on browsers people actually use?

Fuzz Bucket
10-14-2010, 09:20 AM
Any chance for an update/fix on browsers people actually use?

Implying that nonone uses Safari?

No other browser makes it even remotely possible. The only reason it worked with Firefox was because of GreaseMonkey, the combination if which I am tired of dealing with.

eeh44
10-14-2010, 04:00 PM
5% usage share.

Greasemonkey scripts can be compatible with Chrome and Opera, too. And I've seen plenty extensions converted from GM scripts, as well.

Anyway, it's your call. Just my $0.02.

Mangr0v3
10-14-2010, 05:14 PM
The right Greasemonkey APIs aren't available in Chrome IIRC.

Fuzz Bucket
10-14-2010, 10:05 PM
5% usage share.

Greasemonkey scripts can be compatible with Chrome and Opera, too. And I've seen plenty extensions converted from GM scripts, as well.

Anyway, it's your call. Just my $0.02.

Wrong. Chrome and Opera lack special functionality that GreaseMonkey provides. If a GreaseMonkey script relies on this special functionality (which this did, heavily), there is no way to port the script to Chrome or Opera. I have found Opera's support for emerging technologies to be rather laughable recently, anyway.

Like I said, neither Chrome, Opera, Firefox, or any other browser that I know of (with third party modifications or without) offers the flexibility that Safari's extension API offers out of the box. Beyond the extension API, I have found that Safari offers a better platform in general, from a developer's perspective.

Mangr0v3
10-14-2010, 10:18 PM
Then you miss out on this script. And lots of other things too.

hmmwhatsthisdo
10-14-2010, 10:21 PM
Ok then. I'm not going to turn this thread into a Mac Vs. thread. But, Safari isn't as widely used as Firefox, Opera, Chrome, etc. Perhaps try contacting a Valve employee to see if they'll integrate your extension?

Fuzz Bucket
10-14-2010, 10:27 PM
Ok then. I'm not going to turn this thread into a Mac Vs. thread. But, Safari isn't as widely used as Firefox, Opera, Chrome, etc. Perhaps try contacting a Valve employee to see if they'll integrate your extension?

If / when Valve does it, I would hope they would not do it with Javascript.

The only reasons I am using Javascript is because I do not have direct access to the database(s) containing the data use and people did not trust the version I wrote in PHP and ran on my server, even though it was faster and technically just as "safe" as the javascript version.

hmmwhatsthisdo
10-14-2010, 10:35 PM
Well, try firing off PMs to some of the Valve employees on the forums and see if any of them respond. It may be that they're willing to collaborate with someone to implement a cool feature into the forums. Perhaps tell them that since it's a forum for a gaming platform, perhaps it should say how the forum user is currently using the platform.

EDIT: Could Mozilla Jetpack (http://mozillalabs.com/jetpack/) be a viable alternative to Greasemonkey?

Mangr0v3
10-14-2010, 10:38 PM
I get the feeling this might come with the new Steamworks integration for DotA 2.

Fuzz Bucket
10-14-2010, 10:42 PM
I get the feeling this might come with the new Steamworks integration for DotA 2.

Why would that be the case?

Fuzz Bucket
10-14-2010, 10:45 PM
Well, try firing off PMs to some of the Valve employees on the forums and see if any of them respond. It may be that they're willing to collaborate with someone to implement a cool feature into the forums. Perhaps tell them that since it's a forum for a gaming platform, perhaps it should say how the forum user is currently using the platform.

EDIT: Could Mozilla Jetpack (http://mozillalabs.com/jetpack/) be a viable alternative to Greasemonkey?

I have discussed it with Burton in the past.

I have looked at Jetpack before. It looks to be too proprietary for my interests and the documentation does not seem to guarantee the functionality that I require. I don't like getting in to things like that.

Mangr0v3
10-14-2010, 10:50 PM
Why would that be the case?

The bulk of innovation in Dota 2, however, is ancillary to the gameplay itself. Valve is upgrading Steamworks (the company's backend technologies for matchmaking and other gameplay and community-related things) to allow them to create in-game rewards for participating in the Dota 2 community. The idea is to have everything a player does in or out of game tie back into their online identity. Like the improvements to Source, the Steamworks upgrades will be available to third-party developers who choose to use Valve's tools when Dota 2 launches in 2011.

char post[5];

hmmwhatsthisdo
10-20-2010, 07:26 PM
So, if Valve decided that they wanted to rip off FB, couldn't they get in loads of trouble? (not that they would, of course)

loraliromance
10-25-2010, 01:30 AM
So Mr.FuzzBucketAwesome.

Any chance for an update? I'm using greasemonkey for another script so I had to delete this one because it was messing up steam forums since their update a bit ago.

No rush, just hoping you do update it. I love it :)

Unless it's already been updated and the OP's last edit date isn't proper. :3

Fuzz Bucket
11-27-2010, 10:08 AM
Coming along (http://seirmubsa.com/tmp/desktop/Screen%20shot%202010-11-27%20at%202.15.53%20AM.png)

Started last night since I've got some free time.

Pretty sure this version will require you to supply your own Steam Web API key (http://steamcommunity.com/dev/apikey).

Definitely faster due to the extension APIs and structure. I have it so that all data aggregation is handled by the global page and cached with local SQL storage.

hmmwhatsthisdo
11-27-2010, 01:22 PM
So, does that mean that development has stopped for any browsers other than Safari?

Fuzz Bucket
11-27-2010, 02:26 PM
So, does that mean that development has stopped for any browsers other than Safari?

Unless there is another browser that provides the kind of APIs and functionality that Safari provides that I don't currently know about, yes.

The Extension Architecture (http://developer.apple.com/library/safari/#documentation/Tools/Conceptual/SafariExtensionGuide/ExtensionsOverview/ExtensionsOverview.html%23//apple_ref/doc/uid/TP40009977-CH15-SW4) (particularly, the "global" page aspect) and the Extension Javascript API (http://developer.apple.com/library/safari/#documentation/Tools/Conceptual/SafariExtensionGuide/ExtensionsOverview/ExtensionsOverview.html%23//apple_ref/doc/uid/TP40009977-CH15-SW6) allow writing this kind of thing a lot easier and, in this implementation, make the product noticeably faster.

Edit:
Current preview (http://seirmubsa.com/tmp/desktop/Screen%20shot%202010-11-27%20at%204.29.22%20PM.png)
Current preview (preference pane) (http://seirmubsa.com/tmp/desktop/Screen%20shot%202010-11-27%20at%204.29.42%20PM.png)

Mangr0v3
11-27-2010, 04:12 PM
Time for Community Integration v3?

Fuzz Bucket
11-27-2010, 04:42 PM
Time for Community Integration v3?

Some time soon (http://seirmubsa.com/tmp/desktop/Screen%20shot%202010-11-27%20at%206.42.00%20PM.png)

Fuzz Bucket
11-29-2010, 12:30 PM
It looks like I will be forced to move the majority of the logic to a script on my server to meet Valve's Web API Terms of Use (http://steamcommunity.com/dev/apiterms).

This could possibly open the possibility of other browsers.

Mangr0v3
11-29-2010, 04:07 PM
*holds out for a Chrome extension for RockMelt*

Fuzz Bucket
11-30-2010, 12:57 PM
It looks like it will be doable for Google Chrome (http://code.google.com/chrome/extensions/background_pages.html). It doesn't look as polished, though. I likely won't be able to support it as well, either.

Firefox still looks like it will be out in the dark.

Fuzz Bucket
12-01-2010, 08:02 AM
Unfortunately, the provided Web API does not offer all of the information needed. I will either have to wait for an update or return to scraping data.

BS_1
12-01-2010, 01:48 PM
looks quite cool...

http://img156.imageshack.us/img156/8980/mehd.png
Look at that sexy forum. :(

HammerLegionary
12-02-2010, 01:35 PM
No body cares about Opera :(

Fuzz Bucket
12-02-2010, 01:38 PM
No body cares about Opera :(

Last time I used Opera (version 10.61) it failed at some pretty basic standards. I don't know if it even supports extensions like this.
If you care to research the topic to see if Opera supports extensions in the same way as Safari and Chrome, have at it.

thejuice027
12-02-2010, 05:22 PM
I am trying this with chrome, doesn't seem to be working. :(

EDIT: ok, just read somewhere in pages 19 that i need greesemonkey. I confused
EDIT 2: ok, read some more, greasemonkey don't work good enough in chrome

so this no work in chrome i guess. too bad.

notavirus.exe
12-03-2010, 07:55 AM
I am trying this with chrome, doesn't seem to be working. :(

EDIT: ok, just read somewhere in pages 19 that i need greesemonkey. I confused
EDIT 2: ok, read some more, greasemonkey don't work good enough in chrome

so this no work in chrome i guess. too bad.

From my understanding Fuzz is creating it for Safari using the Java API's, and it looks like the similarities in scripting between Safari and Chrome will allow Fuzz to change a few small things and transfer it over to chrome.

but thats just how it looks to me, a nobody.

Fuzz Bucket
12-03-2010, 08:00 AM
From my understanding Fuzz is creating it for Safari using the Java API's, and it looks like the similarities in scripting between Safari and Chrome will allow Fuzz to change a few small things and transfer it over to chrome.

but thats just how it looks to me, a nobody.

Correct. Except it's JavaScript, not Java. Similarities in the extension APIs should make it fairly simple to port from Safari to Chrome. The Chrome version just won't have easily accessible settings, from what I can tell.

Version 1 (the content-modifying PHP "proxy" I hosted) is not reachable anymore, Version 2 (the Firefox GreaseMonkey script) is defunctional due to steamcommunity.com, forums.steampowered.com, Firefox, and GreaseMonkey updates, and Version 3 (Safari/Chrome extension) is not released yet.

Version 2 would never have worked in any browser other than FireFox.

Mangr0v3
12-04-2010, 02:51 AM
Correct. Except it's JavaScript, not Java. Similarities in the extension APIs should make it fairly simple to port from Safari to Chrome. The Chrome version just won't have easily accessible settings, from what I can tell.

Can't you build something into the chrome://extensions/ options panel?

Fuzz Bucket
12-04-2010, 12:08 PM
Can't you build something into the chrome://extensions/ options panel?
As long as it doesn't require JS to construct. :P

notavirus.exe
12-06-2010, 10:24 AM
This may or may not help you in your quest for browser statistics. I found it while trying to read up on js.

One day, with all the things I read up on, I might actually be able to contribute a little to the community.

Browser Statistics (http://www.w3schools.com/browsers/browsers_stats.asp)

hmmwhatsthisdo
12-09-2010, 06:44 PM
They've updated Jetpack. (http://blog.mozilla.com/addons/2010/12/09/announcing-add-on-sdk-1-0b1/) Still not a viable environment for creating Community Integration v3?

Fuzz Bucket
12-09-2010, 06:56 PM
They've updated Jetpack. (http://blog.mozilla.com/addons/2010/12/09/announcing-add-on-sdk-1-0b1/) Still not a viable environment for creating Community Integration v3?

At a glance, it looks way to different compared to the minuscule differences between Safari and Chrome. The documentation isn't doing to might for me right now, either.

I might consider it when I have more time to read over it.

notavirus.exe
12-13-2010, 07:01 AM
Well I was going to come here to tell Fuzz I enrolled in a class for next semester on JavaScript, but...well

[leaves quickly]

Fozzy the bear
12-13-2010, 08:09 AM
What happened to Fuzz Bucket?

thejuice027
12-13-2010, 09:10 AM
NOOOOOOOOOO, I need Fuzz unbanned so he can finish his work! god damn it!

DIENER
12-13-2010, 09:21 AM
What was he banned for?

Spiderm4N
12-13-2010, 11:56 AM
what happened? :[

hmmwhatsthisdo
12-13-2010, 06:08 PM
Dear god.

So, uhm, now what do we do?

Fozzy the bear
12-14-2010, 02:27 AM
Fuzz Bucket has been on the Valve forums before it was cool to be on the Valve forums.

I demand a mod to tell us why he was banned!

EDIT:

I found this. But it still doesn't explain much.
http://forums.steampowered.com/forums/showpost.php?p=19420011&postcount=351

eeh44
01-05-2011, 02:39 PM
So when's V3 coming out?

PhamousVegas
01-05-2011, 03:02 PM
So when's V3 coming out?

Never, probably.

notavirus.exe
01-05-2011, 04:47 PM
Never, probably.

rumor is fuzz be back when he gets the fuzz off his trail. I look forward to V3 is he wants to put it out.

PhamousVegas
01-05-2011, 06:28 PM
rumor is fuzz be back when he gets the fuzz off his trail. I look forward to V3 is he wants to put it out.

Seems like a permaban to me, I would expect his new account to get banned as well if he releases a v3.

mwmdragon
01-08-2011, 12:28 AM
Gotta follow the rules here, I guess. Maybe he will keep working on it, maybe he will hate on Steam for a while... dunno.

Zedo Mann
02-03-2011, 08:44 AM
Maybe we could contact him and ask how it's going?
http://forums.steampowered.com/forums/member.php?u=304636