Check out my generator at Perchance > Cocell.

  • 7 Posts
  • 12 Comments
Joined 10 months ago
cake
Cake day: December 27th, 2023

help-circle






  • I have a question. 🙋‍♂️

    If I use Puppeteer even in non-headless mode, why does Perchance’s UI… How do I say, well, the best way I can describe it is “they retract,” well sort of.

    Well let’s run node perchance.js and open it using Puppeteer.

    Now it opens this.

    -# !!! Light mod warning

    As you can see there is no default UI, but they are still there.

    That is when I run app.goToEditMode().

    Which opens the normal edit menu.

    And then even if I close the edit menu, the default UI is still present.

    So this has been bugging me a while, why must it be that way? Is it because because of the Perchance screenshot API?