-
-
Notifications
You must be signed in to change notification settings - Fork 342
Closed
Description
ias.on('page', (event) => {
// update the title
document.title = event.title;
// update the url
let state = history.state;
history.replaceState(state, event.title, event.url);
});
Strange behaviour :
1/ I scroll, ?p=2 is added => OK
2/ I scroll again ?p=2 is replaced by ?p=3&1581932043014= instead of ?p=3 => not OK
I don't like it because I don't want google to see that and index such URL. I don't know if it could, but I know that google is better and better using JS...
fabiocaccamo