W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2015

Re: [whatwg] Clarification for window.opener.location.href

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 06 Jan 2015 15:16:30 -0500
Message-ID: <54AC429E.9070801@mit.edu>
To: whatwg@lists.whatwg.org
On 1/6/15 3:10 PM, Nicholas C. Zakas wrote:
> Yes, if we do it with window.open(), then it's possible to set opener to
> null. However, if you click on a link with target=_blank, window.opener
> is set as well.

Not if you use rel="nofollow", per spec.  Browser support there is still 
spotty but improving.

Of course that affects more than just window.opener (e.g. affects 
whether a referrer is sent)....

Received on Tuesday, 6 January 2015 20:17:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:32 UTC