tremor_coin_svg
Forums > Tremor Games >[Userscript] Tremor Games Enhanced
12345»Last »1 Pages of 5Go
Nov 23 2015 16:59
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

F7KV23c.png

.

Introduction

This userscript adds a lot of new and improved features to TremorGames.
We would love to hear your feedback, and also add new requested features.
If possible, we could add your suggestion you posted in the Suggestions For Tremor Games forum.
Just post it below!

.

Features

  • Adds new configuration options in the TremorGames settings page
  • Adds last page button in topics
  • Adds last post feature in topics
  • Adds unsubscribe button for subscribed topics
  • Adds the ability to hide shop items which you can't afford
  • Adds a button to enter all giveaways at once
  • Adds an option to remove owned wishlisted items (for steam)
  • Adds an option to hide out of stock wishlisted items
  • Adds a feature that expands your whole wishlist and makes it sortable
  • Adds a feature that alerts you if you own a steam game in the game purchase page
  • Adds multi-selection PM delete
  • Adds an "export game keys and links" button in your inventory
  • Adds an "expand inventory" items button in your inventory
  • Adds custom order button on steam item page (https://i.imgur.com/8zbrlAb.png)
  • Adds autocomplete and carts features for custom order
  • Adds fix for invalid URL for custom order
  • Adds a simple text editor for the post boxes
  • Adds proper steam integration
  • Adds a report system for forum posts and chat messages
  • Adds a floating chat

.

Instructions

1) Install the extension/addon Tampermonkey
2) Download TGE.user.js (see below: direct download)
3) Greasemonkey should ask if you want to install it, press "install"
4) Go to your tremorgames settings page
5) Enable your preferred settings
6) Enjoy!

.

Download

Version 1.4.19 - 02/03/2017

.

Changelog

Version 1.4
Cleaned and optimized code
Added autocomplete search feature for Custom Order
Added basket feature for Custom Order
Added a steam sync option in settings (auto-sync once per day)
Added "Remove all owned items on Steam"-button for wishlist
Added text editor features
Improved giveaways features
Improved wishlist features
Improved steam owned check for shop items
Improved multi-delete PM for inbox
Extended settings with new options

Version 1.3
Added feature that auto-checks if you own the current store item on steam.
Added multi-selection PM delete
Added export items button
Added expand items button
Added custom order button on steam item page (https://i.imgur.com/8zbrlAb.png)
Added fix for invalid URL for custom order
Added number of giveaways and costs to the enter all button on the giveaways page (https://i.imgur.com/vNspmRQ.png)

Version 1.2
Added feature that auto-expands your whole wishlist and make it sortable.

Version 1.1
Added option to remove owned wishlist items.
Improved the buttons in the settings page.

Version 1.0
Initial release.

.

Developers

.

Ideas and Todo

  • This suggestion
  • Remove Redeem button if item is out of stock
  • Add comment editor for other things, like composing an PM or editing an reply
  • Add custom CSS with classes that helps with our custom elements (no more using style attribute) and make hyperlinks more visible
  • Fix showing out of stock items on first page of Tremor Rewards (it's still a bit buggy)
  • Add support for packages in custom order autocomplete (how though?)
  • Improve steam integration using dynamic store API instead
  • Wishlist generator/sync using steam wishlist
  • Store old PM's in localStorage or GM_Value for archive purposes
  • Export PM's to file
  • Preview PM's
  • Auto-accept all friend requests
  • Add a sentbox by sending a copy of your sent PM to yourself
  • Add an option to send PM to multiple users
  • Add an option to send PM to all your referrals
  • Export Tremor Rewards like this
  • Add a reveal button to your rewards and remember using localStorage or GM_Value and make it compatible with the export feature
  • Add steam store links to Tremor Rewards front page (maybe only when checking for owned games)
  • Add price history for Tremor Steam Rewards using isthereanydeal API
  • Add a blacklist option to ignore users on the forums and chat and store it using localStorage or GM_Value
  • Add a blacklist option to always hide certain Tremor Rewards and store it using localStorage or GM_Value
  • Add more configuration options and use a function in the code to generate the config options. [r]
  • Add a refund request option/button with a nice setup and template
  • Add a report issue with tremor reward option/button with a nice setup and template
  • Add a unlink steam account request option/button with a nice setup and template
  • Add a stock request option/button with a nice setup and template (ask for on sale, on steam, etc)
  • Keyboard shortcuts
  • Recent posts section [b]
  • Mention somebody when posting
  • Dynamically load next pages when browsing the site
  • See when something is dynamically loading
  • Fix Submit button for composing message, as TremorGames screwed that one up
  • Add options to share this script to your friends
  • Optimize script to work for more browsers and userscript managers
  • Improve the code
  • Maybe look into converting this to an extension/addon (and add desktop notifications)
  • Maybe add a donate option?
Nov 24 2015 01:44
spiralll
Level : 2
Posts : 138

Total Coins Earned :
333845

Coins Balance        :
3723

Items Worth            :
$10410

Join Date                : Jun 13 2013

Very nice. As hiding items in the rewards is possible, I would love the ability to hide purchased rewards or even an option to hide items manually.

Nov 24 2015 12:50
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Originally posted by spiralll

Very nice. As hiding items in the rewards is possible, I would love the ability to hide purchased rewards or even an option to hide items manually.

Nice idea! Thanks!

Nov 29 2015 17:42
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Version 1.1
Added option to remove owned wishlist items.
Improved the buttons in the settings page.

Nov 30 2015 13:42
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Could this topic be stickied?
Appreciate it :)

Nov 30 2015 18:06
snipah
Level : 9
Posts : 1873

Total Coins Earned :
193532

Coins Balance        :
2316

Items Worth            :
$3624

Join Date                : Jul 29 2013

If I may suggest something, hope I am not crossing the line.

Your code is much longer than it should be (Even though I never coded in JavaScript, I have enough coding time in Java and Python).

For example the starting ifs don't require "else if" but rather only "else" (If something isn't false then it is true, no point checking it out).


The toggle functions don't need such big if statements (You can write something like "GM_setValue("bGiveaways", !bGiveaways);" for the first one and similar changes to all the toggle functions to have 2 lines of code and then followed by an if that will do the last part, for example:

GM_setValue("bGiveaways", !bGiveaways);
bGiveaways=!bGiveaways;
if(!bGiveaways)
++ document.getElementById("toggleG").innerHTML="Giveaways: On";
else
++ document.getElementById("toggleG").innerHTML="Giveaways: Off";


All the StoreDels functions can be combined into one that will receive a number and will forward it to the rest of the method, like:

function StoreDels(var i)
{
++ blocklist = blocklist.concat(hereHref[i].text);
++ GM_setValue("blocklist", JSON.stringify(blocklist));
++ $("tr:contains('"+hereHref[i].text+"')").hide();
}

All the pluses are to make space (Seeing as posts don't like pointless spaces (Part of the reason it shows it as HTML)).
Overall, the code appears safe but I only quickly looked through it.
Loved the idea though, great work.

Nov 30 2015 19:35
Defekte
Level : 5
Posts : 176

Total Coins Earned :
301292

Coins Balance        :
6816

Items Worth            :
$6582

Join Date                : Oct 20 2015

It would be nice to tell the people how to use/activate the script, I have no clue how to do it.
Do I have to use Greasemonkey in Firefox?

Dec 01 2015 03:55
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

@snipah, sure! You are always welcome to suggest something!
I do like spaces in the code (as suggested by the official Java Coding Standard), but yeah, I agree that it should not be overdone.
Yeah, good tip about the toggle and StoreDels functions. That part of the code I didn't do, but my partner did. I'll simplify and improve it next time when I have time.

@Defekte, sure thing. I'll edit the topic right now.

Dec 01 2015 04:30
Defekte
Level : 5
Posts : 176

Total Coins Earned :
301292

Coins Balance        :
6816

Items Worth            :
$6582

Join Date                : Oct 20 2015

Thx Royalgamer06...I appreciate your work for the community...good guy +rep^^

Dec 01 2015 05:48
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Thanks! :D

Dec 01 2015 09:13
PaddyL94
Level : 4
Posts : 37

Total Coins Earned :
31078

Coins Balance        :
166

Items Worth            :
$1602

Join Date                : Aug 25 2015

should be pinned!

Dec 24 2015 10:01
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Any feature requests?
Or any feedback would be appreciated!

Jan 07 2016 18:31
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

NEW VERSION RELEASED!

Version 1.2
Added feature that auto-expands your whole wishlist and make it sortable.

Jan 08 2016 07:51
The_legoguy22
Level : 2
Posts : 52

Total Coins Earned :
4288

Coins Balance        :
28

Items Worth            :
$88

Join Date                : Nov 9 2015

Great work!

Jan 08 2016 08:39
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

NEW HOTFIX RELEASED

Version 1.2.2
Fixed inproper max pages reading for wishlist
Added check if you are viewing own wishlist or someone else's

Jan 08 2016 08:42
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Originally posted by The_legoguy22

Great work!

Thanks!

Jan 09 2016 13:44
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

NEW VERSION RELEASED!

Version 1.3
Added feature that auto-checks if you own the current store item on steam.
Added multi-selection PM delete
Added export inventory items button
Added expand inventory items button

Jan 09 2016 21:30
LilH3ro
Level : 4
Posts : 125
Moderator

Total Coins Earned :
1584270

Coins Balance        :
107

Items Worth            :
$15262

Join Date                : Jun 25 2013

This got some pretty awesome features! +1 from me. Hope to see more added to this in the future

Jan 09 2016 22:23
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Thanks!

Jan 11 2016 10:32
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Bump

Jan 11 2016 11:26
tremorgames
Level : 4
Posts : 3199
Admin

Total Coins Earned :
1258931

Coins Balance        :
847913

Items Worth            :
$2828

Join Date                : May 30 2012

These are some good features :)

Jan 11 2016 16:16
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Originally posted by tremorgames

These are some good features :)

:smile:
Thanks for having interests and sticky this topic!!
Means a lot!

Jan 13 2016 12:09
csgosuchti
Level : 3
Posts : 23

Total Coins Earned :
28946

Coins Balance        :
88

Items Worth            :
$2648

Join Date                : Jan 29 2015

Will Greasemonkey impact my Surfing Speed in any way?
Nice script by the way :u7533:

Jan 13 2016 16:26
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

V1.3.2 released

Originally posted by csgosuchti

Will Greasemonkey impact my Surfing Speed in any way?
Nice script by the way :u7533:

Depends. More scripts = more code to execute = the longer it takes for a page to load.
Anyway, I don't notice that this userscript affects the loading speed.

Jan 14 2016 13:05
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

V1.3.3 released!
Added more setting buttons
Added tooltip images for setting buttons
Added detection if you have steam account
Added loading bar when checking for steam game ownership
Replaced steamID cookie solution with GM_value solution

Jan 20 2016 10:40
Lukeeen
Level : 2
Posts : 2

Total Coins Earned :
5516

Coins Balance        :
0

Items Worth            :
$6

Join Date                : Jul 30 2015

nice, thx

Jan 20 2016 11:50
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Originally posted by Lukeeen

nice, thx

You're welcome!

Jan 21 2016 13:51
csgosuchti
Level : 3
Posts : 23

Total Coins Earned :
28946

Coins Balance        :
88

Items Worth            :
$2648

Join Date                : Jan 29 2015

It would be absolutely sick if you could manually hide Items from the Store.
I see myself checking the same Item over and over again...
Or if the Script could automatically hide Items I own in Steam.

Another thing I noticed: Can't toggle the Steam Button in the Settings page.
Always goes back to Off after saving & reloading or opening in a new tab.
I also don't see the "you own this item"-message, which makes me sure it's off.

But don't get me wrong... I really love this script already. :)
keep up the good work and thanks for improving tremorgames (highly needed!).

Jan 21 2016 20:45
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Thank you very much! Your suggestion should be possible!
About steam, did you link your steam account to tremorgames?
If so, could u please send a screenshot how it looks like? (I cant test myself)

Jan 21 2016 21:49
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

It needs more work, but for now you can try this:
http://pastebin.com/raw/yfBYYFyJ
new:
http://pastebin.com/raw/W5A5wCyW

To use:
Go to http://www.tremorgames.com/index.php?action=shop. Press F12 and go to the console tab. Then paste the above code and execute it.

Jan 22 2016 06:02
csgosuchti
Level : 3
Posts : 23

Total Coins Earned :
28946

Coins Balance        :
88

Items Worth            :
$2648

Join Date                : Jan 29 2015

Originally posted by Royalgamer06

