BluePower

joined 2 years ago
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

@VioneT @Alllo If I had an account, I might also create my own community for discussions and updates about creating and building my generators, plugins and other stuff at Perchance, and also a place for people to maybe find some cool stuff about my generators there.

[–] [email protected] 2 points 1 year ago (1 children)

@allo @Alllo Alright, thanks for all the suggestions. I've been thinking and re-evaluating about making a new Lemmy account for a long time, but for now I'll stay on the Mastodon account for a while until the decision has been fully approved.

[–] [email protected] 2 points 1 year ago

@Announ_ You can take a look at the examples page: https://perchance.org/examples or VioneT's Perchance Snippets page: https://perchance.org/perchance-snippets. Hope this helps!

[–] [email protected] 1 points 1 year ago (1 children)

@ELPHANEIEJGUY Yes, just search online for "html js detect browser" and you'll get some examples.

[–] [email protected] 1 points 1 year ago (2 children)

@VioneT I think he meant that.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (2 children)

@ELPHANEIEJGUY Add [window.navigation.reload()] to the HTML or set it as a variable:

reload = [window.navigation.reload(), ""]

output  
 [reload]  

If you want to make a button to do just that: \<button onclick="window.navigation.reload()"\>reload\</button\> (remove the backslashes)

However, executing that will result in the preview state as if the code was unmodified, so you'll have to click on the "reload" button for the preview to reload with the modified code.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

@perchance Update: I've modified the example, and apparently you can also change and modify the generatorName in-generator! There is a button that does that, and added some script elements (because scripts executed within square blocks will be always run after that)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

@Alllo Wait, that must be a glitch.

[–] [email protected] 2 points 1 year ago (9 children)

@perchance I've tested that on this generator: https://perchance.org/yxhpifl77e#edit, where it shows up comments from my generator hub page instead of that one's generator.

Also, did any of you ever use the generatorName variable at all?

[–] [email protected] 2 points 1 year ago

@Alllo That's okay. For now, we're in with a few options, and then slowly get to support even more variations. Never seen a plugin like this before, especially if it uses the AI image generator and not some random stock image generator (like https://perchance.org/random-image-plugin).

[–] [email protected] 2 points 1 year ago

@allo @Alllo Thanks! I tried it again and now the plugin no longer detects the generated image as inappropriate.

 

@perchance Another new plugin just dropped out 🤯🤯🔥🔥

This might be one of the last updates I'll made before I publish the next big Generator Manager Preview update!

https://perchance.org/power-scroll-remember-plugin

#plugins #new

view more: ‹ prev next ›