• zkfcfbzr
    link
    English
    686 hours 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

    • @[email protected]
      link
      fedilink
      English
      246 hours ago

      This is such a small thing but it infuriates me every time I have to use Microsoft’s stupid “docs” site. Great QoL feature if it works!

    • Aatube
      link
      fedilink
      46 hours ago

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

      • @[email protected]
        link
        fedilink
        86 hours ago

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

        • Aatube
          link
          fedilink
          157 minutes ago

          It reads to me like the back and forward buttons just ignore them entirely.

        • @chaospatterns
          link
          English
          24 hours ago

          Which stops malicious usage, but doesn’t stop cases where web pages over use pushState as users move around instead of replaceState. I’ve seen maps that would add to the history every time a user moves around the map.

          • @[email protected]
            link
            fedilink
            23 hours ago

            It would be nice if there was a shortcut to go “back to previous site”. Because on one hand using back to navigate around map moves is often very convenient, but sometimes I want to go to the site before the map. Having a two-level history with page and site would be super useful.

  • @[email protected]
    link
    fedilink
    25 hours ago

    Borked my search providers on Windows 10. None are listed in settings and address bar won’t search. Luckily duckduckgo icon to the right of address bars provides search input field. A little annoying.