up dir
/* * @title cd .. * @description up dir * @include http://* * @license MIT License */ a=location.pathname.split('/'); (a.pop() == '') ? a.pop() : a; location.pathname=a.join('/');