Greasy Fork is available in English.

Steam Store - Removed App/Sub Redirect To SteamDB

If the Steam Store app/sub doesn't exist, is removed or is region-locked, redirect to steamdb.info instead of store.steampowered.com.

< Отзив за Steam Store - Removed App/Sub Redirect To SteamDB

Отзив: ОК - скриптът работи, но има бъгове

§
Публикуван на: 21.04.2017
Редактиран на: 21.04.2017

Works, but a bug affects non-removed apps.

When middle-clicking on a store page link like this from any website, it opens and focuses on a new tab; the tab doesn't focus when the script is disabled, which is expected from middle-clicking any other link.
It sometimes opens two new tabs, but I can't reliably reproduce this.

RevadikeАвтор
§
Публикуван на: 21.04.2017

Yes, I know, but there is no way to avoid this without disabling the functioning for middle-clicking. I could use a trick that when middle click: opens steam store or steamdb, closes the current page (the referrer) and opens the page (the referrer) again in a new tab. But this can lead to unexpected behavior and damages, like unsaved process on webpage lost. So I rather not do this.

Публикувайте отговор

Влезте, за да публикувате отговор.