Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to cart button for apps #752

Open
Revadike opened this issue Jun 1, 2022 · 0 comments
Open

Add to cart button for apps #752

Revadike opened this issue Jun 1, 2022 · 0 comments

Comments

@Revadike
Copy link

Revadike commented Jun 1, 2022

Feature Description

Using HEAD method requests like below seem to work for apps. That should avoid loading the whole store page.

fetch("https://store.steampowered.com/app/" + appid + "/?addtocart=1", { method: "HEAD" })

The only problem is that you don't know what package you're adding to cart, but this is not an issue for 99% of people that want to use this feature. Btw, I'm not requesting this for myself. I'm only requesting it, because several people has come to me asking for this kind of feature/script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant