Steam Store Redirector

Redirects removed games from the Steam store to SteamCommunity or SteamDB.

目前为 2020-06-22 提交的版本。查看 最新版本

作者
rafaelgomesxyz
评分
0 0 0
版本
4.1.0
创建于
2020-06-22
更新于
2020-06-22
大小
5.9 KB
许可证
暂无
适用于
所有网站

Redirects removed games from the Steam store to SteamCommunity or SteamDB.

Configuration

Go to https://steamcommunity.com/?ssr=wizard to run the settings wizard. This wizard allows you to change the redirect between SteamCommunity and SteamDB (default is SteamCommunity).

How does it work?

It appends the hash "#app_[steamId]" or "#sub_[steamId]" to all of the store links in the page. This way, when you open a link and the game has been removed from the store, you are redirected to the main store page, but the hash remains in the URL, allowing the script to detect that the game has been removed and redirect you to SteamCommunity or SteamDB.

After the redirect, the hash is removed from the URL with window.history.replaceState, for cosmetic purposes.

Examples

After installing the script, click on any of the links below to see it in action: