Steamtrades



SteamTrades Auto Bump

Find public discord servers to join and chat, or list your discord server here! Search for the best discord servers out there! This game contains material that is only suitable for adults. If you are under the age of 18, please leave now. Strip Poker Night at the Inventory is a free, open source, and community run project.

// UserScript
// @name SteamTrades Auto Bump
// @namespace ST_AUTOBUMP
// @author LBLZR_
// @description Bumps the post every 60 minutes + random drift
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @include https://*.steamtrades.com/trade/*
// /UserScript
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function scheduleReload(seconds){
//we add a random drift to the time
seconds += getRandomInt(10, 150);
console.log('Reload scheduled after ' + seconds + ' seconds..');
setTimeout(function(){
window.location.reload(1);
}, seconds*1000);
}
$(function() {
if($('.dropdown_btn.js_trade_bump').length>0){
var bumpTime = 3600;
$.ajax({
method: 'POST',
url: '/ajax.php',
dataType: 'json',
data: $('.dropdown_btn.js_trade_bump').data('form')
}).done(function(e) {
if(e.success){
console.log('Bumped..');
scheduleReload(bumpTime);
}else{
console.log('Bump failed, we probably bumped this thread recently..');
var delay = /Please wait another (d+) minute/g.exec(e.popup_heading_h2);
console.log(e.popup_heading_h2);
if(delay != null && delay.length > 1){
bumpTime -= (60-Number(delay[1]))*60;
scheduleReload(bumpTime);
}else{
console.log('Could not find the wait time..');
scheduleReload(bumpTime);
}
}
});
}else{
console.log('This is probably not our trade, not bumping..');
}
});

commented Nov 16, 2019

Hello. I use Tampermonkey / Edge. Chess for mac 2017.

Your script only works when the Edge-Tab (page) is active. If I view another tab or my browser is minimized, it will not work. It will work when I open the tab.

I checked some other scripts, they can work in the background. For example, this script (which just refreshes the page) works with inactive tabs: setTimeout(function(){ location.reload(); }, 10006065);

Is there any chance to update code? I tried to do it myself, but it did not work out. Thanks.

commented Nov 17, 2019

Maybe detach the tab and run it in separate window or use a different browser? Sonic unleashed 360 iso. Another option would probably be to use a js service worker but I'm not exactly sure how to get that working with grease/tampermonkey..

This script is pretty old and I'm not involved in Steam trading anymore so I don't think there's any point in improving it 🤷‍♂️.

Steamtrades
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Steam keys:

