dessant / web-archives

Browser extension for viewing archived and cached versions of web pages, available for Chrome, Edge and Safari
https://apps.apple.com/us/app/web-archives-for-safari/id1603181853
GNU General Public License v3.0
1.11k stars 88 forks source link

Support archiving pages #10

Open gloschtla opened 5 years ago

gloschtla commented 5 years ago

Would you add the option to make a direct saving request to archive.is alias archive.fo ?

If there is already an archive entry for the concerning URL, archive.today show the found entry, and will also ask for a confirmation - like this:

This page was last archived 99 years ago If this snapshot looks obsolete you can again

If the above suggestion is not feasable, maybe the following is: https://archive.is/?url={?}

dessant commented 5 years ago

I've been thinking about adding archiving for the engines that support it, though it's not entirely clear how will the feature be integrated into the user interface.

There could be an icon button for archiving at the right end of the engine button in the popup, but I'm not sure how would it be added to the context menu.

jtagcat commented 4 years ago

https://github.com/jonathanmccann/archive-url-firefox-addon Merge extensions?

dessant commented 4 years ago

@jtagcat, there's no need to merge extensions, archiving is just a simple API call.

kousu commented 4 years ago

There's also

but none of these are Mozilla-recommended extensions, and it would speed up global librarianship to only have to install one extension to do both jobs.

kousu commented 4 years ago

Actually, @gloschtla, The Archiver already supports both directions:

2020-04-13-170008_1366x768_scrot

So maybe you just want to use that instead.

gloschtla commented 4 years ago

Thank you, @kousu ! I already am using "Archive Page", which is being announced on Archive.Today , and it provides this function of making a direct saving request. The "run=1" was missing in my iniciating feature request, I wrote above.

https://archive.today/?run=1&url=

dessant commented 3 years ago

One of the problems I'd like to avoid is to open new tabs where the archiving happens, because I've found that inconvenient while using other archiving extensions. Only Firefox supports hiding tabs, so one possibility would be to add the pages with the archive jobs in an iframe to the background page of the extension.

This would be the least distracting for people who are not interested to find out the archived page URL right away, but just archive the current page in the background as they browse the web by pressing a button and then continuing to browse.

Finding out the archive URL is also a legitimate use case, so the archived URLs could be shown in a popup when the archiving job is complete. This feature could be turned off from the extension's options.

jtagcat commented 3 years ago

The tabs need to be somehow unhidden on failure / closed on completion.

Also, please test for compatibility with STG.

dessant commented 3 years ago

I've looked into it and it isn't really necessary to do the archiving in a new tab or hidden iframe, the archiving is scheduled on the server, and those pages just check the status of the archive job, so all it takes is to poll a URL to check for completion.

B0pol commented 3 years ago

I've been thinking about adding archiving for the engines that support it, though it's not entirely clear how will the feature be integrated into the user interface.

There could be an icon button for archiving at the right end of the engine button in the popup, but I'm not sure how would it be added to the context menu.

IMO, you could add another option, like there is on Search by image

You would have e.g. an option named "view" and another one named "save" or "archive"

BradKML commented 2 years ago

Seconded this, but it has been a long time, it should be easy but it has not been done yet. Also a realization, that archive.today like speedbumped archive requests, so that needs to be sorted out first.

fabiorzfreitas commented 1 month ago

As I see it, the single purpose of using multiple archives is to have more chances to find one result, so if a result is found in any single one of them, this purpose is fulfilled.

With that in mind, I believe that the official Wayback Machine extension is the perfect companion to Web-Archives for those of us who'd like to archive pages as well!

BradKML commented 1 month ago

@fabiorzfreitas I guess the main issue is making this into a one-stop shop of both viewing and archiving with "one-click" (similar to the URL schema for archive.today showing previously archived pages and "archive again" vs jumping directly to archiving) rather than having multiple add-ons.