Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Synthead@lemmy.worldM to Very Real Tech Pics@lemmy.worldEnglish · 2 years ago

document.write("<b>Hacked!!!</b>")

lemmy.world

message-square
12
fedilink
141

document.write("<b>Hacked!!!</b>")

lemmy.world

Synthead@lemmy.worldM to Very Real Tech Pics@lemmy.worldEnglish · 2 years ago
message-square
12
fedilink
alert-triangle
You must log in or # to comment.
  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    42
    ·
    2 years ago
        } else if (hack == "planet") {
    

      }
    
    • ℓostme@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      2 years ago

      How to spot a TempleOS coder 101:

      • macniel@feddit.de
        link
        fedilink
        arrow-up
        11
        ·
        2 years ago

        I mean it’s pretty dope that you can embed assets directly into your HolyC code.

  • settoloki
    link
    fedilink
    arrow-up
    23
    ·
    2 years ago

    That code wouldn’t work, the variable hack is never set.

    • undetermined@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

      deleted by creator

      • macniel@feddit.de
        link
        fedilink
        arrow-up
        10
        ·
        2 years ago

        Except that’s how you write JavaScript embedded in html. At least that was the way when there were browsers that didn’t know the script-tag.

    • kautau@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      No, the variable code is set to a string of “hack”

      The code will work, but will just run the course of the else path and replace all the HTML with bold text that says “Unknown Reso

      And whatever else that cut off string contains

      • GigglyBobble@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 years ago

        deleted by creator

        • MagicShel@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          deleted by creator

      • settoloki
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        You are right. I honestly stopped reading halfway through, just assumed they were all else if’s

    • emptiestplace@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      right at the top, it is set to var code

      • settoloki
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        var code is set to hack. Though the code would run didn’t notice the lace condition is an else not an else if

        • emptiestplace@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I wasn’t being serious. Lace condition sounds scandalous.

  • radix@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    I love me some sans serif hacking.

    • Hupf@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Comic Sans hacking

Very Real Tech Pics@lemmy.world

veryrealtechpics@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !veryrealtechpics@lemmy.world

There’s no place like 127.0.0.1

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 35 users / 6 months
  • 13 local subscribers
  • 1.33K subscribers
  • 144 Posts
  • 447 Comments
  • Modlog
  • mods:
  • Synthead@lemmy.world
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org