replayweb.page icon indicating copy to clipboard operation
replayweb.page copied to clipboard

Is Frameless Replay Possible With ReplayWeb.page?

Open treid003 opened this issue 1 year ago • 7 comments

Is it possible for ReplayWeb.page to replay an archived web page without loading the archived web page into an <iframe>?

pywb supports frameless replay, so I was wondering if it is possible with ReplayWeb.page as well.

treid003 avatar Jul 31 '23 17:07 treid003

I think you're looking for the flag embed="replayonly". See https://replayweb.page/docs/embedding#embed-modes for details.

Shrinks99 avatar Jul 31 '23 20:07 Shrinks99

The embed="replayonly" option still loads the archived web page into an <iframe>. I was wondering if the archived web page can be loaded without using an <iframe>.

replayonly_mode

treid003 avatar Jul 31 '23 21:07 treid003

Ah okay, in that case no. Not to my knowledge. Is there a specific reason you need this? (I assume yes, but would be interested to know why!)

Shrinks99 avatar Jul 31 '23 21:07 Shrinks99

Ok, thanks. I assumed this was the case but wanted to make sure.

If there was a frameless replay option, then it would be easier to:

  • Perform automated interactions with the archived web page
  • Take a full sized screenshot of the entire archived web page

treid003 avatar Jul 31 '23 22:07 treid003

Off the top of my head, the latter may be possible with integration of html2canvas but that work is not currently planned.

Shrinks99 avatar Jul 31 '23 22:07 Shrinks99

Ok, thanks. I assumed this was the case but wanted to make sure.

If there was a frameless replay option, then it would be easier to:

  • Perform automated interactions with the archived web page
  • Take a full sized screenshot of the entire archived web page

Could you say more about these use cases? Are you trying to create screenshots of replay in an automated way? That might be something we could support in the future, though perhaps directly via wabac.js

As far as automating interactions, you can still interact with the page directly. It sounds like you're looking for a frameless mode that has no banner / no other UI elements either right?

In general, its sort of not something we'd want to support as it makes it harder to tell if a page is a web archive, but might be something that can be configured with wabac.js

ikreymer avatar Aug 01 '23 17:08 ikreymer

I have been checking different replay systems to see how difficult it is to take full sized screenshots of an archived web page when using tools like Chrome's "Capture full size screenshot" feature. When an archived web page is loaded in an <iframe> the screenshot tools that I have tried so far are not able to get a screenshot of the entire archived web page.

Arquivo.pt has two features (Fullscreen and Screenshot) that make it easy to take a screenshot of the entire archived web page.

Arquivo.pt's Fullscreen feature does not load the archived web page in an <iframe>, which makes it easy to take a screenshot of the entire web page when using the browser's screenshot tool: https://arquivo.pt/wayback/20230426011101/https://www.leroymerlin.com.br/ arquivo pt_noFrame_replay_20230426011101_https___www leroymerlin com br_

Arquivo.pt's Screenshot feature attempts to take a screenshot of the entire archived web page: https://arquivo.pt/wayback/20191221195416/https://stadia.google.com/ stadia-one-place-for-all-the-w-20191221195416

If ReplayWeb.page had a similar screenshot feature, removing the replay system's UI would be useful when comparing the archived web page screenshot with the live web page screenshot.

treid003 avatar Aug 04 '23 14:08 treid003