[whatwg] Making cross-domain overlays more user-friendly

Ian Hickson ian at hixie.ch
Wed Mar 10 04:15:53 PST 2010

On Fri, 5 Feb 2010, Rowan Nairn wrote:
> In the spirit of paving some cow paths I'd like to put forward a 
> proposal for a future version of HTML.  The behavior I'm addressing is 
> sites that replace links to external content with a framed version of 
> that content, along with their own overlay of information and links. I 
> think with some small tweaks it's possible to create a better experience 
> for the user in these situations.  I wasn't able to find any discussion 
> of this use case in the archives.  Please excuse me if this has already 
> been discussed.
> [...]
> A Proposal:
> I would be interested to hear any ideas for addressing this use case
> better.  My idea is as follows:
> - Add one new attribute to iframe
>   e.g. <iframe src="http://destination-site.com/" main></iframe>
> - Add one new method to iframe:
>   e.g. removeOverlay()
> [...]

This is an interesting idea. The most effective way forward for an idea 
like this would be to get some experimental implementations, to see if 
the security issues that were brought up can be sufficiently addressed.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list