Skip to content

[Feature]: Controlling the sandbox attribute of the inner iframe when embedding replayweb.page #438

@niss36

Description

@niss36

Context

I'm embedding replayweb.page in a React app to display WARC snapshots, and have some concerns around letting arbitrary scripts run on the client through the replayed pages. I've also seen instances of scripts interfering with the replay, and think disabling them by default would be preferable for my use case.

What change would you like to see?

As a user, I want to be able to specify the sandbox attribute for the inner iframe created by the replay-web-page component -- this is the iframe that contains the replayed doc (it looks like there's 2 nested iframes).

On the surface this sounds like it should be straightforward so I'm happy to contribute on the implementation if useful.

Requirements

No response

Todo

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions