Giter Site home page Giter Site logo

potcfdk / steamdiscoveryqueueautoskipper Goto Github PK

View Code? Open in Web Editor NEW
209.0 8.0 22.0 385 KB

Auto-claims event items like trading cards, badges and free stickers by automating actions.

License: Apache License 2.0

JavaScript 100.00%
steam userscript tampermonkey greasemonkey violentmonkey steam-summer-sale steam-winter-sale steam-sale

steamdiscoveryqueueautoskipper's Introduction

Steam Discovery Queue Auto-Skipper

Supported Events / Features

Currently confirmed working:

  • Steam Winter Sale 2023 (December 21 - January 04): auto-skipping discovery queue for a free trading card + auto-claiming free daily stickers โœ…

Description

This userscript automates several Steam event-related things.

Primarily (and hence, the name) it auto-advances when it detects that you are viewing a Steam Discovery Queue item.
During the Steam Winter Sale 2023 you get one trading card for going through your queue once a day.
This script makes it easier to stay lazy.

If your browser/setup supports it, it does this is a speedy way. Multiple discovery queues are processed to get the maximum number of cards per day, if supported.

Screenshot of the "Next in Queue" button

If something goes wrong, it auto-retries and/or tries simulating a normal press on the "Next in Queue"-button.
This should make sure that minor issues are automatically resolved before the script can be manually fixed/adjusted for new events or site updates.

Additional Functionality

  • Age-restricted apps are automatically unlocked (i.e. this script supports automating 18+ confirmations). This feature works outside of the discovery queues, too!
  • Finally, free daily stickers are also auto-claimed when they are detected.

Sale

The script is optimized for the Steam Winter Sale 2023. Support for some of the functionality, including automation of multiple queues (only one this year), along with other features, might not work with future sales. The script will be updated in such a case.

Installation

  1. Install Violentmonkey or another userscript addon such as Tampermonkey for your browser.
  2. Open https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/raw/master/SteamDiscoveryQueueAutoSkipper.user.js or click here.
  3. Click Install.

Issues?

Feel free to open an issue in case you feel that something is not the way it should be.

Credits

Logo kindly provided by krys (krys#4143).

Release Notes

0.13.0 (released 2023-12-24)

  • NEW: Add a progress bar to the discovery queue handler.

0.12.0 (released 2022-12-22)

  • FIX: ItemRewards handling is now working again with this year's pages
  • FIX: possible login state detection issue, the new method should be a bit more reliable for now

0.11.1 (released 2021-12-25)

  • NEW: remove all "last checked" timestamps when not logged in
  • FIX: don't run and don't set the "last checked" timestamps for most features that require you to be logged in when not logged in

0.11 (released 2021-12-23)

  • NEW: winter sale 2021: Re-add ItemReward handler, and maybe this time we'll keep it in the script for future use!

0.10 (released 2021-01-13)

  • REMOVE: ItemReward handler (page/data is gone from the Steam pages)

0.9 (released 2020-12-29)

  • NEW: winter sale 2020: support for auto-claiming stickers (ItemReward)

0.8 (released 2020-12-25)

  • NEW: the script now notifies you when you can get cards by browsing the discovery queue

steamdiscoveryqueueautoskipper's People

Contributors

davue avatar potcfdk avatar redsparr0w avatar soulreaver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

steamdiscoveryqueueautoskipper's Issues

Does the discovery queue work in the background?

Hewwo, as far as I can tell the sticker gets claimed automatically in the background every 20hrs (very cool). The Discovery Queue tho still has to be viewed/opened manually, right? I'm presuming the discovery queue is not accessible via the web api token?

I wonder if it, too, could be completely automated with a combination of pinned tabs and a content script that refreshes a few times a day.

Some errors

Can you make auto-restart to avoid this? (this bot skip pop-ups https://github.com/meepen/salien-bot/)
Things that stop script:

Pop-up
There was a problem saving your selection. Please try again later (Ok)

`

Ops, sorry!

An error was encountered while processing your request::

Failed to load queue`

Just stop in some game without next button, but with button to explore(start)

https://store.steampowered.com/app/637090/BATTLETECH/

View Your Queue>| (https://store.steampowered.com/explore/)

Script got stuck once after clicking the automatic popup

Version: latest, 0.8.0
Browser: Firefox 85b4

What happened:

  1. Loaded homepage tab
  2. Clicked scripts popup (awesome btw, thanks)
  3. Check back later, its stuck on what's seemingly the first store page, with a queue button. It's HTML code was:
<a href="https://store.steampowered.com/explore/?snr=1_5_9_" class="btnv6_blue_hoverfade  btn_medium  right" data-tooltip-text="View and customize your personal Discovery Queue.">
									<span>View Your Queue&nbsp;&nbsp;&nbsp;<i class="ico16 arrow_next"></i></span>
								</a>

Then I went to the queue page manually (the overview page), got a popup "there's an error saving preferences" and it auto-started from there.

Not sure what went wrong, 3 other accs launched fine at the exact same time.

โค

EDIT/PS: I have the .html source for the store page for that account open in a tab (before I restarted the queue), if needed for debugging.

0.12.0. Compatibility with FireMonkey

Previous to version 0.12.0., this script also worked with FireMonkey. As of 0.12.0., however, changes to the script have unfortunately made it stop working on it.

FireMonkey's author suggested adding either

@inject-into page
or
@run-at document-end

to the script via FireMonkey's User Metadata function, but so far I've had no luck running the script with either addition.

Since the script did work with FireMonkey on version 0.11.1, it might not be a huge change to make it compatible again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.