r/compact • u/chupakraw123 • Apr 09 '23
Reddit Compact script for ios Userscripts
Up to date script with auto redirect
***Edit 4/11
URL does not redirect for videos and reddit galleries.
*** Edit 4/10
www reddit links now auto redirect to old.reddit and append .i
Original script without redirect:
Might work for android/Tampermonkey/Greasemonkey but I'm only testing on Safari/iphone.
TehVulpez pointed out that appending '.i' to an old.reddit.com/ url still works for enabling reddit compact. The script will detect if you are on an old.reddit.com page and apend '.i' to the end of the url. Additionally, it will get all links on the page that contain 'reddit.com' and append '.i' to them. Once you are directed to an old.reddit url you should reap the benefits of the ol' reddit compact.
Here's the reddit thread TehVulpez mentions this.
You can download the script here on my github.
View all comments
Show parent comment
2
u/TehVulpez Apr 10 '23
I remembered there being an even older mobile view that was all just text with almost no styling, and wondered if that was up. I was trying a bunch of suffixes like .text, then stumbled across .i. (It turns out the view I was thinking of was called .mobile, which was also removed at some point like .compact.) I think .i was always an alias of .compact, but it seems to be mentioned so rarely that even the admins forgot it existed.