12
submitted 1 year ago by pe1uca@lemmy.pe1uca.dev to c/reddit@lemmy.ml

Before the blackout I saw some of the posts about helping archive.org to store all reddit, and AFAIK they completed it.
Also, checking stuff to deploy lemmy and help the project I stumbled upon the problem I've seen a lot of us have: we search for solutions on reddit.
Most of the times is just to read, not to actually create a post, so I created this addon for Firefox to automatically ask web archive for the page instead of reddit.

https://addons.mozilla.org/en-US/firefox/addon/reddit-to-wayback-machine/

A few caveats and stuff I'll improve later,
It forces to old reddit since new reddit doesn't load everything at once so the snapshot is incomplete.
It forces all the times you search reddit, so if you want to actually visit reddit to interact you need to disable the addon.
It doesn't handle the case when there's no snapshot :P
It's only for Firefox because it uses webRequests, I don't know yet how to implement this using MV3 to upload it to the chrome store.

top 6 comments
sorted by: hot top controversial new old
[-] greatwhitebuffalo41@slrpnk.net 2 points 1 year ago

Oh neat! Thanks for doing this

[-] glorbo@lemmy.one 1 points 1 year ago

This looks great! Any plans to open source it? Not that it's all that hard to pop open the .xpi to be fair.

Also minor suggestion: it looks like the archive.org API always returns non-HTTPS URLs (e.g. https://archive.org/wayback/available?url=https://old.reddit.com/r/programming gives http://web.archive.org/web/20230612074029/https://old.reddit.com/r/programming/). Might make sense to switch the protocol for the minor security boost.

[-] nobloat@vlemmy.net 0 points 1 year ago

That's so awesome! Can it work on Firefox mobile browser?

[-] pe1uca@lemmy.pe1uca.dev 1 points 1 year ago

In theory it was set up for that too, but I don't see the option to install it there, I'll check it since I also want it there.

[-] anamethatisnt@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

Seems to work fine for me. Did some test googling with reddit appended and successfully (though it was slow) ended up on the archive.org version. Thank you!

[-] pe1uca@lemmy.pe1uca.dev 1 points 1 year ago

I think it's Web archive taking a bit of time to load the snapshot, probably a screen/notification about the progress would be nice.

this post was submitted on 15 Jun 2023
12 points (100.0% liked)

Reddit

13435 readers
1 users here now

founded 5 years ago
MODERATORS