13

I'm gonna EDIT!!!

Comments
  • 1
    Nooo dooon't
  • 2
    Sr devs be like
  • 1
    Ahah yes funky code funky code…

    Wait…
    Waaaaait…

    What the FUCK is this line? D:

    }}.discus.com/embed.js’

    (I know it is a continuation of the previous line, but reading it fastly I got surprised)
  • 1
    well......you can change var to let
  • 2
    @piratefox but the string literal isn't even template string, what does two curly braces do there?
  • 2
    @Pogromist I'm afraid it's meant to be filled in by a server-side templating engine.
  • 1
    Reminds me of a shitty dev we had who implemented some complicated stuff and it was buggy AF but he always said (read in Ukrainian accent): don’t touch code, it will cause bugs 😂
  • 3
    Jesus Christ is that JavaScript that creates a script tag to load more JavaScript?
  • 1
    @10Dev scriptception
  • 1
    @10Dev
    JavaScript is like NAT:
    A pretty bad idea, most often used without need, makes the internet a worse place for everyone,
    and seems to be able to reproduce somehow...

    The main difference is, that JavaScript is mostly used to violate peoples privacy while NAT is mostly used to keep people from fully participating on The Internet (meaning: Cheaply run their own servers at home).
  • 0
    Cool injection opportunity if you’re not careful …. set discus subdomain to “mydomain.com/?”
Add Comment