• zkfcfbzr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Firefox now includes safeguards to prevent sites from abusing the history API by generating excessive history entries, which can make navigating with the back and forward buttons difficult by cluttering the history. This intervention ensures that such entries, unless interacted with by the user, are skipped when using the back and forward buttons.

    Nice

    • Aatube@kbin.melroy.org
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      I wonder what exactly the safeguards are, since I’m developing something that should manipulate the history state for quality of life.

      • vithigar@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        From the text it seems like a site only gets added to the navigation history if the user interacts with it.