Saving Edited Generators even when not Logged In/Signed Up
  • BluePower BluePower Now 100%

    Are you planning on signing out every time you want to work on a version? And making a new version?

    No, I would instead create a whole separate browser profile, so I don't have to log out every single time on my primary browser profile.

    What I do while working on a new version is, I work on a private/unlisted copy of the generator.

    Hmm... I could do that, however I've had a fear that the supposedly private generator would go out in the generators page immediately before I quickly set it to private, and that someone would be able to click the link through that page, so I thought creating a separate generator and saving it while not logging in would be a better option, since Perchance will un-list them right after, albeit still being publicly accessible. I know that this phenomenon is very unlikely to happen, but I'm just afraid that it would happen at all.

    1
  • Saving Edited Generators even when not Logged In/Signed Up
  • BluePower BluePower Now 100%

    This is really cool! I've tried it now, and I think the saved generator is unlisted by default? If so, I could utilize this feature when working on my generator updates (especially my Generator Manager) so I don't have to dump the generator codes to a text file every time!

    That "saved" interface reminds me of the times when the connection was not good that Perchance was only showing the "save" and "account" buttons, and the save button would still work just like normal.

    3
  • Contact a generator authority
  • BluePower BluePower Now 100%

    I think the Perchance Dev makes the AI Character Generator. You can message them instead: @perchance@lemmy.world

    2
  • Help! I've fallen and I can't get up! (Can't identify source of error)
  • BluePower BluePower Now 100%

    It seems like either the OP responded to my message, or they just figured it out by themselves.

    1
  • One question about the dark mode on Perchance main pages
  • BluePower BluePower Now 100%

    Perchance already has a dedicated dark mode button for their t2i-based generators like ai-text-to-image-generator, so I think they could implement something like that into the main pages too.

    2
  • Some Generators Hosted By Perchance are generating highly Illegal Content
  • BluePower BluePower Now 100%

    Are you mentioning AI generators or all sorts of Perchance generators? Either way you should ping @perchance@lemmy.world for stuff like this.

    1
  • Help! I've fallen and I can't get up! (Can't identify source of error)
  • BluePower BluePower Now 100%

    You can't assign variables in the middle of a list, instead you would move this part to the output assignment so it would actually create the variable that could be evaluated by the ..., r = recipies.selectOne, r.name] instance:

    [f=createInstance(ingredients.flour.selectOne), createInstance(b=ingredients.flour.selectOne)]
    

    Like this:

    Why does this happen?

    Perchance recognizes and evaluates the f variable assignment block I've mentioned before as the child of the list pie which is a child of the list recipies, making it unusable when called it directly within the variable's name. To fix this you'd need to execute that assignment before the recipies list is evaluated (as I've said before).

    1
  • Another time to say, "long time not posting on this community", but here we go! There is one question I've wanting to ask about the recent update about the dark mode on the main/official Perchance pages: **is there a way to disable them only for the pages (i.e. keep the pages in light mode without having to turn off the dark mode completely)?** Most of the time my eyes just don't get comfortable enough reading the text in the dark mode. I'd also suggest putting a button to toggle the dark mode on/off just like we have on [the Hub](https://perchance.org/hub) on these pages. ![](https://sh.itjust.works/pictrs/image/b7d38052-9abf-4552-985d-864a6687ed6a.png)

    4
    2
    Learn Perchance - primer for coding with perchance
  • BluePower BluePower Now 100%

    Great to see the tutorials are using screenshots of the new Perchance interface! 😃

    3
  • spin to try you luck ― Perchance Generator
  • BluePower BluePower Now 100%

    You can use Tab or keyboard shortcut Ctrl+] to indent a line without having to move the cursor to the first few characters. Also Shift+Tab or Ctrl+[ to unindent the line in the same way.

    3
  • [Generator] Simple API Plugin
  • BluePower BluePower Now 100%

    Same with me too when testing. Also, it popped the code from a wrong generator when I input generators like power-name and power-generator-manager (but it didn't throw an error)

    1
  • [Request] (or bug?) Generator page doesn't use the $meta.image image
  • BluePower BluePower Now 100%

    Great! From this I could better see that if a generator's meta image thumbnail is this one, it is most likely a remix of the original AI Text to Image Generator (this also applies to other original image generators with the meta image already set up as well). There are some of them scattering around the generators page right now.

    1
  • [dev] Using `$meta`, you can now ~hide the header bar, and change its color/background, and add tags to your generator
  • BluePower BluePower Now 100%

    I see, though the new navigation bar is probably one of the biggest Perchance updates I've ever seen.

    3
  • Pro tip: make a private dev copy of your plugin/generator
  • BluePower BluePower Now 100%

    I used this term alpha to define the version as an "under maintenance" version of the Preview builds. It's basically a more private-ish version of the Preview versions, where I save the code to a place where the features are left unfinished (directly on Perchance). This could save some time as I don't need to constantly copy and paste the generator's code into a text file and paste them back once I want to continue working, and also to reduce the accidental saving events that happen uncommonly. And with that, I could also plan more efficiently too.

    2
  • Pro tip: make a private dev copy of your plugin/generator
  • BluePower BluePower Now 100%

    Yep. This isn't yet clear by the way; I'll be mentioning a special section related to this in the 30.0k special announcement thing (hopefully coming next month or so, because not only my recovery is almost complete, but I'm also getting a lot of new business and off-Perchance plans, so I have to take some big time and rearrange the generator update plans as best as I could)

    1
  • [dev] Using `$meta`, you can now ~hide the header bar, and change its color/background, and add tags to your generator
  • BluePower BluePower Now 100%

    Cool update!! 😃 I didn't know there will be this customization option because of the new navigation bar (I noticed that yesterday). For some reason, my user style made it look like the little tab buttons for me (and I kind of wanted to keep it for now). I do still need that "resources" link, so you might probably want to link it somewhere in the welcome page so I can access it from there instead.

    4
  • Pro tip: make a private dev copy of your plugin/generator
  • BluePower BluePower Now 100%

    Same with me too, I appended -preview at the top of my preview versions of the projects, although this only applies to my generator hub page and my name generator at the moment.

    A little bit of story, I have planned to make an "alpha" version of these generator projects, which is like a lively updated version (frequently saved, typically as soon as I edit the code and go AFK mode). The reason for this is because, in Preview versions, I've really wanted to bring the freshly-served experimental features and updates ready-to-go to be then tested, all in one update, to be later released into the stable version through some updates, whereas the alpha version will be a place where the newest experimental features are being progressively built to be then transferred into the preview version.

    In other notes, I also never wanted to bring these preview, unfinished versions directly into the stable version so that things keep well-organized. I might not explain it very well, because I'm still largely heading into the recovery time (see this post). I'll make it clear in the 30.0k views milestone special coming this month (or next month, followed by the huge update) though.

    Here's what I wrote from the big revival announcement page:

    • Third, the new Alpha versions I've mentioned in the 5.0k announcement before is now more of like the in-progress versions of the Preview updates of the generator, so I'll constantly saving and updating the generator while I'm working on an actual Preview update!
      • However, this version will not be discoverable anywhere, in fact I will not going to mention any links to the alpha version, since this version is mostly a little "secret" space where I build new features of the generator, and so that I can spare less time in a day working on the generator (in other words, no need to spend more time finishing on a new Preview version in a single day).

    I've also planned to create an alpha version of my name generator, but haven't done so to this day:

    So I've finally planned to continue the active development of the generator when the generator reaches its 1st anniversary (that's on March 25th). Also, there will be a new development stage for the generator, mainly called Alpha/Dev. The releases of this stage will be on the "stepping stone system" on top of the Preview releases, so it'll contain smaller packs of new features and improvements and expect more of the non-functional features! Still, feel free to hop in the preview version and let me know what's your experience! Oh, and the generator will soon use the new font within the next big update!

    (here's an old copy of my Generator Manager that I've still left the old announcement on, mentioning above text)

    What do you think of this concept? @wthit56@lemmy.world


    Also, I'm planning to remove the canvas in the big revival announcement page very soon, just to close up the potential holes of people putting the bad things into the generator page. The drawings there will stay intact, just the canvas frame being removed.

    1
  • [Bug] Very odd things going on with [code block] giving objects
  • BluePower BluePower Now 100%

    Also fun fact, lists on Perchance are actually made of custom objects, and so every single type of JavaScript objects is treated by the Perchance engine as "lists". And since arrays are of objects, evaluating them directly will output a random item from the array, as if they're lists, if you don't know yet.

    In addition, [ ({}) ] and [ [{}] ] gives the same result as e = [ x = {} ].

    2
  • [Request] Put all the usual loading/init etc. messages under console.debug()
  • BluePower BluePower Now 100%

    console.debug()? Hmm, never heard of this before. Thanks to this post I immediately learnt what it does.

    I am unlocking many new JavaScript capabilities this month! 😄

    2
  • So in https://perchance.org/ai-text-to-image-generator (and other t2i-based image generators) you could choose an art style and then a few dropdowns come below the prompt description textbox allowing you to choose any additional effects (or built-in modifiers, I should say) to be added to the prompt. ![](https://sh.itjust.works/pictrs/image/0402d25c-f128-49c2-8eea-a18e983bd97b.png) Well, I've found a bug on these. When I choose one that has a dropdown menu (for example, "Professional Photo"), the dropdowns did come out, but when I reload the page, the option I chose earlier retained, however the dropdowns did not come out as if the default option was selected. ![](https://sh.itjust.works/pictrs/image/42c9085e-b51c-459b-877b-88aabf88b1ae.png) I also tested if this bug happened on other t2i-based AI image generators too, such as https://perchance.org/furry-ai and https://perchance.org/ai-image-lab, and it also did the same, so this is most likely a bug within the t2i framework.

    3
    6

    Haven't been posting in this community for a while, but I'm here just to share a tip (I think there hasn't been anybody asking for this here yet) that someone on Discord has suggested on. This only works on computers with developer tools though, and I think you could do this in Firefox too. Here's how to do it: 1. In https://perchance.org/upload, open DevTools Console (Ctrl+Shift+I > Console tab) and then select "embed" in the dropdown at the top of the console: ![](https://sh.itjust.works/pictrs/image/1efb5762-0665-4187-b585-cf386c4f7c90.png) 2. And then type in `localStorage.previouslyUploadedFiles`. It'll then give you a JSON of the upload list that you can copy the given string provided to a text file and transfer it to another computer you'd want to access the uploads for. ![](https://sh.itjust.works/pictrs/image/782a4030-b55e-45c5-b4ff-e6134ec674a2.png) 3. Right click and select "Copy string contents" ("Copy Message" in Firefox). Then, paste it into a text file somewhere that you can transfer through a media like a USB to be transferred into the other computer. 4. In another computer, repeat the first two steps above, and then write this: ```javascript localStorage.previouslyUploadedFiles = [upload list content from the text file] ``` 5. Replace the `[upload list content from the text file]` part with the contents from the text file you've just transferred, and then hit Enter. This will magically set the upload list to the one you have in your primary computer. And that's it! The upload list isn't synced though, but at least could be useful for keeping stuff in. Feel free to add something missing here if you like! 😊

    5
    6

    So I've just been working for [the huge update](https://lemmy.world/post/17655713) for [the Generator Manager](https://perchance.org/power-generator-manager) since a couple days and I wanted to share one thing I've been working on in the middle of the making, that is **the new error handling method** on the generator hub page. Instead of just throwing the error onto the DevTools Console, it also throws the error into the Perchance error box inside the generator hub page, so it is much more convenient to see what's wrong with that feature in case I'm changing on something. And that is a custom Perchance error I just created. ![](https://sh.itjust.works/pictrs/image/37aab97d-ff2c-4f2f-ac8f-d7b1952aedf0.png) This is accomplised using `__perchanceError()`, and I understand this is likely a "private" function or something that isn't guaranteed to be "backwards compatible" for long (as I understand that), but I wonder if this function was available for wide use and documented somewhere in [the advanced tutorial](https://perchance.org/advanced-tutorial), it'd be very good for someone to learn about. You can also put HTML into the custom error text to add some neat formatting to it. This will be limited to the handling of generator cards and the recently updated section for now but in future updates these will be expanded to pretty much every single feature on the generator hub page.

    2
    1

    Time for another trailer about the big Generator Manager 2.0.20.1 update! I have just started planning and getting to work on building the changes for the big update very soon, from [the latest Preview update](https://perchance.org/power-generator-manager-preview), and I hope that this goes well enough so that I could finish it in basically a few days from now. But there are *three* more off-Preview changes I want to mention here: new backgrounds and accent colors (of course), new sidebar items, and finally, **the introduction of dark mode** for the very first time ever! And there's just so many more coming out for the huge update...

    1
    0

    Since the new backups feature was released, which adds an ability to create restore points of generators in a case I accidentally closed a tab while the generator isn't saved yet. But I sometimes work on updating generators through a logged-out session or, when creating a new generator (hitting the new button in the navigation bar and it opens up the minimal template), which is in an unowned generators session (only save and account buttons in the top-right). And so, I'd need that feature to work on these kinds of environments, so I don't ever have to worry losing all the work there, especially when creating new generators.

    2
    1

    This is a pretty interesting topic to talk about. Whenever I feel want to bring a generator to the top of the generators page, hoping for a few people to click on them through the page, I always feel like the only way is to save the generator and made some tiny changes if possible. But, what if I *don't* want to actually change any of the content in a generator, and still be able to save it? Well, I know there's now a system where if you edit a generator and then undo/edit it back to its exact original/saved state (basically reverting it) Perchance will auto-detect that and the save button will go back to the saved state. This is a great feature honestly, but it's still possible to do the trick but the generator's content **needs to be different from the original state**, at least a character off. For example, adding an unobtrusive space around the lists code, or moving the list items up or down (`Ctrl+Shift+Up`/`Ctrl+Shift+Down`) and then saving right away. But what do you think about this?

    3
    2

    After I finished working on my drawing, I spent some extra time on the event drawing small custom/abstract flags inspired from generated flags from [my flag generator](https://perchance.org/random-custom-flag), placed on random locations of tiny available spaces on the canvas. Mainly just to help fill the canvas, but overall, that was a cool and fun idea. I drew a total of 40 flags, but not all of them managed to survive until the end of the event. So, I double-checked and counted all the survived flags, and in total, there are **34 survived flags on the canvas.** If you managed to find all of them, I'll reveal a huge list of locations in the comments! These are some of the mini flags, for a bit of a hint. ![](https://sh.itjust.works/pictrs/image/b0d3cfd0-8943-412e-b744-b250ce96e3eb.png) ![](https://sh.itjust.works/pictrs/image/17dc2f75-8473-43b7-8180-3cdc52f30a1a.png) ![](https://sh.itjust.works/pictrs/image/7c2e767f-4dca-42cf-a94b-714034f66466.png)

    29
    2

    **[📍 Canvas location](https://canvas.fediverse.events/#x=680&y=436&zoom=6)** I'm happy I could finish a 158-pixel-wide drawing mostly (if not all) by myself ever since the time when the canvas was expanded (took around 2 days to finish). At the time the canvas had much more space to build in that I instantly got an idea to build a template incorporating the two URLs of my most popular Perchance projects ([Power Generator Manager](https://perchance.org/power-generator-manager) and [Power Flag Generator (a.k.a. Random Custom Flag)](https://perchance.org/random-custom-flag)) and some references. There was a bit of an adjustment when someone was drawing overlapping on my template, but it was fine, I then planned to move some parts around. Now, while I look around the canvas, I wanted to draw more custom/abstract flags scattered around the entire canvas (in tiny available spaces of course) during the remaining time of the event, just to help fill more pixels around the flag layouts/models will be grabbed from my flag generator. [Here's a group of the blank versions for a reference.](https://sh.itjust.works/pictrs/image/40059217-734d-4c28-aa47-769d3ac2fc62.png) What do you think?

    34
    3

    I just discovered another interesting feature utilizing the [generatorName altering solution](https://lemmy.world/post/13241347) but it is even more powerful. You can basically pull comments and text to image galleries from multiple generators in a single generator page, simply by putting multiple `[generatorName = "<generator name>", ""]` blocks inside the comments plugin/text to image gallery block calls, according to the left-to-right Perchance code reading mechanism (see the "Execution Order" section in [the examples page](https://perchance.org/examples)). For example, I can have two comments sections, one from my generator hub page and the other from the `generators` page, and then put an `ai-text-to-image-generator` gallery, all in one single generator. Currently didn't have much time to explain it better (but feel free to do so!) [Here's a very simple example](https://perchance.org/lun0uoiaj4) I made demonstrating the feature.

    1
    0

    I've discovered a number of blank/empty generators that have zero lines of code on both the list and HTML panels. Here's a compiled list of them that I could find: - https://perchance.org/blank - https://perchance.org/empty - https://perchance.org/null - https://perchance.org/preprocessor - https://perchance.org/perchance - https://perchance.org/generator - https://perchance.org/chat If you happen to find another one of these, please let me know!

    3
    1
    mastodon.social

    After revisiting, recalling and reevaluating my plans about the big update, so many times, I think it's time for a **new** trailer about the huge update! Remember these small, interesting test generators I made that I've been pulling out from the generator hub page over a year ago? Chances are, if you've stumbled upon my page since a very long time ago, you might remember some of them, like [Typewriter Speed Test](https://perchance.org/p8jkyzww4h), [Fake Error Generator](https://perchance.org/9yp6b3y525), and [The Computer Based Story](https://perchance.org/svssi84k9n). And this time, with the huge update, **I'll be bringing back those generators** with a little bit of twist - they will only be accessible with a special URL parameter you can put in the link, like `?enableRawStats=true`. And this will not only be one of the notable changes I'll make in the update - there's *a lot* more to come!

    2
    0

    This is a trick I've stumbled upon several days ago, and I haven't seen it documented anywhere in the examples or advanced tutorial page. If you don't feel like the traditional Markdown style when using [the Markdown plugin](https://perchance.org/markdown-plugin) and simply wanted to use the usual HTML style, you can simply do this: ```javascript markdown = {import:markdown-plugin} output = [markdown(text).replace("markdown-body", "")] ``` The `.replace("markdown-body", "")` part is what makes the formatted text loses the Markdown style and goes into the regular HTML style which then you can stylize yourself using CSS to whatever you want. It essentially removes the `markdown-body` class in the body of the entire markdown text (or that's what I could explain).

    4
    1

    This would happen only in two ways, either the user ID is unique enough that when converted without being caught as a "bad" word in the process it turns into the `ABCD` visual tag, or after converted, the visual tag deemed to have bad words (or look exactly like a bad word), even after checking it more than one time, resulting in the tag falling back to the `ABCD` format. I just deep dived into the comments plugin's user ID into visual ID converting algorithm behind the scenes, that's why I'm making a post related on this topic. Also, have you ever seen actual occurrences of tags like this happening on comments of generators? Share if you have one!

    3
    3

    While updating an in-event generator for the ongoing Generator Manager Event, [A Venture Poem Generator](https://perchance.org/a-venture-poem-generator), I have tried to add the `url-params-plugin` to add a feature so users could disable glows on the poem for performance reasons. But when testing out the generator after saving, it doesn't work at all. Even when I test if that URL parameter exists at all, it still won't show the expected output. Whatever parameter I put into the URL, when I run `[url.anyurlname]`, it outputs `undefined` instead. I've done the same with my view counter experiment generator, and had the same issue. (Try visiting https://perchance.org/the-view-counter-experiment?name=Example, the greeting text above the tabs thing *should* output `Hello, Example!`) This is more likely a bug with the plugin that for some reason fails to cache those URL parameters into the generator. When I try setting the `url` value to `[Object.fromEntries([...new URL(window.location.href).searchParams.entries()])]` in place of importing the plugin in that generator, that worked. And since I use two different browsers, both didn't work with the plugin imported.

    2
    3

    cross-posted from: https://sh.itjust.works/post/21543982 > Hello and welcome to the first Generator Manager Event ever hosted! > > This is going to be a casual event that will be ongoing mostly during the times of my preparation for the huge 2.0.20.1 update, created in favor to increase the "spirit" and uprising interest in those kind of stuff to a point where I could finally be energetic enough to release the update, unlike the past few weeks where I planned the update much earlier and ended up getting delayed a lot due to massive business stuff struck around in real life. The big update turned out to be even more massive than I think would be because that's when I was aware that I wasn't going to release the update as planned and I'm going to have to set up lots and lots of things and re-wirings prior to the actual release of the update. > > As the name implies, it's about an adventure, so go make some adventure/space themed generators to be submitted into this event! > > **Starts:** 30 June 2024, 12:00:00 UTC > > **Ends:** 14 July 2024, 12:00:00 UTC > > ## Generator Rules: > - Make any adventure/space themed generators, as long as it's **not** explicit or adult content > - It's recommended to add some color in your generator! Maybe simply make the background colored, add some decorations or whatever you like to further glow up the generator. > - You can submit your generators to this community as well. Make sure to submit after the event started and before it ended. > > To add some spark into the preparation event, I want to mention a bit of thought I have left for the changelog of the big update: **We'll be back regularly releasing some improvement updates to the generator hub page a few times every single month**, and that'll happen right after we release this very exciting update! These follow-up updates will often star some massive improvements and rollouts of features planned to be in the 2.0.20.1 update that wasn't in the update afterwards, including the long-awaited dark mode and the re-aligned Home page, in the follow-up Generator Manager updates after that! So, don't miss the mark out if you're waiting for those really cool updates! (And the Event page will get a kind of an overhaul, too, for an even richer experience.) > > Happy creating and stay together for the event! 🚀 > > --- > > [See the Generator Manager Events here](https://perchance.org/power-generator-manager-preview?page=events)

    4
    1

    Hello and welcome to the first Generator Manager Event ever hosted! This is going to be a casual event that will be ongoing mostly during the times of my preparation for the huge 2.0.20.1 update, created in favor to increase the "spirit" and uprising interest in those kind of stuff to a point where I could finally be energetic enough to release the update, unlike the past few weeks where I planned the update much earlier and ended up getting delayed a lot due to massive business stuff struck around in real life. The big update turned out to be even more massive than I think would be because that's when I was aware that I wasn't going to release the update as planned and I'm going to have to set up lots and lots of things and re-wirings prior to the actual release of the update. As the name implies, it's about an adventure, so go make some adventure/space themed generators to be submitted into this event! **Starts:** 30 June 2024, 12:00:00 UTC **Ends:** 14 July 2024, 12:00:00 UTC ## Generator Rules: - Make any adventure/space themed generators, as long as it's **not** explicit or adult content - It's recommended to add some color in your generator! Maybe simply make the background colored, add some decorations or whatever you like to further glow up the generator. - You can submit your generators to this community as well. Make sure to submit after the event started and before it ended. To add some spark into the preparation event, I want to mention a bit of thought I have left for the changelog of the big update: **We'll be back regularly releasing some improvement updates to the generator hub page a few times every single month**, and that'll happen right after we release this very exciting update! These follow-up updates will often star some massive improvements and rollouts of features planned to be in the 2.0.20.1 update that wasn't in the update afterwards, including the long-awaited dark mode and the re-aligned Home page, in the follow-up Generator Manager updates after that! So, don't miss the mark out if you're waiting for those really cool updates! (And the Event page will get a kind of an overhaul, too, for an even richer experience.) Happy creating and stay together for the event! 🚀 --- [See the Generator Manager Events here](https://perchance.org/power-generator-manager-preview?page=events)

    0
    0

    So I just decided to move to Firefox for the updating and managing generators stuff personally (although I might still use Edge for testing stuff) to further minimize [the connection-stalling problem](https://lemmy.world/post/15004829) from happening ever again, and so I've been wondering if it's possible to move the admin login data (basically a list of generators that I just logged into admin on) *and* the notifications data (a list of generators and keywords I've listened to comment notifications from) into a different browser, just like importing browser data, in some ways? I want to keep things synced between two browsers and thinking of this for a while now. I do have tried a few things such as transferring the `localStorage` of the `comments-plugin.perchance.org` (the central domain of Perchance comments plugin), and even also tried to transfer some of the cookies, and both didn't work well.

    2
    0
    perchance.org

    Just made a decorative plugin that adds a cool rainy effect (or ANY kind of rain effect) into a generator. Released after [the 20.0k views special announcement](https://lemmy.world/post/16580954), and soon before the staggering Generator Manager 2.0.20.1 update ultimately goes out... There are all kinds of rains you can make from this plugin, such as: - Lava rain - Acid rain - Copper rain - Metal rain - Ocean rain - Golden rain ... and the list goes on. Just be creative with it. *Let it rain!* 🌧️☔

    2
    2

    This is yet another super weird bug I've discovered recently when creating a generator update. Tried on the generator first (while working on the update), but when I try on the Programmatic Get/Set/Submit Example, running the `update()` function into the testing panel seems to trigger this bug. I also got an error too, which writes as follows: ```text DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. at ___updateTemplatedNodes (https://210cadb7fe3ad106894dfb4649d8ce79.perchance.org/programmatic-get-set-submit-comments-plugin-example?__initWithDataFromParentWindow=1:470:30) at update (https://210cadb7fe3ad106894dfb4649d8ce79.perchance.org/programmatic-get-set-submit-comments-plugin-example?__initWithDataFromParentWindow=1:412:5) at eval (eval at <anonymous> (https://perchance.org/lib/perchance/evaluateSquareBlock.js?v=3ds06dgd27d:66:38), <anonymous>:1:12) at Proxy.<anonymous> (https://perchance.org/lib/perchance/evaluateSquareBlock.js?v=3ds06dgd27d:66:38) at __evaluateSquareBlock (https://perchance.org/lib/perchance/evaluateSquareBlock.js?v=3ds06dgd27d:66:77) at __evaluateText (https://perchance.org/lib/perchance/createPerchanceTree.js?v=21ads3j533dgddldddfd337132fdwf3:1386:20) at https://210cadb7fe3ad106894dfb4649d8ce79.perchance.org/programmatic-get-set-submit-comments-plugin-example?__initWithDataFromParentWindow=1:536:44 ``` And that "nullifies" the `com` object which of course renders the comments section's programmatic submission ability to stop working: ![](https://sh.itjust.works/pictrs/image/f3928a03-ea6e-4106-bf85-aa89ee1aa483.png) So, if you've tried to implement the programmatic interaction features inside of [the minimal template](https://perchance.org/minimal) (or any generator that has a practical "randomize" button that executes the `update()` function), chances are you've probably already stumbled upon this bug.

    3
    5
    BluePower Now
    64 229

    BluePower

    BluePower@ sh.itjust.works

    I make generators on Perchance.org and do a bunch of other cool things.

    Links: