On 12.05.2014 18:41, Jonas Sicking wrote: > (new URL(url)).origin should work, no?
It does not work for blob URIs in Firefox.
On 12.05.2014 18:41, Jonas Sicking wrote: > (new URL(url)).origin should work, no?
It does not work for blob URIs in Firefox.