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

[Feature]: Right click context menu? #274

Open
b0rd opened this issue Nov 14, 2024 · 2 comments
Open

[Feature]: Right click context menu? #274

b0rd opened this issue Nov 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@b0rd
Copy link

b0rd commented Nov 14, 2024

Context

I find it strange that after more than 3 years, ArchiveWeb.page still does not have the ability to right-click in a downloaded webpage.

What change would you like to see?

Archived webpages should have the ability to invoke a context menu by right clicking within the page. This seems like it'd be a built-in Electron feature that was deliberately disabled for some reason. I admit right clicking in a downloaded page has little benefits, but that does not mean it has no benefits. Saving an image, for example, can currently only be done by either switching to the Resources tab of the webpage, sorting by image (which even then is less than accurate), and scrolling through every individual image until finding what you're looking for, then taking a screenshot, or by extracting all files from the WARC and finding it manually there.

I'm aware right clicking works and is received by any JavaScript on the page, but not a context menu, which strikes me as odd.

Requirements

No response

Todo

No response

@b0rd b0rd added the enhancement New feature or request label Nov 14, 2024
@ikreymer
Copy link
Member

Unfortunately, it is not a built-in Electron feature, but there are libraries that help do this, eg: https://www.npmjs.com/package/electron-context-menu
Something we can look into, but it won't be the same menu that it's regular Chromium it looks like.

@b0rd
Copy link
Author

b0rd commented Nov 16, 2024

Hmm... would it be easier than a library to implement a headless mode for playback? Simply exposing the local server and allowing the user to connect to it with any browser, and thus have a context menu?
It'd also solve a few other problems I personally have with replayweb.page: fullscreen being impossible, the ability to host a page on one device and access it on another, easier browsing of the file structure, etc.
Can open another issue for this if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants