So, if you have seen this you may ask "why do we need one more script that do the same thing? Well, I used above mentioned script for some time, and then find out that my right mouse button stopped to work for steam links. I was like "wtf?", checked all my extensions and userscripts just to find out it was this script to blame. The problem is - there is no way for userscript to know if the page was redirected when it already happened. So, any userscript need to somehow solve this before you click the link. In the script above it causes links to stop being links, if you press right mouse button. I went another way - my script adding an anchor to any steam link... it does not influence normal steam pages, but it allows my script to find out if page was redirected.

Pros:

  • does not interfere with default link behavior

Cons:

  • adds extra characters to the link, cluttering url in addressbox

Long story short, here is a description:

INSTALL HERE

You will need extension to install it, one of those:

Example of removed games for test:
https://store.steampowered.com/app/1353070/
https://store.steampowered.com/app/1260110/

7 years ago*

Comment has been collapsed.

Good, I didn't know there were such 2x scripts.
I'll see if I meet more removed games before running one more script ^^

/!\ Though, I would recommend everyone to switch to Ryzhehvost's solution.

/!\ The other version is granting access to unsafewindow (not even required) to every possible page on the web http://i.imgur.com/TRdidcN.png, making your browser very vulnerable to attacks from any suspicious pages you visit... (or ads that are displayed)

7 years ago*
Permalink

Comment has been collapsed.

Wow. I wonder it can use # to solve this redirect problem. Excellent.

7 years ago
Permalink

Comment has been collapsed.

I suggest to remove # in Steam store by using

window.history.replaceState(null, null, "cleanUrl");
7 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

5 years ago
Permalink

Comment has been collapsed.

Yes, it would not work, for now it only scans page once after load. I guess dynamic scan can be implemented, and it should not be too hard too, but I'm afraid that it will greatly increase cpu load then (because it will have to scan the whole page, not only dynamic part - it can't find out where to scan on a particular page). Unsure if it's worth it.

5 years ago
Permalink

Comment has been collapsed.

I got curious and tried to implement a dynamic parsing of web pages. If you're interested - you may want to help me testing it. You can get it from https://gist.github.com/Ryzhehvost/22e3e945e292fd925a0752dbf0d93e98

5 years ago
Permalink

Comment has been collapsed.

New version available, not works on dynamic pages too (see discussion above for details.)

5 years ago
Permalink

Comment has been collapsed.

Doesn't work any more.

3 years ago
Permalink

Comment has been collapsed.

Well, first of all you need to write correctly "Doesn't work any more FOR ME". Because, you know, it works for me just fine. And, secondly, if there is any issues - of course I'm interested to fix them. But I can only do this if you can tell me how to reproduce it.

3 years ago
Permalink

Comment has been collapsed.

If you have aggression, seek help, but don't yell at me.
Your last post is more than 2 years old.
After such a long time, I assumed that your script was no longer being maintained because it didn't work.
After you screamed I looked at the script again and found out that it only work when the browser was restarted.
Whatever the reason, i don't find any informations about a browser restart in your description.
I haven't had this behavior with any other script.
Firefox 78.10.1esr (64-Bit), Tampermonkey 4.13.6136

3 years ago
Permalink

Comment has been collapsed.

Man, where did you found aggression in my comment? Because I know there was none. Script was not updated because, well, it works, and I have no idea how to improve it any further. As per browser restart - it's not needed normally. Maybe you just needed to refresh page where you tried to test it? For me it was kinda obvious, but I guess it's not like that for everyone. But even so, that's how tampermonkey works (or any other userscript engine), so if it has to be mentioned - it should be in tampermonkey description, not here. I'm glad that everything works for you know. It also means that there is again no reason to update the script ¯\_(ツ)_/¯

3 years ago
Permalink

Comment has been collapsed.

Caps & bold looks for me aggressive.
A page refresh does not work for me, i've tried this also in clean portable installation of FireFox ESR without any other addons or scripts. Same result, need a restart of firefox.
So, there is no reason to change anything in the script.
🏁

3 years ago
Permalink

Comment has been collapsed.

Emphasizing some parts of a phrase is not a sign of aggression. If my post was all caps - sure, I would understand your reaction.
It happened so that I have Firefox ESR installed too (used it for tests some time ago). I just updated it to 78.10.1esr (it restarted after update), installed Tampermonkey (no restart), installed this userscipt (no restart), refreshed this page and guess what - it works for me. So I still have no idea how to reproduce your issue.

3 years ago
Permalink

Comment has been collapsed.

nice, thanks. i always found that super annoying and hadn't even thought that it could be fixed with a script. works great for me.

3 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.