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

iOS Web App: prevent same-window links from being opened externally #398

Merged
merged 2 commits into from
Dec 9, 2017
Merged

iOS Web App: prevent same-window links from being opened externally #398

merged 2 commits into from
Dec 9, 2017

Conversation

jorisvervuurt
Copy link
Contributor

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.

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-io
Copy link

codecov-io commented Dec 8, 2017

Codecov Report

Merging #398 into development will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           development   #398   +/-   ##
==========================================
  Coverage          100%   100%           
==========================================
  Files               96     96           
  Lines             2239   2239           
  Branches           177    177           
==========================================
  Hits              2239   2239

Copy link
Member

@dennissiemensma dennissiemensma left a 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?

@dennissiemensma dennissiemensma added this to the 1.12 milestone Dec 9, 2017
@jorisvervuurt
Copy link
Contributor Author

Ik heb de wijziging doorgevoerd. 😉

@dennissiemensma dennissiemensma merged commit f4b9772 into dsmrreader:development Dec 9, 2017
@dennissiemensma
Copy link
Member

Thanks!

@jorisvervuurt
Copy link
Contributor Author

Graag gedaan!
Leuk om in de credits vermeld te worden ook (mag eventueel ook onder mijn volledige naam, Joris Vervuurt, maar jorisvervuurt is ook prima). 👍

@dennissiemensma
Copy link
Member

Zojuist uitgebracht in release v1.12.

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.

3 participants