Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom behavior? #374

Closed
edsu opened this issue Oct 29, 2024 · 3 comments
Closed

Custom behavior? #374

edsu opened this issue Oct 29, 2024 · 3 comments

Comments

@edsu
Copy link

edsu commented Oct 29, 2024

I love the usability of scoop. I was wondering if you had considered adding a command line option to inject a custom behavior when archiving a page? For example when archiving this page it would be helpful to be able to click on each image so that the modal displays correctly.

@edsu edsu changed the title Custom behavior Custom behavior? Oct 29, 2024
@matteocargnelutti
Copy link
Collaborator

Hey there @edsu, sorry I missed this message.

This is a very good question, and something we've been wondering about in the past: #109

The key challenge with adding such feature to Scoop is, in my opinion, that it would need to be implemented in a way that is both transparent and easy to interpret. I think modifications made to the live page via the behaviors need, to the extent possible, to be properly logged and clearly explained.
I am not sure just embedding the custom behavior code in the provenance summary would be sufficient - and that would come with its own risks.

Do you have suggestions?

Cheers,

cc @christiansmith

@edsu
Copy link
Author

edsu commented Jan 4, 2025

I like how you are thinking about this. Perhaps injecting the behavior itself into the WACZ file, similar to the screenshot, would be a way of self-documenting how the archive was created?

@edsu
Copy link
Author

edsu commented Jan 4, 2025

I'm going to close this since I had missed #109 and it is asking about the same thing!

@edsu edsu closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants