cherrys

    • Joined Oct 28, 2023
    • 14 best answers
    • 0 points
    • 1 Following1 Follower
    • Ⓒ 45.9
    • Alt of @Ravage - I used it to get every possible badge on the forum, see the discussion of that name

    • cherrys Depends on the browser. In most of them, CTRL+I (letter "i") will open it. F12 also does it in Edge, but I don't know other than that.

      Also, nobody's judging, but honestly, CDO is not the place that will educationally enrich you. It's fine for a year or two if you're very young, but other than that, I'd do some real coding (C, Java, Python)...

    • cherrys This time, you're making your life way too complicated. getKeyValue isn't meant to be used the way you're doing it, because the function is not run as the getKeyValue's return value. It's just... run. You need to do this: getKeyValue("messages"+room,function(a){
      msg=a
      })

      Also, rate limiting exists, but that's completely outside the scope of a chat. If your keyValue fetching just stops, it's probably that. You can check the inspect console, and if it is being rate limited, it will say so: "rate limit reached".

      • cherrys Ah, that would be the getUserId(). You need to make sure to use encodeURIComponent on it, to avoid backslashes. So, the code would be setKeyValue("username"+encodeURIComponent(getUserId()), username).

        Awards

        • Ⓒ 38 from cherrys
          Comment: ya thanks

      Chat