https://perchance.org/hash-links-plugin#edit

It’s stuck in this while loop. I’ve seen it happen a couple of times before; it blocks saving too. But normally refreshing/reloading does the trick. For whatever reason, here it always gets stuck no matter what, which means I can’t fix a bug in my code, which means that entire plugin and anything that imports it (all my generator pages) breaks entirely. Editing them, I can remove stuff to try to temp fix it, it seems to save, then I reload and the save hasn’t actually saved, and there’s nothing I can do about it 😬

while (!window[sadf5456])
  await new Promise(r=>window[lkjsfh83](r, 1000));

This is where it’s stuck. Something to do with waiting for “riot” to load? ARRRRGHGHG!

  • @wthit56OP
    link
    English
    13 months ago

    Seems to be just the main file or whatever. The source tab just says “hash-links-plugin”. I’ve downloaded it and can send it if you want?

    • @perchanceM
      link
      English
      1
      edit-2
      3 months ago

      Ah thanks, found and deleted it - old code that had no effect anymore (it had no impact on the issue you’ve reported here, to be clear - it’s unfortunate how hard it is to track down async stuff like this via pausing the debugger, which I’m guessing is how you hit upon this false positive).

      • @wthit56OP
        link
        English
        13 months ago

        Yeah, it was a pause–because of the loading thing still going I thought it was caught in a loop or something. Which… it sort of was, and sort of not 😂