home.social

#javascipt — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #javascipt, aggregated by home.social.

  1. Is #ReScript the future of #javascipt? A typed subset of JavaScript.

    #Typescript is great but not all love it.

    From the docs: "ReScript is the language for folks who don't necessarily love JavaScript, but who still acknowledge its importance."

    rescript-lang.org

  2. @don_atoms

    Every major browser started blocking my personal family website saying that it contained phishing asking for private information. I checked and there was nothing visible, no externally loaded #javascipt and the local code's files all matched their original hashes.

    No one had broken in.

    Turns out that #Google had set "#SafeSearch" to do this to any #Yunohost site they were aware of (eg emailed to a Gmail account).

    With that they blocked Yunohost sites from every major browser.

  3. Ok, I have a coding question:
    In playwright (JavaScript) once I've got an API response, how do I pull data from it.
    I just need to get an id number from the JSON in the response
    #codingnewbie
    #askmastodon #codingquestion #javascipt