[whatwg] [URL] Resolving against the base of the current page

Jake Archibald jaffathecake at gmail.com
Thu Jul 11 08:01:44 PDT 2013


On 11 July 2013 15:59, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Thu, Jul 11, 2013 at 7:56 AM, Jake Archibald <jaffathecake at gmail.com> wrote:
>> http://url.spec.whatwg.org/
>>
>> How would I create a URL relative to the page, but taking into account
>> <base> (and anything else that may affect relative urls on the page)?
>
> document.baseURI?

I am an idiot please delete me from the internet.

Case closed.



More information about the whatwg mailing list