• @egrets
    link
    691 month ago

    This is dumb and I love it.

  • @marcos
    link
    361 month ago

    Very scary code!

    • @[email protected]
      link
      fedilink
      English
      221 month ago

      Looks like there’s a cookie banner in there. The “Options” button is probably hard to find because it’s only a slightly different shade of the background colour, and you’ll have to manually uncheck twenty “legitimate interest” boxes hidden in a submenu. Pretty scary, indeed!

      • @[email protected]
        link
        fedilink
        71 month ago

        I hate that those all use those damn switches instead of the default checkbox UI.

        There’s no clear on or off state with the switches. They’re not accessible at all. They require extra code instead of a few lines of CSS and zero JavaScript.

        They’re a scourge.

        • @[email protected]
          link
          fedilink
          430 days ago

          Funnily enough, GDPR/cookie laws say denying consent needs to be as easy as granting consent.
          I’ve noticed a few websites with “Deny All” buttons next to the “Save Preferences” button. So, some people are paying attention to the law.
          I’m pretty sure your country will have a site/service for reporting non-compliant websites.

      • @WhiskyTangoFoxtrot
        link
        230 days ago

        I just use private windows for every site that I don’t log into. That way my cookies are all deleted at the end of the session.

        • @[email protected]
          link
          fedilink
          English
          1
          edit-2
          29 days ago

          I do that, too! It’s a convenient way to keep the cookies you want (like the ones that keep you logged in) and discard the cookies from random shops and news websites that you don’t want to keep. And my Youtube frontpage is empty, which saves me a ton of time I would otherwise waste on random videos their algorithm shows me.

  • @aeronmelon
    link
    101 month ago

    The pull requests are really coming down!

  • @forrcaho
    link
    930 days ago

    That’s how you say “code” when you have a code.

    • Ephera
      link
      fedilink
      English
      121 month ago

      It’s ‘minified’, in case you’re not familiar with that. Basically, many webpages come with such obscene amounts of JavaScript, that it genuinely impacts how quickly the webpage downloads. And then replacing such amenities as whitespace or readable variable names with just 1 space or 1 letter, where possible, genuinely improves on that.

      • @[email protected]
        link
        fedilink
        English
        730 days ago

        I know what it is and I hate it.

        Gzipped files are about the same size and the code would still be readable by people wanting to learn.

        The modern web is an abortion.

    • Ephera
      link
      fedilink
      English
      141 month ago

      HTML is code (it’s a way of encoding information). It’s just not typically seen as a programming language.

  • Synapse
    link
    41 month ago

    Windows code, gross.

    • TimeSquirrel
      link
      fedilink
      61 month ago

      Wat? It’s the JS source for some website. Whoever made this literally just clicked “view page source” on a random website. It’s OS agnostic.

      • @kautau
        link
        111 month ago

        Unless the joke was “windows code” as in, he’s pointing to the window and that’s where the code is

      • @Decq
        link
        130 days ago

        deleted by creator