webrecorder / replayweb.page

Serverless replay of web archives directly in the browser
https://replayweb.page
GNU Affero General Public License v3.0
696 stars 56 forks source link

Electron extensions support #141

Open deliciouslytyped opened 1 year ago

deliciouslytyped commented 1 year ago

There is some amount of support for extensions in electron. (See also my question in https://github.com/violentmonkey/violentmonkey/issues/1679 ) I would specifically be interested in using ViolentMonkey to apply modifications to archived pages. Would the replayweb.page maintainers be willing to add some sort of support for this?

I give some of my users executable bundles of archived versions of some websites, and if Electron+ViolentMonkey works, it would make things a lot easier to patch extra features into the archives. It seems more viable currently than trying to figure out how to automatically patch code in wacz files. (besides the issue of the archive not being pristine anymore.)

Thanks for making this great app! Besides some hiccups, it's worked wonderfully for me.

ikreymer commented 1 year ago

Can you provide examples of what sort of modifications you'd like to apply? We currently have a custom behavior system for recording/capture but not for replay, as we try to make the replay as generalizable as possible, so it 'just works' with the default viewer. Of course, that's not always possible, but do you have some examples of what you're trying to do?

deliciouslytyped commented 1 year ago

A site I use has some sort of custom slideshow+audio player that I hacked a playback speed feature into by injecting JavaScript with ViolentMonkey, in a normal Firefox browser.