Thank you very much! Your suggestion should be possible!
About steam, did you link your steam account to tremorgames?
If so, could u please send a screenshot how it looks like? (I cant test myself)

No Problem! Nice :)
Yes :)
http://i.imgur.com/lsOdQ9Q.png - Is this what you needed to see?

Jan 22 2016 06:18
csgosuchti
Level : 3
Posts : 23

Total Coins Earned :
28946

Coins Balance        :
88

Items Worth            :
$2648

Join Date                : Jan 29 2015

Originally posted by Royalgamer06

It needs more work, but for now you can try this:
http://pastebin.com/raw/yfBYYFyJ

To use:
Go to http://www.tremorgames.com/index.php?action=shop. Press F12 and go to the console tab. Then paste the above code and execute it.

Thank you very much, works like a charm. :)
But, obviously, this is just temporary, so not a complete solution...
Don't get me wrong: I'm impressed by how nice and fast you are :)

Jan 22 2016 07:08
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Hmm, the steam feature should work.
Can you copy the console log (f12 > console) when you press the steam button?
Also, im gonna try to save your hidden items, the same way we save your settings.

Jan 22 2016 07:35
csgosuchti
Level : 3
Posts : 23

Total Coins Earned :
28946

Coins Balance        :
88

Items Worth            :
$2648

Join Date                : Jan 29 2015

Originally posted by Royalgamer06

Hmm, the steam feature should work.
Can you copy the console log (f12 > console) when you press the steam button?
Also, im gonna try to save your hidden items, the same way we save your settings.

The Steam Button under your TGE Features?
It gives no extra output.

Output when loading the Settings page overall:

http://i.imgur.com/nOFSgsn.png
&
getPreventDefault() sollte nicht mehr verwendet werden. Verwenden Sie stattdessen defaultPrevented.

Translation of both the screenshot and the last part:

the connection to wss://api2.scaledrone.com/websocket got cancelled, while the site was loading.
Password-fields are on an insecure (http://) site. this is a security risk, your data might get stolen. (2x)
the text coding was not declared. the are symbols outside the US-ASCII-range in the raw text file. the text coding has to be declared or the file has to have a byte-order-mark as codingsignature. (2x)
Connected to room 1140632_7117fd686452290a9c0f8b41e4492820
getPreventDefault() should not be used anymore, use defaultPrevented instead.

But since there was no extra output when turning steam on or off, I don't think this matters anyway. :)

Jan 22 2016 11:13
MrJavi69
Level : 6
Posts : 1198
Moderator

Total Coins Earned :
411302

Coins Balance        :
18

Items Worth            :
$5971

Join Date                : Mar 1 2013

Nice work Royalgamer06 :) Thanks!

Jan 27 2016 02:58
alibaba55
Level : 1
Posts : 2

Total Coins Earned :
791

Coins Balance        :
17

Items Worth            :
$1

Join Date                : Mar 24 2015

thanks

Jan 28 2016 22:40
Defekte
Level : 5
Posts : 176

Total Coins Earned :
301292

Coins Balance        :
6816

Items Worth            :
$6582

Join Date                : Oct 20 2015

Originally posted by csgosuchti

the Steam Button in the Settings page.
Always goes back to Off after saving & reloading or opening in a new tab.
I also don't see the "you own this item"-message, which makes me sure it's off.

The same for me, the whole script isn't running properly at the moment.

But thanks anyway for your work!

Jan 30 2016 09:23
AnLod
Level : 5
Posts : 1

Total Coins Earned :
1586

Coins Balance        :
92

Items Worth            :
$64

Join Date                : Oct 18 2015

GOOD THX

Feb 01 2016 21:12
brenomirandi
Level : 4
Posts : 1181
Moderator

Total Coins Earned :
336729

Coins Balance        :
599

Items Worth            :
$3236

Join Date                : Dec 12 2013

@csgosuchti, @Defekte
I tried to reproduce your problem on some platforms and browsers, but this function worked on all of them.
This script has proven to be malfunctioning on outdated browsers (Chrome, mostly). Maybe it is the case?

Feb 02 2016 07:36
isteflala1997
Level : 3
Posts : 1

Total Coins Earned :
588

Coins Balance        :
41

Items Worth            :
$5

Join Date                : Dec 24 2014