1) Super Hexagon
2) Guacamelee Super Turbo Championship Edition
3) ̶2̶0̶6̶4̶:̶ ̶R̶e̶a̶d̶ ̶O̶n̶l̶y̶ ̶M̶e̶m̶o̶r̶i̶e̶s̶
4) A Virus Named Tom
5) 7 Grand Steps
6) ̶W̶a̶k̶i̶n̶g̶ ̶M̶a̶r̶s̶
7) ̶S̶o̶n̶g̶ ̶o̶f̶ ̶t̶h̶e̶ ̶D̶e̶e̶p̶
8) AI War: Fleet Command
9) Girls Like Robots
10) Ellipsis
11) Tower of Guns
12) Retro Game Crunch
13) ROCKETSROCKETSROCKETS
14) ̶N̶u̶c̶l̶e̶a̶r̶ ̶T̶h̶r̶o̶n̶e̶
15) Streamline Early Access
16) ̶T̶h̶e̶ ̶S̶w̶a̶p̶p̶e̶r̶
17) Robot Roller-Derby Disco Dodgeball
18) Guns of Icarus Online
19) Q.U.B.E: Director's Cut
20) Rituals
21) Dangerous High School Girls in Trouble
22) TIMEframe
23) ̶J̶u̶m̶p̶J̶e̶t̶ ̶R̶e̶x̶
24) Potatoman Seeks the Troof
25) Team Indie
26) Rocket Birds: Hardboiled Chicken
27) Chroma Squad
28) shutshimi
29) Beat Hazard Ultra
30) Guacamelee! Gold Edition
31) System Shock Pack
32) Galak-Z
33) Super Time Force Ultra X2
34) ̶N̶u̶c̶l̶e̶a̶r̶ ̶T̶h̶r̶o̶n̶e̶
35) Hexcells Complete Pack
36) Expand - Soundtrack Edition) Space Quest® Collection
37) Phantasmagoria
38) Phantasmagoria 2: A Puzzle of Flesh
39) Police Quest™ Collection
40) Shiftlings
41) Quest for Glory 1-5
42) Gabriel Knight: Sins of the Father®
43) The Beast Within: A Gabriel Knight® Mystery
44) Gabriel Knight® 3: Blood of the Sacred, Blood of the Damned
45) ̶A̶t̶t̶r̶a̶c̶t̶i̶o̶
46) ARCADE GAME SERIES 3-in-1 Pack
47) Infested Planet
48) Infested Planet - Trickster's Arsenal DLC
49) 12 is Better Than 6
50) ̶R̶a̶p̶t̶u̶r̶e̶ ̶R̶e̶j̶e̶c̶t̶s̶
51) ̶F̶l̶i̶p̶p̶i̶n̶g̶ ̶D̶e̶a̶t̶h̶
52) ̶M̶a̶g̶i̶C̶a̶t̶
53) Through Blocks
54) Flow: The Sliding
55) Tower Climber
56) 4RC4N01! 3: Cold Space
57) Space Googy
58) Ruthless Safari
59) Insects Runner
60) Scream of the Viking REDUX
61) Time of the Zombies
62) Death RPG
63) Eon Fleet
64) ̶F̶l̶i̶p̶p̶i̶n̶g̶ ̶D̶e̶a̶t̶h̶
65) ̶B̶a̶b̶a̶ ̶i̶s̶ ̶Y̶o̶u̶
66) Company of Heroes 2
67) ̶H̶y̶p̶e̶r̶ ̶L̶i̶g̶h̶t̶ ̶D̶r̶i̶f̶t̶e̶r̶
68) ̶S̶o̶n̶i̶c̶ ̶&̶ ̶S̶E̶G̶A̶ ̶A̶l̶l̶ ̶S̶t̶a̶r̶s̶ ̶R̶a̶c̶i̶n̶g̶
69) Endless Space - Collection
70) ̶>̶o̶b̶s̶e̶r̶v̶e̶r̶_̶
71) ̶S̶p̶e̶l̶u̶n̶k̶y̶
72) Eastside Hockey Manager
73) ̶J̶a̶c̶k̶b̶o̶x̶ ̶P̶a̶r̶t̶y̶ ̶P̶a̶c̶k̶ ̶4̶
74) The Ball
75) ̶F̶T̶L̶
76) Age of Wonders III
77) Overlord II
78) Kingdom Classic
79) ̶O̶v̶e̶r̶g̶r̶o̶w̶t̶h̶
80) System Shock: Enhanced Edition
81) System Shock 2
82) Broken Age
83) All You Can Eat
84) No Time to Explain Remastered
85) StarCrossed
86) Vertiginous Golf
87) EarthNight
88) Plunge
89) Realpolitiks
90) ̶E̶l̶i̶t̶e̶ ̶D̶a̶n̶g̶e̶r̶o̶u̶s̶
91) MirrorMoon EP
92) In Between
93) Gunscape
94) Regular Human Basketball
95) ̶P̶l̶a̶n̶e̶t̶ ̶o̶f̶ ̶t̶h̶e̶ ̶E̶y̶e̶s̶
96) Crowntakers
97) Kathy Rain
98) Tormentor X Punisher
99) GoNNER X2
100) Kingdom
101) Kingdom: New Lands Royal Edition (base game + OST)
102) Dandara Trials of Fear
103) Uurnong Uurnlimited

Steamtrades

2 choices remaining:

Steamtrades

Steamtrades.com Safe

  • Supraland (region locked to Asia)
  • Felix the Reaper
  • Remnants of Naezith
  • Overload
  • The King's Bird