Perchance - Create a Random Text Generator

This magazine is not receiving updates (last activity 58 day(s) ago). Subscribe to start receiving updates.

perchance Mod , in Why does my generator not work on IPhone?

@jordanlund @Alllo Thanks for reporting! This was indeed due to a Safari bug. The WebKit/Safari team fixed it a couple of months ago, but likely hasn't reached all Safari users yet:

Fixed block-level function declarations to have correct scope in global code and aligned the detection of hoistable block-level legacy function declarations with the spec. (113880075)

https://webkit.org/blog/15063/webkit-features-in-safari-17-4/

This bug has actually existed for years - I submitted a WebKit bug report several years ago, and I could have sworn I added a workaround to fix it on Perchance, but apparently not! A bunch of people probably won't be able to upgrade to 17.4 since Apple's Safari software updates are pretty strongly tied to hardware versions (which is really stupid ✨), so I've just added a bandaid fix for the older Safari versions. Let me know if there are any other issues, and thanks again!

[Begin tangential rant] Safari requires a lot of bandaids, and I'd honestly rather just tell people to move to Chrome/Firefox/Edge, but Apple prevents other browser engines from being installed on iOS (Chrome iOS is just a "skinned" Safari browser, for example), though that is changing in the EU: https://www.theverge.com/2024/1/25/24050478/apple-ios-17-4-browser-engines-eu because it's being deemed a way in which Apple actively prevents non-Apple platforms from becoming dominant (i.e. to keep people in their App Store and away from open platforms like the web). And other countries might soon follow suit: https://open-web-advocacy.org/blog/us-doj-files-apple-antitrust-case/ which might mean the end of Apple holding the web back by forcing a huge percentage of the world population to use a buggy browser that drags its feet on cool new stuff (e.g. WebUSB, WebGPU, etc.). Exciting times ahead for the web platform I think. [end of rant, apologies :]

Alllo OP ,
@Alllo@lemmy.world avatar

thank you * 2!

jordanlund , in Why does my generator not work on IPhone?
@jordanlund@lemmy.world avatar

What browser are you using on iPhone? It may be some problem Chrome is fixing automatically on Android that Safari is not.

Alllo OP ,
@Alllo@lemmy.world avatar

just tried installing safari on my computer and my computer is refusing to run it lol. and apparently there is no real android safari.

thanks tho, i bet it does have to do with safari

jordanlund ,
@jordanlund@lemmy.world avatar

So bad news, I just had a chance to test it on my iPhone, same variable error, Safari, Firefox and Chrome.

So looks like it must be an iOS problem.

iPhone 14
iOS 16.7.2
Firefox 123.4 (39582)
Chrome 123.0.6312.52
Safari 16.7.2

Alllo OP ,
@Alllo@lemmy.world avatar

thank you alot. can you please check a few things?

does it work on this generator? https://perchance.org/27awiqpmmu
removed most weird code.

this one? https://perchance.org/686ya21n3p
the above but also removed webkit animations

and lastly here is something made by perchance https://perchance.org/ai-generated-hierarchical-world-example which does similar programmatic image creation which is otherwise pretty rare. if you generate three worlds and pick one, does it generate the image errorlessly?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • perchance@lemmy.world
  • worldmews
  • mews
  • All magazines