Cocell

joined 2 years ago
MODERATOR OF
[–] Cocell@lemmy.world 1 points 1 week ago

This is not a place of promotion. Take it elsewhere.

[–] Cocell@lemmy.world 1 points 1 week ago

So, I decided to to look into Perchance's internal code myself, since I couldn't get an answer.

A screenshot that shows Perchance's internal scripts using the __generatorLastEditTime parameter and __initWithDataFromParentWindow parameter along with some other logic.

And it looks like Both the __generatorLastEditTime parameter and the __initWithDataFromParentWindow parameter are needed ONLY during the initial load.

And looking at this part of the code, it seems like Perchance dev is already moving away from the __generatorLastEditTime parameter.

// if(window.location.href.includes("__generatorLastEditTime=")) return;

So, I am assuming it is fine to remove these two parameters after the app has loaded. However, I could be wrong, these are just my general understanding after looking into the internal logic.

[–] Cocell@lemmy.world 1 points 1 week ago

The exact type of bug is undisclosed.

Also they could be inactive, could be busy, could be working. You never know.

[–] Cocell@lemmy.world 1 points 1 week ago (2 children)

When the bug is fixed. 👍

 

The parameter I am talking about specifically is the __generatorLastEditTime parameter.

This is a visual example:

The URL: https://perchance.org/vue-router?__generatorLastEditTime=1752040569107#/

Is there any problem in removing it?

I was using Vue Router with its createWebHashHistory() API to make hash routes for an application, since Perchance doesn't support actual routes for apps.

I made a simple logic to simply remove it.

const url = new URL(location.href)
url.searchParams.delete('__generatorLastEditTime')
history.replaceState(null, '', url)

Now you get a cleaner URL instead.

The URL: https://perchance.org/vue-router#/about

You can check out the project here.

[–] Cocell@lemmy.world 3 points 2 weeks ago

I once forked Blank as Blank Private, if this suggestion isn't implemented, Blank Private could stop the annoyance of having to set the generator to private.

[–] Cocell@lemmy.world 1 points 3 weeks ago

Perchance dev, I can confirm. It collects user data and sends it to a Firebase app.

[–] Cocell@lemmy.world 1 points 4 weeks ago

No wonder the quality of the images changed.

[–] Cocell@lemmy.world 0 points 4 weeks ago* (last edited 4 weeks ago) (3 children)

WE NOW USE FLUX? When did that happen?

Hm, it says SD.

 

Is it possible to import plugins with normal JavaScript from the HTML panel?

 

Perchance Dev, does Perchance have any issues against using Puppeteer or Playwright to set codes from GitHub automatically?

 

VioneT, can we use service workers in Perchance?

 

Dear Perchance Dev, I have created a private generator to house the list of people banned from another one of my generators. However, upon opening it, I saw this:

Why is a private generator flagged with NSFW?

The link is this if you want to look into it.

1
submitted 5 months ago* (last edited 5 months ago) by Cocell@lemmy.world to c/perchance@lemmy.world
 

Dear Perchance Dev, would it be possible to add blockedByCurrentUser or a similar blocked property to the objects of the other users, so their message could be hidden and toggled to provide a better user experience?

Note, I am asking this because; when a user replies to the message of a person that is blocked by the current user, that message object's contents are presented to the current user even though they have blocked them.

 

@VioneT I was wondering if it was possible to load modules like reference = {import:...} through the vanilla JavaScript, inside a script tag instead of writing them directly in the Perchance model text editor?

 

@VioneT Would it be possible to have environment variables in Perchance one day?

 

Guys! Do any of you know what version of the Llama model Perchance AI Chat plugin uses specifically?

 

Guys! Do any of you know what version of the Llama model Perchance AI Chat plugin uses specifically? 🤔

 

Dear Perchance Dev,

I recently noticed that a new option to report a user has been added. Thank you very much for that addition. So, VioneT and I believe it would a great idea to report a generator as well. There are quite a number of generators just promoting hatred and discrimination.

VioneT suggested that there should be a "report button upon opening the 'edit' even if you aren't the owner of that generator."

And below is an example of why a generator must be reported.

spoiler


 

Perchance dev, have you heard the recent news about a new AI image model named Flux.1?

view more: next ›