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?
What about checking for user agent? I am sure something silly like
Perchance screenshot agent
would do the trick. :)