wthit56

joined 4 months ago
[โ€“] wthit56 1 points 1 day ago

What "export" and "import" are you referring to?

[โ€“] wthit56 2 points 2 days ago (2 children)

I don't know if I'm looking at it wrong, but it looks exactly the same to me ๐Ÿ˜…

[โ€“] wthit56 2 points 4 days ago

Presumably you mean AI-chat. But I would advise them against hanging out in the comments/chat sections of generators. Unfortunately there's bad actors in there, talking about bad/illegal stuff you don't want a child exposed to. As well as some people generating over-the-line image content and saving it to public galleries--as well as NSFW stuff in general.

[โ€“] wthit56 1 points 1 week ago

At a glance, XTTS is a technology that runs on your computer. Not a service you can call from any web page. So it would have to run on the perchance server... which it does not.

[โ€“] wthit56 1 points 1 week ago

https://perchance.org/ai-text-plugin explains how to use the plugin. If you want to make things work your own way, you'll need to learn to code at least to some degree.

[โ€“] wthit56 2 points 1 week ago (4 children)

Are you trying to make a new generator? How is this related to the character you have on the character AI chat?

[โ€“] wthit56 1 points 2 weeks ago

The onclick takes JS code. The JS function called "update" updates the perchance stuff across the whole page. If you pass an element to the update function, it will only update that element.

So in my test, I have an element with the id "output." So just passing output to the update() function means I'm passing a reference to that element with the id "output." And then only that element is updated.

[โ€“] wthit56 1 points 2 weeks ago (2 children)

Well done! If you let me know where to look, I'll check it out :D

[โ€“] wthit56 1 points 2 weeks ago (5 children)

I've made a separate example. While yours may have been simplified there was still a lot of complexity and redirection throughout the perchance code which made it hard to really know what's what.

This example does what you want (I think), and is also very simple. I hope it helps. https://perchance.org/hw714l9a98#edit

 

On my generators I have a feedback button in the bottom-right of the window. Now they are covered up by a "Privacy" button that never goes away. ๐Ÿ™„

[โ€“] wthit56 1 points 3 weeks ago

A heads up: sign up, and while logged in you won't get ads anyway.

2
submitted 1 month ago by wthit56 to c/perchance
 

Unsure what the cause is, and it doesn't happen every time.

 

I'm not an AI-chatter myself, but I am still seeing many reports of weirdness.

 

I guess the fix didn't work, mate ;/

2
submitted 2 months ago by wthit56 to c/perchance
 

Helper functions to add and remove children from a Perchance list.

1
submitted 2 months ago* (last edited 2 months ago) by wthit56 to c/perchance
 

My newer generators are not having their screenshots generated. https://perchance.org/perchance-object-reference

Though this one works somehow: https://perchance.org/list-management-plugin

They're using the same formatting and scripts for the page as all my others.

1
submitted 2 months ago* (last edited 2 months ago) by wthit56 to c/perchance
 

Currently it's quite fiddly, making sure all the keys/names arrays are up to date so it still functions as expected.

If it used a set and delete handler it could handle all that internally. Or if there was some special methods we could use like .addValue() and it would figure out what kind of value it is--property, node, function--and handle it correctly.

Of course, I'm working on a plugin now to handle this for people. ๐Ÿ˜œ

 

There's a lot of stuff that becomes real fiddly to do because they are not iterable... that would be real easy to do if they were iterable. I believe there's a proxy "trap" for iterating over properties somewhere in there.

2
submitted 2 months ago by wthit56 to c/perchance
 

This plugin overrides the device's color scheme, but uses the existing styles. No changing of styles is needed whatsoever; it just works.

 

Most likely SUPER not a priority. But you know me ๐Ÿ˜…

https://perchance.org/prompt-style-tester#edit

The "go" button updates the entire page. As the options are generated this means they are re-generated, which means the chosen option resets, and you can only ever test the top option: Painted Anime.

Simple fix though: put a div with an id around the generations, then update that div only. That's all that needs updating anyway.

1
submitted 2 months ago by wthit56 to c/perchance
 

As we have ignorePerchanceErrors() and clearPerchanceErrors(), seems fair to have this function too, for public use.

 

Would be useful to be able to see the images just in the page so we don't accidentally delete the wrong one, stuff like that. I know we can click on the link, but this would just be a nice feature to make it easier.

view more: next โ€บ