в консоле все выводиться. Как это победить ?
if(url != window.location['pathname']){
console.log(title);
window.history.pushState(null, title, url);
}
if(url != window.location['pathname']){
console.log(title);
window.history.pushState(null, title, url);
}
document.title = '123'
Цитата |
title — Firefox currently ignores this parameter, although it may use it in the future. Passing the empty string here should be safe against future changes to the method. Alternatively, you could pass a short title for the state to which you're moving. |