/*
* @title c..
* @description up dir
* @include http://*
* @license MIT License
*/
if(location.search != '') {
location.search = '';
} else if(location.hash !='') {
location.hash = '';
} else {
if(location.pathname != '/') {
a=location.pathname.split('/');
if(a[a.length-1]=='') a.pop();
a.push('..');
a.push('');
location.pathname=a.join('/');
} else {
b = location.hostname.split('.');
b.shift();
location.hostname = b.join('.');
}
}