Jump to content


Request -- Greasemonkey script for forum

greasemonkey stats

  • This topic is locked This topic is locked
16 replies to this topic

Phelps #1 Posted Mar 15 2013 - 21:59

    First lieutenant

  • Players
  • 18779 battles
  • 866
  • Member since:
    04-24-2011
Can someone who is skilled in greasemonkey take my idea and run with it?  I'm thinking of a sort of XVM for the forums.  I would like to see two levels of functionality:

First, a level that recolors the background of a post based on the stats of the player, preferably customizable to win rate, wn7, noobmeter, some combination of those.  (Just plain win rate would be a nice start.)

If that was possible, the second level of functionality would be if you could set a cutoff level where you could autocollapse replies based on those stats (like how slashdot handles scores on comments.)  A sort of ignore for bad players (with the user deciding what qualifies as "bad" to them.)

Is this something anyone would be interested in creating (or using?)  I personally just don't find anything useful in posts by 44% players. I don't want to censor them -- I just don't want to have to wade through their replies to see what people better at the game than me think.

Mechron #2 Posted Mar 15 2013 - 22:00

    Captain

  • Players
  • 13627 battles
  • 1,199
  • Member since:
    11-12-2011
This site isn't a game. You can't mod it.

RedAlert2010 #3 Posted Mar 15 2013 - 22:10

    Major

  • Beta Testers
  • 20526 battles
  • 2,050
  • [CYNIC] CYNIC
  • Member since:
    09-14-2010

View PostMechron, on Mar 15 2013 - 22:00, said:

This site isn't a game. You can't mod it.

You can, but not to the extent the OP would like.

Viruzzz #4 Posted Mar 15 2013 - 22:19

    First lieutenant

  • Players
  • 16804 battles
  • 900
  • Member since:
    09-26-2012

View PostMechron, on Mar 15 2013 - 22:00, said:

This site isn't a game. You can't mod it.
you can mod anything. Your browser is a client and can be told to display everything in whatever way you desire.

Mydragonsfly #5 Posted Mar 15 2013 - 22:26

    Major

  • Players
  • 8394 battles
  • 5,698
  • Member since:
    05-01-2011
I suppose my 52% hide is gonna be hidden from a lot of people.  :Smile_sad:

Phelps #6 Posted Mar 15 2013 - 22:49

    First lieutenant

  • Players
  • 18779 battles
  • 866
  • Member since:
    04-24-2011

View PostMechron, on Mar 15 2013 - 22:00, said:

This site isn't a game. You can't mod it.

You are wrong.

http://en.wikipedia....ki/Greasemonkey

Phelps #7 Posted Mar 16 2013 - 00:17

    First lieutenant

  • Players
  • 18779 battles
  • 866
  • Member since:
    04-24-2011

View PostMechron, on Mar 15 2013 - 22:00, said:

This site isn't a game. You can't mod it.

Just checked his stats.  Case.  In. Point.

General Insults
Warn Issued

~GM/Mod Team

misscleo #8 Posted Mar 16 2013 - 03:31

    Major

  • Beta Testers
  • 19857 battles
  • 2,130
  • Member since:
    12-02-2010
I think it's a good idea. It could be done relatively easily, but who's going to host the data? Send a PM to azdel and ask him about it, he might even make the script himself.

Phelps #9 Posted Mar 16 2013 - 15:29

    First lieutenant

  • Players
  • 18779 battles
  • 866
  • Member since:
    04-24-2011

View Postmisscleo, on Mar 16 2013 - 03:31, said:

I think it's a good idea. It could be done relatively easily, but who's going to host the data? Send a PM to azdel and ask him about it, he might even make the script himself.

I may relearn some JavaScript to try it myself, but I don't know how efficient it would be without some kind off caching, which I know îs beyond my abilities. But if it just starts out by grabbing w/r off the main wot site and changing some CSS, I might be able to get it started.

Mechron #10 Posted Mar 16 2013 - 16:27

    Captain

  • Players
  • 13627 battles
  • 1,199
  • Member since:
    11-12-2011

Quote

Greasemonkey is a Mozilla Firefox extension

Im not using fire fox. Duh.

misscleo #11 Posted Mar 16 2013 - 20:47

    Major

  • Beta Testers
  • 19857 battles
  • 2,130
  • Member since:
    12-02-2010

View PostPhelps, on Mar 16 2013 - 15:29, said:

I may relearn some JavaScript to try it myself, but I don't know how efficient it would be without some kind off caching, which I know îs beyond my abilities. But if it just starts out by grabbing w/r off the main wot site and changing some CSS, I might be able to get it started.
Can use the set/getvalue functions or even save locally using localstorage/cookies. What I was thinking is just fetching the data straight from wotlabs, if azdel is okay with it anyway. Just did a quick search for an example you can look at or butcher if you want. I particularly like how the outline of the forum posts border is colored according to the rating. Having something similar or even just for around the avatars would be neat.

When I have the time I'll try to rig something up.


View PostMechron, on Mar 16 2013 - 16:27, said:

Im not using fire fox. Duh.
What? lol Anyway you don't need FF, any web-kit browser (probably even IE) will work fine.

iamablocker #12 Posted Mar 16 2013 - 21:07

    Captain

  • Players
  • 9092 battles
  • 1,818
  • Member since:
    02-02-2011
I remember something similar that Garbad posted a long time ago.

I also remember said topic being locked, junked and trashed to oblivion and back.

I tried searching, nothing.

Boom_Box #13 Posted Mar 16 2013 - 21:19

    First lieutenant

  • Beta Testers
  • 11752 battles
  • 905
  • [REL-V] REL-V
  • Member since:
    11-17-2010
What you want is certainly doable but there are a couple problems to deal with. One is just looking up the stats for every poster and the other is the possibility of a forum name not being tied to an actual game account. I would also expect that forum HTML changes on a regular basis, making script maintenance a pain in the ass.

ed. Although the proposed tool doesn't sound very appealing to me, I am considering working on a simpler version that completely removes "ignored user" messages and also any post that quotes an ignored user. This not only achieves my personal desire to not ever see an ignored user post, is also gets the whole point of using nuclear weapons.

Edited by Boom_Box, Mar 16 2013 - 23:19.


alphawolff #14 Posted Mar 17 2013 - 00:59

    Corporal

  • Players
  • 3254 battles
  • 36
  • Member since:
    02-22-2011
It's completely doable, but would significantly reduce loading times as the script would have to ping the server with all the information. Doubt it would be realisticly usuable.

misscleo #15 Posted Mar 17 2013 - 02:04

    Major

  • Beta Testers
  • 19857 battles
  • 2,130
  • Member since:
    12-02-2010

View Postalphawolff, on Mar 17 2013 - 00:59, said:

It's completely doable, but would significantly reduce loading times as the script would have to ping the server with all the information. Doubt it would be realisticly usuable.
Do you mean increase page load times? At any rate the page would load normally and would be fully functional. The stats will however take some time to be fetched and displayed.

Phelps #16 Posted Mar 17 2013 - 19:53

    First lieutenant

  • Players
  • 18779 battles
  • 866
  • Member since:
    04-24-2011

View Postmisscleo, on Mar 17 2013 - 02:04, said:

Do you mean increase page load times? At any rate the page would load normally and would be fully functional. The stats will however take some time to be fetched and displayed.

That's my main concern.  I don't have the skill to either have the stats load as they are recieved while the page initially displays, or to cache the fetched stats for a while (especially since you see the same couple of hundred characters over and over on the forums.)

Phelps #17 Posted Mar 17 2013 - 19:54

    First lieutenant

  • Players
  • 18779 battles
  • 866
  • Member since:
    04-24-2011

View PostBoom_Box, on Mar 16 2013 - 21:19, said:

One is just looking up the stats for every poster and the other is the possibility of a forum name not being tied to an actual game account.

I would be perfectly happy for non-Dev accounts like that to be marked as a 0% win rate, for my own purposes at least.  Those accounts are almost certainly troll accounts.





Also tagged with greasemonkey, stats

1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users