thanks

Feb 02 2016 14:20
csgosuchti
Level : 3
Posts : 23

Total Coins Earned :
28946

Coins Balance        :
88

Items Worth            :
$2648

Join Date                : Jan 29 2015

Originally posted by brenomirandi

@csgosuchti, @Defekte
I tried to reproduce your problem on some platforms and browsers, but this function worked on all of them.
This script has proven to be malfunctioning on outdated browsers (Chrome, mostly). Maybe it is the case?

Nope, I'm a big fan of updating everything.
Firefox always on the newest version :)

Feb 11 2016 20:13
Supersamis
Level : 3
Posts : 1774

Total Coins Earned :
1101825

Coins Balance        :
1018

Items Worth            :
$45505

Join Date                : Nov 13 2013

I find wonderful improvements that gives them this tool to tremorgames, very thanks!!!

I think it can be improved even more:

  • A option for fast preview(picture) in Pricelist for TradeIns - Trading Cards
  • Repair option to erase all private messages.
  • Giveaways autojoin: prevent enter to givewaways that subtract coins(Example: 5000 Tremor Coins Giveaway)

If you correct or improvements does not matter, you have made us life easier :D

Feb 12 2016 13:22
spikemtz
Level : 2
Posts : 36

Total Coins Earned :
164616

Coins Balance        :
1181

Items Worth            :
$919

Join Date                : Aug 17 2015

Is this how people are able to redeem multiple copies of a game, making it impossible for other users to get them?

Feb 13 2016 03:54
Jigsavv
Level : 5
Posts : 46

Total Coins Earned :
237406

Coins Balance        :
1254

Items Worth            :
$4130

Join Date                : Jun 1 2014

No, this hasn´t nothing with buying multiple copies.

Feb 13 2016 12:00
spikemtz
Level : 2
Posts : 36

Total Coins Earned :
164616

Coins Balance        :
1181

Items Worth            :
$919

Join Date                : Aug 17 2015

Originally posted by Jigsavv

No, this hasn´t nothing with buying multiple copies.

Right on.

Feb 13 2016 18:34
JadeFlames
Level : 5
Posts : 24

Total Coins Earned :
47490

Coins Balance        :
69

Items Worth            :
$1234

Join Date                : Feb 7 2014

"Added feature that auto-checks if you own the current store item on steam."

Ooo, sounds nice! There have been a couple of times where it's like "Hey, I heard that was good! I'll try to get it!", only to see after purchasing it that I already have it.

Feb 14 2016 07:55
ESzn
Level : 2
Posts : 85

Total Coins Earned :
71112

Coins Balance        :
292

Items Worth            :
$657

Join Date                : May 15 2014

Nice! I was waiting for something like this, thanks.

Feb 14 2016 15:27
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

You're welcome guys.
I'm kinda busy with school stuff, that why I haven't been working on this so much.

Feb 14 2016 17:15
Proxy_Doug
Level : 6
Posts : 7

Total Coins Earned :
43473

Coins Balance        :
97

Items Worth            :
$2165

Join Date                : Aug 1 2014

Awesome changes.

Feb 20 2016 12:58
Royalgamer06
Level : 3
Posts : 868
Moderator

Total Coins Earned :
955296

Coins Balance        :
9060

Items Worth            :
$12929

Join Date                : Jul 24 2014

Released V1.3.4
Added custom order button on steam item page (https://i.imgur.com/8zbrlAb.png)
Added fix for invalid URL for custom order
Added number of giveaways and costs to the enter all button on the giveaways page (https://i.imgur.com/vNspmRQ.png)

Originally posted by Supersamis

I find wonderful improvements that gives them this tool to tremorgames, very thanks!!!

I think it can be improved even more:

  • A option for fast preview(picture) in Pricelist for TradeIns - Trading Cards
  • Repair option to erase all private messages.
  • Giveaways autojoin: prevent enter to givewaways that subtract coins(Example: 5000 Tremor Coins Giveaway)

If you correct or improvements does not matter, you have made us life easier :D

What is wrong with erase all PMs? It works for me.
As for the autojoin of giveaways, I hope this is sufficient:
vNspmRQ.png

12345»Last »1 Pages of 5Go
Server Time : June 26, 2017, 5:37 am
T=0.01546907