-
Notifications
You must be signed in to change notification settings - Fork 94
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
iOS Web App: prevent same-window links from being opened externally #398
iOS Web App: prevent same-window links from being opened externally #398
Conversation
By default, iOS Web Apps open any link (`<a>` tag) in an external browser. This happens even when the `target` attribute isn't set to `_blank`. This change prevents links targetting the same window from being opened externally. They are instead opened within the Web App itself.
Codecov Report
@@ Coverage Diff @@
## development #398 +/- ##
==========================================
Coverage 100% 100%
==========================================
Files 96 96
Lines 2239 2239
Branches 177 177
==========================================
Hits 2239 2239 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bedankt voor je toevoeging! Is het mogelijk dat je deze javascript nog in een aparte js-file zet, zodat deze gecached kan worden op elke pagina?
Ik heb de wijziging doorgevoerd. 😉 |
Thanks! |
Graag gedaan! |
Zojuist uitgebracht in release v1.12. |
By default, iOS Web Apps open any link (
<a>
tag) in an external browser. This happens even when thetarget
attribute isn't set to_blank
.This change prevents links targetting the same window from being opened externally. They are instead opened within the Web App itself.