Skip to content

Set iframe srcdoc attribute to blank to prevent iframe navigation #844

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

limzykenneth
Copy link
Member

Resolves #822

Instead of setting iframe srcdoc to undefined which cause a navigation event, set it to a blank string which only change the inner content of the same iframe without navigation.

@limzykenneth limzykenneth merged commit 11e93ae into processing:main May 19, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

Back button/history broken in Firefox on reference pages
1 participant