W3C home > Mailing lists > Public > public-lod@w3.org > October 2011

Re: Address Bar URI

From: Hugh Glaser <hg@ecs.soton.ac.uk>
Date: Fri, 14 Oct 2011 15:22:56 +0000
To: Norman Gray <norman@astro.gla.ac.uk>
CC: Linking Open Data <public-lod@w3.org>, Don Cruickshank <dgc@ecs.soton.ac.uk>
Message-ID: <EMEW3|3def92ab1d8be3210126f0dc285bc7c0n9DGMw02hg|ecs.soton.ac.uk|3EC98AA0-13D5-4F49-B953-E00E945C4F10@ecs.soton.ac.uk>
I am really no expert - really, so showing my ignorance here.
I understand:

JS:
window.history.replaceState('Object', 'Title', '/another-new-url');
will do it happily, but I guess HTML5 is required.
You can use it to change path and search strings, but not protocol or domain, I understand.
 

On 14 Oct 2011, at 15:26, Norman Gray wrote:

> 
> Hugh, greetings.
> 
> On 2011 Oct 14, at 13:08, Hugh Glaser wrote:
> 
>> My colleague, Don Cruickshank asked me if it was good practice to rewrite the URI in the Address Bar to be the NIR, rather than the IR.
>> I was surprised, but he tells me that it is permitted in HTML5.
> 
> Can you expand on this a little?
> 
> Is this some HTML5 cleverness that lets one declare in the HTML what the address bar should display?  Or is it some Javascript kludge^Wgadget that does it, in which case what is the sense in which this is 'permitted' in HTML5 and wasn't before?
> 
> All the best,
> 
> Norman
> 
> 
> -- 
> Norman Gray  :  http://nxg.me.uk
> SUPA School of Physics and Astronomy, University of Glasgow, UK
> 

-- 
Hugh Glaser,  
              Web and Internet Science
              Electronics and Computer Science,
              University of Southampton,
              Southampton SO17 1BJ
Work: +44 23 8059 3670, Fax: +44 23 8059 3045
Mobile: +44 75 9533 4155 , Home: +44 23 8061 5652
http://www.ecs.soton.ac.uk/~hg/
Received on Friday, 14 October 2011 15:24:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:21:17 UTC