Click a link and need to go back 10x to get back. Yes, I enjoy the footballs.

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      3 months ago

      It’s a very “dumb” implementation of a generally useful feature. Browsers don’t keep track of how many times you’re redirected to the same site or try to consolidate the back-button list accordingly, but they certainly could. Wouldn’t be surprised if there was a plugin to this effect.

      • groet@feddit.org
        link
        fedilink
        English
        arrow-up
        12
        ·
        3 months ago

        They actually do. To avoid infinite loops. If a URL redirects to the identical URL for more than ~5 times most browsers will refuse to load and show an error instead.

        That’s why sites like this will generate new URLs with the same content.

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      55
      arrow-down
      1
      ·
      3 months ago

      It’s not for this, of course. It’s because in the world of single page applications built in react and angular where there is no physical back, like no actual server page to go back to just JavaScript, you have to code in what the back button means. Even though there’s no server calls to ask for a new page. New page. Most people still expect that forward and back will still go forward and back in standard navigation.

      Sites like this it’s pretty clear that they just overwrite that with the last 20 calls to their own page, but the alternative is that single page applications would not be able to have forward or back functionality

        • Scrubbles@poptalk.scrubbles.tech
          link
          fedilink
          English
          arrow-up
          25
          ·
          3 months ago

          Great I’ll just add a unique guid to each path that is ignored and returns to the same place. You show me a 10 foot fence I’ll show you an 11 foot ladder.

          • hddsx@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 months ago

            I mean, I get that. I was making a joke. But 12 ft fence? Load in sandbox and compare html. Your move.

              • hddsx@lemmy.ca
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 months ago

                14 ft fence: Diff in html. If less than 10 lines different, ban.

                • PoolloverNathan@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 months ago

                  15 ft ladder:

                  <div hidden>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  <?= rand() ?>
                  </div>
                  
  • officermike@lemmy.world
    link
    fedilink
    English
    arrow-up
    206
    arrow-down
    1
    ·
    3 months ago

    Yeah, I also hate back-button hijacking. I suspect some websites do it to artificially force more page views for ad revenue. Try a long-press on the back button to view the history for that browser tab and click on the most recent page you think won’t redirect.

    • Valmond@lemmy.world
      link
      fedilink
      English
      arrow-up
      26
      arrow-down
      6
      ·
      3 months ago

      Youtube does it, and it just continues to blast the wrong video you accidentally just auto-started because instead if fucking off, it shows other videos with the bad video getting just reduced.

      Aaargh for the state of todays internet

    • where_am_i@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      I hate that this is even a feature in the web standard. A result of some massive corporate corruption for sure.

      • brbposting@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        I recently looked into this after it seemed like Facebook messed with my back button on a private mobile window:

        Someone pointed out that it’s nice to have, for example, your email provider know that you probably want to go back for a message to your inbox instead of going back to the previous page.

        But what if browsers monitored which sites abused the feature and showed a pop-up when you click the back button, just like they offer to show you notifications? They could show you:

        This site has been reported to hijack the back button. Would you like to go back to the last domain that you visited?

        and offer to remember the setting.

    • yeehaw@lemmy.ca
      link
      fedilink
      English
      arrow-up
      81
      ·
      3 months ago

      I usually right click the back button and go 2 entries back. Done.

      Microsoft also does this a lot on some of their sites.

      • WalrusDragonOnABike [they/them]@lemmy.today
        link
        fedilink
        English
        arrow-up
        27
        ·
        3 months ago

        Usually with this, it’s like 20 entries, so pushes everything else off.

        The ones where it’s only a couple entries mostly seem to be the ones where there’s multiple articles on a single page and it’s at least might be attempting to be helpful?

  • bitwolf@lemmy.one
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    You can right click (long press on mobile) to skip back to the page that took you there

    • intensely_human@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      That’s what OP has done; that’s what we’re seeing in this screenshot.

      The back button is highlighted. This list is the list of options OP gets when he right clicks the back button.

      • bitwolf@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        I don’t see evidence of them skipping back two pages past the point in history that redirects which is what prompted my comment.

    • Akasazh@feddit.nl
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      3 months ago

      What helps with this is clicking links with mousewheeldown, I automatically opens in a new tab. Also MWD on the tab label will close it, so you don’t have to aim for the ‘x’.

      A mouse with thumb buttons is really handy as they do foreward and back, double clicking that gets you out of the issue caused in op

  • ‮redirtSdeR@lemmy.world
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    2
    ·
    3 months ago

    I was just thinking about this.

    Super annoying because it can actually be fixed by using History.replaceState() over History.pushState().

    I guess the reason they do it is either to keep you stuck on their sucky site, or just incompetence.

        • Ookami38@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          21
          arrow-down
          1
          ·
          3 months ago

          I feel like when you’re talking corporations, hanlons razor needs to be reversed. Never attribute to stupidity what could be adequately explained by malice. We’ll call it Nolnahs razor.

        • orrk@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          3 months ago

          idk, it seems like with this being a company that generates revenue from “clicks” doing something that essentially makes a person refresh the page 20 times seems like a good decision to make

        • warbond@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 months ago

          Big Hanlon fan, but I don’t think stupidity is enough to explain why the site behaves that way.

          • prole@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            3 months ago

            I’m not a fan of Hanlon’s Razor, because I feel like people believe it to be some kind of steadfast law of the universe when in reality it’s just a “rule of thumb.” And honestly not even a great one imo.

            I feel like there are a whole lot of bad people that use the concept as cover to help them get away with the heinous shit they do. People who do not deserve the benefit of the doubt.

  • foggy@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    edit-2
    3 months ago

    Three things.

    1. Yes. Sometimes this is malice. Sometimes this is an attempt to drive impressions and page views.

    2. This can also be caused by poorly configured web applications that update in real time. If, say, some sports website is giving you real-time data about the game as it progresses, a poorly configured web application might be creating a dynamic URL for every change. When you access the older page, it will be instructed to take you to the most recent data, so pressing back is taking you to old data on that page, and then immediately realizing that data is old so refreshing it with the most relevant data.

    3. This is a super common misconfiguration in single page web applications. Domain.com will take you to an application that renders at domain.com/en-us/home. Pressing back takes you to domain.com, and guess what happens next?

    This is basically 99.99% of these cases. I would say if its on some shitty news site with 1000 ads that somehow sneak by AdBlock and UBlok Origin, it’s case 1. Otherwise, it’s case 2 or 3.

    The picture instance is either case 1 or 2.

      • mrvictory1@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        MS makes a redirect to log you in, you can hit back button twice to escape. Bad design but not malice.

    • ajikeshi@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      and neither case provides a service in a state that should be exposed to the outside. Either due to malice or incompetence.

    • FuglyDuck@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      3 months ago

      Any website managed/developed by someone certified in the last decade or more knows not to do that.

      It’s absolutely malicious, both to drive SRO and to keep “accidental” clicks from backing out so quickly

  • terminhell@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Not sure about that site specifically, but others that’s done it to me was easy to get around. Most of them are thwarted with basically double clicking the back button.

    • intensely_human@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      As the screenshot illustrates, the redirects have been repeated many times to thwart that strategy.

      • terminhell@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        I get that, forgot to mention that clicking the back button very very fast is what usually works for me.

        Regardless, it’s annoying af

  • KillingTimeItself@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 months ago

    just click again, but fast enough to get the redirect, but not too fast to miss it and double click, and try not to do it a third time or you’re going back a few ages.

  • Eiri@lemmy.ca
    link
    fedilink
    English
    arrow-up
    21
    ·
    3 months ago

    I’ve always wondered. Is there really a benefit to a ton of redirects like that? Like, do they gain anything by making it harder to back out?

    Or is it just extremely incompetent website programming?

    • prole@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      10
      ·
      3 months ago

      I always just assumed it was a form of “dark pattern” meant to try to stop people from leaving their website once they’ve entered (e.g., coming from a different site, you can’t just hit backspace or click back to immediately exit their site. You’re stuck now).

      • Eiri@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        I think that’s right for a website where you accidentally clicked an ad and now it’s trying to convince you you have a virus and you need to download their virus to remove it. Or maybe for an ad pop-up where annoying you might increase the chances that the content makes it into your brain.

        But for a news website i have trouble seeing the logic.

        • prole@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Any page that makes their revenue through ads do everything they can to maximize engagement, and that means keeping them on your website as long as possible. So any little thing they can do to that end, they will.

          • Eiri@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 months ago

            I’d have expected ad providers to catch on pretty quickly that there’s cheating involved, no?

            • Krauerking@lemy.lol
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              3 months ago

              Nope. They just hear back about number of views and how it influences the shoppers and brags about how it works.

              I honestly think it’s mostly the idea of advertising that keeps it running as an industry.

              Like Facebook juicing their video viewership and recent news about Google using off screen ads in their views and impressions numbers.

            • ℍ𝕂-𝟞𝟝@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 months ago

              They also get paid off of this, the advertiser pays for those impressions.

              Advertisers can’t switch because they can’t not be present on big platforms. The whole ad industry is just companies scamming each other and the consumer.