JSREF

Window location.pathname

Get the current path: