Skip to content

pat-inject: Use history: record for each injection triggered by "click" events on "anchor" elements. #822

Open
@thet

Description

@thet

Often the history: record configuration isn't used when it should. This leads to changing pages without having the URLs changed in the browser bar. And this leads to some other problems, like a sidebar not being updated based on the state of the window.location object or the page not being bookmark/shareable because the window.location entry is wrong.

I think we can just use the history: record option by default for all injections triggered by a click event on a anchor element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions