Sites like Hexbear source scripts from only one domain (hexbear.net). I like those sites.


Other sites loop in a few JavaScript libraries. They have a few domains asking for permissions. That’s okay. A little lazy, but acceptable.


Then you have the corporate websites with, like, sixty JavaScript domains. Holy crap! What are scripts from facebook, pinterest, and amazon doing on this news article about jellyfish? brow And the website is perfectly functional with just a couple domains enabled. fry

  • Gorb [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    3 months ago

    I remember the days when it felt a little spicy just adding the google analytics script on a website that was entirely jquery… Aaaah jquery, peak of internet

    • smpl@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      3 months ago

      Is that still the default answer on stackoverflow?

      • Q: I’m having trouble turning on my computer.
      • A: Use jQuery!
      • Gorb [they/them]@hexbear.net
        link
        fedilink
        English
        arrow-up
        15
        ·
        edit-2
        3 months ago

        When node was becoming popular I was tempted to port jquery and make some demonic server side jquery library. Maybe one day. Just need to make an XML based OS first

        • someone [comrade/them, they/them]@hexbear.net
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 months ago

          Node is one of those things that baffles me. Why use a shitty language originated during a two-week cocaine binge by Brendan Eich as the basis of server backends? I can understand the tragic compatibility need to keep using Javascript in browsers, especially after Google inexplicably pulled the plug on Dart as a potential browser language and redesigned it to be just another Typescript clone that’s been crippled so that it can transpile to Javascript. But it’s not like we’re starved for good backend languages.

          • Gorb [they/them]@hexbear.net
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 months ago

            I think it was out of a desire to reduce staff tbh. Around the time the concept of a full stack dev was becoming popular and the idea is one person does everything rather than splitting the various components into different specialties and since js was mandatory on the browser why not get the frontend devs to write the backend as well. It was a tech bro psyop thats my theory.

            • someone [comrade/them, they/them]@hexbear.net
              link
              fedilink
              English
              arrow-up
              5
              ·
              3 months ago

              What sort of incompetent no-long-term-planning 3-second-attention-span halfwit would ever think that using a dynamically-typed scripting language with barely any standard library and which is famous for undefined behaviour would make a good backend language, just to save a few dollars in the short term, was ever a good idea?

              Oh, right, just every tech company upper-management drone on the planet.

      • BeamBrain [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        12
        ·
        edit-2
        3 months ago

        Ah, StackOverflow.

        “How do I do x with platform y?”

        Responses:

        • “Platform z is better. Use that instead.” [+57]
        • “Nobody does x anymore. You should be doing w.” [+108]
        • “This is for work and company policy dictates I use platform y and my team could not get approval for w.” [-1]
        • “Thread closed. Question is a duplicate of another: ‘How do I customize colors for the x I’m doing on platform y? (2007)’”
      • propter_hog [any, any]@hexbear.net
        link
        fedilink
        English
        arrow-up
        9
        ·
        edit-2
        3 months ago
        • Q: how to quit vim
        • A: have you tried jQuery?

        It got to a point that it was almost like a religion, like we were going to see pairs of programmers walking through neighborhoods, handing out chic tracts on jQuery.

  • keepcarrot [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    17
    ·
    3 months ago

    I hate trying to figure out which domains are just for advertising/tracking/shady stuff and which are actually necessary for seeing the actual content I want.

    • Comrade Rain@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      I thought Umatrix was unmaintained?

      Anyway, I used to use it till a few years ago. It’s a really powerful extension, but it breaks some sites with the default settings and it can get tedious reenabling scripts one by one to find the bare working minimum. I have since switched to uBlock of the same developer and it seems to me an adequate compromise between privacy, better performance and working sites.

      Unfortunately the modern web has turned into tihs so you can’t even browse without an ad blocker anymore.

      • pinguinu [any]@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        That’s fair. I’ve used noscript for 4 years and the default is awful. I looked a bit into using uBlock for blocking scripts but I just noped out.

  • keepcarrot [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    I hate trying to figure out which domains are just for advertising/tracking/shady stuff and which are actually necessary for seeing the actual content I want.