Skip to content

History issue - extra parameter #457

@Nuranto

Description

@Nuranto
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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions