Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Back button doesn't work in Firefox when using the dataURL feature #26

@robertpateii

Description

@robertpateii

Hello again,

Works fine in Chrome, but the old broken behavior is back in Firefox and IE. This happens:

  1. Load the page.
  2. Click a link.
  3. Click back.
  4. Note the URL changes back, but your position doesn't move.

This may actually turn out to be "by design" since at the end of those steps you are at your last position on the page reflected by the URL bar. That it works like I want it in Chrome is probably a Chrome bug.

I think I could fix this by adding the onpopstate from #18 back, but I don't have time to do appropriate testing tonight. I also want to think about other scenarios besides my personal site in which "fixing" this may cause problems. I'll try to figure it out this weekend.

Thanks,

Robert

p.s.
I think this is unrelated, but I should also remove the check for history.pushState in updateURL() since that function no longer calls history.pushState as of version 2.17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions