plibither8 / refined-hacker-news

✨ Hacker News, but refined — Interface tweaks and features to make the HN experience better
MIT License
807 stars 34 forks source link

Feature request: Open page in Internet Archive #68

Closed cglong closed 4 years ago

cglong commented 4 years ago

Shamelessly stolen from this HN comment. It'd be cool if there was a link that would open a link using the Internet Archive; it could even include the submission time to automatically navigate to the closest snapshot 🙂

plibither8 commented 4 years ago

Hi!

Sounds like a great idea. Got a few clarifications: as mentioned in the comment, should this link archive the webpage or should it we an archived version of the page? Moreover, where should this link ideally be placed?

plibither8 commented 4 years ago

I'll probably go with the way savepagenow is handling it: https://github.com/pastpages/savepagenow/blob/master/savepagenow/api.py

cglong commented 4 years ago

Thanks 😄 I was thinking this link would allow you to navigate to an archived version of the page.

plibither8 commented 4 years ago

Yup! If no archived version is found, it will archive it, otherwise return the cached/archived version. How does that sound?

cglong commented 4 years ago

That sounds great! 😄

plibither8 commented 4 years ago

Hey @cglong, I've created the feature and pushed the updated versions to production on Chrome and Firefox. It's up and running on FF, and might take a bit more time to be live on the Chrome Webstore.

Cheers!