roi
roi

Reputation: 39

Open link in new tab, maintaining window.opener

The link should open a new tab, WITH reference to window.opener of the original tab. Currently window.opener is set to null.

This has special effect in iOS 12.2 where the window.opener is actually set to null, as opposed to older versions where it's not.

I think that what we need is to keep the new tab in the same browsing-context, but I don't know how.

Upvotes: 0

Views: 329

Answers (1)

roi
roi

Reputation: 39

I found the answer: add rel='opener' to the tag

Upvotes: 1

Related Questions