RecordRewind - save/search for current page on archive.today

General discussion, compatibility and contributed extensions.

Moderators: Lootyhoof, FranklinDM

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-07-30, 08:48

Just created this extension, it adds a toolbar button to do as described in the subject('rewind' to get a snapshot, 'record' to create one :mrgreen: ). Archive.today (also known as archive.is) is a site for saving snapshots of webpages for future use in case they are lost. Get it from here once it's up.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 294
Joined: 2017-01-14, 02:40
Location: Manila, Philippines
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by FranklinDM » 2020-07-30, 09:42

Reviewed and now live, no problems so far.

Suggestion: option to include other snapshot sources (such as IA/Archive.org), and opening in a new tab/current tab/new window (probably in the toolbar button's drop-down menu). Consider removing the rule which reduces the opacity of the extension's toolbar button when it's disabled [1, 2], the browser theme already handles this.
Last edited by FranklinDM on 2020-07-30, 09:46, edited 1 time in total.

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-07-30, 10:04

All planned :D
I wanted to put it out and then incrementally improve.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
PlasmaFlare
Moongazer
Moongazer
Posts: 12
Joined: 2020-07-31, 15:15

Re: RecordRewind - save/search for current page on archive.today

Post by PlasmaFlare » 2020-07-31, 15:20

Nice! Is it possible to have it archive / find with only one click? I know you said you will improve the extension, but does archive.is even make that possible?

Thanks for your work.

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-01, 02:40

That is up to the site - it could be possible in theory to intercept the page they supply, hide it and only show the final result, but would become too dependent on their code. Any change on their end would break it. I've seen too many site specific legacy extensions that don't work anymore due to being tightly coupled to the site in question.
Besides I'm trying to make it support other archival sites too, so it's best to just open it in a tab and let each site do it in their own way since there is no standardized way to do it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
PlasmaFlare
Moongazer
Moongazer
Posts: 12
Joined: 2020-07-31, 15:15

Re: RecordRewind - save/search for current page on archive.today

Post by PlasmaFlare » 2020-08-01, 10:23

moonbat wrote:
2020-08-01, 02:40
That is up to the site - it could be possible in theory to intercept the page they supply, hide it and only show the final result, but would become too dependent on their code. Any change on their end would break it. I've seen too many site specific legacy extensions that don't work anymore due to being tightly coupled to the site in question.
Besides I'm trying to make it support other archival sites too, so it's best to just open it in a tab and let each site do it in their own way since there is no standardized way to do it.
I think I sounded a false alarm, sorry. Just needed to enable JavaScript in eMatrix for archive.vn.

What do you think about including a way to archive all links in a page?

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-01, 10:44

You'd end up opening a new tab for each link, not a good idea. Since it's not as straightforward as simply downloading a file, and you can't know in advance whether a link has already been archived before (it will redirect to the saved version and ask you if the snapshot needs to be updated).
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-01, 10:51

Turns out that Archive.is and .org both support a standard called Memento, as do several other sites. Let me read up about it - if I can get the extension to work using that, then it will be truly general and will support any site that uses it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Andrew Herbert
Fanatic
Fanatic
Posts: 165
Joined: 2019-11-25, 21:46

Re: RecordRewind - save/search for current page on archive.today

Post by Andrew Herbert » 2020-08-02, 01:21

Why not a fork of an existing extension such as Archiveror or Resurrect Pages?

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-02, 02:12

Hadn't heard of those - this one does both.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-07, 02:47

Changelog for 1.4
  • Support archive.org for both search/snapshot.
  • Support Archive-It and Trove for search.
  • Add preferences for default seach/snapshot use, logging & new tab for results.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-19, 08:23

Changelog for 1.4.2
  • Add menu item for preferences to toolbar button and context menu.
  • Change tabs to 2 spaces in source files.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1200
Joined: 2019-05-20, 20:07
Location: New England

Re: RecordRewind - save/search for current page on archive.today

Post by Tharthan » 2020-08-19, 10:06

You're really putting out a lot of cool and useful extensions, moonbat. And you're going out of your way to contact retro Firefox extension developers, too, and have found some success in that endeavour. Thanks so much for your efforts! You're definitely a Pale Moon superhero (so to speak) of 2020. :D

Keep up the good work! :thumbup:
moonbat wrote:
2020-08-02, 02:12
Hadn't heard of those - this one does both.
Did you happen to look at the feature set(s) of those extensions and see if there was anything worth implementing into RecordRewind?
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020

Image

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-19, 11:06

Thank you!
Tharthan wrote:
2020-08-19, 10:06
Did you happen to look at the feature set(s) of those extensions and see if there was anything worth implementing into RecordRewind?
One of them, I forget which, only searches for old stuff, it doesn't save pages. Apparently there is a protocol called Memento that if implemented by websites, makes it easy to find earlier snapshots. Both archive.org and .today support it and there is a Chrome extension for it as well. Long term I hope I can make it work the same way, but it seems pretty complicated.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-21, 11:19

Changelog for 1.4.3
  • Bugfix in uninstall listener.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
PlasmaFlare
Moongazer
Moongazer
Posts: 12
Joined: 2020-07-31, 15:15

Re: RecordRewind - save/search for current page on archive.today

Post by PlasmaFlare » 2020-08-23, 15:44

How do I access the error logs? The extension keeps breaking for me, with Record Snapshot not working for archive.today and Find Snapshot using some websites from history instead of the current one.

User avatar
Andrew Herbert
Fanatic
Fanatic
Posts: 165
Joined: 2019-11-25, 21:46

Re: RecordRewind - save/search for current page on archive.today

Post by Andrew Herbert » 2020-08-23, 17:16

Probably: Tools -> Developer Tools -> Error Console

User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1200
Joined: 2019-05-20, 20:07
Location: New England

Re: RecordRewind - save/search for current page on archive.today

Post by Tharthan » 2020-08-23, 17:30

moonbat wrote:
Hey, Moonbat. Swift question for you.

Is there any way that you might consider lowering the RecordRewind tab on the right-click menu? Having it be at the very top is both slightly troublesome (I might accidentally click it when I want to click "Undo" or "Back" or what have you), as well as not the most aesthetically pleasing.

Alternatively, is there a way to make an option that allows the user to lower it?
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020

Image

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-24, 00:24

There is a way to specify 'insertafter' an existing menu item, but I've not been able to find the names of the default items in the rightclick menu for me to push it lower down. Have wanted to do this for PMPlayer and TextFX as well.

For logs, you have to turn on the option in the extension preferences, then look at the toolkit error log as Andrew mentioned, or the browser console (also under Tools-web developer). Just noticed the record not working myself, I'll take a look.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: RecordRewind - save/search for current page on archive.today

Post by moonbat » 2020-08-24, 01:06

Changelog for 1.4.4
  • Move context menu item below 'Send page'.
  • Fix typo in encodeURIComponent() call.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Locked