GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Delta (delta@mk.absturztau.be)'s status on Saturday, 25-May-2024 10:56:49 JST Delta Delta

    i was trying to implement blurhash display, i tried relying on on:load to turn off the blurhash when the image is loaded, but i discovered a "fun" race condition where if the image loads before the javascript initializes then the on:load handler is never executed so it gets stuck showing the blurhash...

    In conversation about a year ago from mk.absturztau.be permalink
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Saturday, 25-May-2024 10:56:47 JST iced depresso iced depresso
      in reply to
      @delta :thinking_cirno: if the script is up at the top of the file, it should get loaded before anything else?
      In conversation about a year ago permalink
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Saturday, 25-May-2024 10:57:17 JST iced depresso iced depresso
      in reply to
      • iced depresso
      @delta i guess that doesn't work if cache shenanigans occur though. rip
      In conversation about a year ago permalink
    • Embed this notice
      Delta (delta@mk.absturztau.be)'s status on Saturday, 25-May-2024 11:03:05 JST Delta Delta
      in reply to
      • iced depresso

      @icedquinn@blob.cat (idk why that was boosted i already found a solution) but yeah, when an image was cached it'd load before the JS, but there is (thankfully) a property that allows you to check if an image has loaded from JS that i could check before showing the blurhash

      In conversation about a year ago permalink
      iced depresso likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.