steamdb.info-issues icon indicating copy to clipboard operation
steamdb.info-issues copied to clipboard

Add to cart button for apps

Open Revadike opened this issue 3 years ago • 0 comments

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.

Revadike avatar Jun 01 '22 14:06 Revadike