Skip to content

Instantly share code, notes, and snippets.

@gonghao
Created December 3, 2012 03:34
Show Gist options
  • Save gonghao/4192523 to your computer and use it in GitHub Desktop.
Save gonghao/4192523 to your computer and use it in GitHub Desktop.
Untitled
var a = document.createElement('a');
a.href = '/test/hello/world';
alert(a.pathname)
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment