• ikiddEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      11 months ago
      link
      fedilink

      So this is part of a larger adblock checker, if the ad doesn’t load within 5 seconds, it fails and triggers the adblocker warning. Since the ad should load in 3, they’ve set it for 5. If you have ubo, you won’t see the warning that it then wants to pop up, it just seems (and is) a 5 second delay. Changing the UA probably removes this from Firefox because then the clientside scripts will attempt to use builtin Chrome functions that wouldn’t need this hacky script to detect the adblock. Since they don’t exist, it just carries on.

      • localhost443English
        arrow-up
        2
        arrow-down
        0
        ·
        11 months ago
        link
        fedilink

        I was wondering how badly out of context the above quote must be considering the UA isn’t checked in the function. Above poster is trying to construe it as a pure and simple permanent delay for Firefox.

        That being said, the solution is still bullshit.

        • AdalastEnglish
          arrow-up
          1
          arrow-down
          0
          ·
          11 months ago
          link
          fedilink

          That is just the timeout function, not the call stack. It is likely called in a function that uses a UA check.

        • Cosmic ClericEnglish
          arrow-up
          0
          arrow-down
          1
          ·
          11 months ago
          link
          fedilink

          I was wondering how badly out of context the above quote must be considering the UA isn’t checked in the function. Above poster is trying to construe it as a pure and simple permanent delay for Firefox.

          The UA check can happen before the function is called though.

    • MeltraxEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      11 months ago
      link
      fedilink

      This is some ultimate scumbaggery.

      • filcukEnglish
        arrow-up
        1
        arrow-down
        0
        ·
        11 months ago
        link
        fedilink

        This should be illegal, Firefox being their competition (tangentially)

        • LufyCZEnglish
          arrow-up
          1
          arrow-down
          0
          ·
          11 months ago
          link
          fedilink

          It honestly probably is

          • UnculturedSwineEnglish
            arrow-up
            1
            arrow-down
            0
            ·
            11 months ago
            link
            fedilink

            EU might hit them for it. I have no faith that the US government is going to do anything.

      • Thermal_shockedEnglish
        arrow-up
        1
        arrow-down
        0
        ·
        11 months ago
        link
        fedilink

        The thing that gets me is they think no one will ever find this stuff. There are hundreds of thousands of people (maybe more) who are actively looking ways to block ads and get around this behavior. There’s no way it’ll ever go unnoticed.

        • NatanaelEnglish
          arrow-up
          1
          arrow-down
          0
          ·
          11 months ago
          link
          fedilink

          They could literally have used some variance in implementation, server side bandwidth limitations, etc, but THIS is just blatantly obvious

          • fossilesqueEnglish
            arrow-up
            0
            arrow-down
            0
            ·
            11 months ago
            link
            fedilink

            I wonder if it’s a case of malicious compliance.

              • fossilesqueEnglish
                arrow-up
                0
                arrow-down
                0
                ·
                11 months ago
                link
                fedilink

                The world runs on the shoulders of disgruntled employees. This smells like a deliberate act backed up with a paper trail to protect the guy in charge of implementing it from taking the blame. But, I realise that also may be my imagination It’s a compelling tale regardless.

                • Cosmic ClericEnglish
                  arrow-up
                  0
                  arrow-down
                  1
                  ·
                  11 months ago
                  link
                  fedilink

                  The world runs on the shoulders of disgruntled employees.

                  That’s one hell of a phrase that should keep any CEO awake at night.

          • AuxEnglish
            arrow-up
            0
            arrow-down
            1
            ·
            11 months ago
            link
            fedilink

            I believe that Google is just trolling people real hard. There are much better ways to disable any adblocks, but they are not even trying.