var location = window.location.href.split('#')[1];
localStorage.setItem('history',location);
//window.localStorage.clear();
if (localStorage.getItem('history') === null) { document.getElementById("hidetext666").innerHTML ='Добро пожаловать! ' ; }
else{ document.getElementById( 'result' ).innerHTML =localStorage.getItem('history'); };