Reddit - Switch to 'Submitted' by default on user profile view

99% of the time I want to view the 'Submitted' tab, and occasionally the 'Comments' tab. Never 'Overview', so this'll always redirect from overview to submitted.

< 腳本Reddit - Switch to 'Submitted' by default on user profile view的回應

評論:正評 - 腳本一切正常

§
發表於:2024-07-15

This does not run on old.reddit and can be fixed by adding this.

// @match https://old.reddit.com/user/*

It also seems to loop over and over. The page does not stop updating the value.

Sam Shannon作者
§
發表於:2024-08-12

I posted an update that should get it working on old.reddit (and new.reddit) rather than just www.reddit.
I'm using a script that redirects old.reddit (and new.reddit) to www.reddit, so that my user preference is honoured regardless of how any links I click are formatted, so I didn't think to make it work for all variations.

The reason yours was looping (I assume) is because you added a new match for old.reddit.com/user/* without adding an exclude for old.reddit.com/user/submitted*

§
發表於:2024-08-12

You are right, I meant to make a new reply again mentioning that I fixed it that same day. I wonder how long till scripts like this can't fix reddit anymore.

發表回覆

登入以回復