Page 1 of 1

Anyone have a recent livecode webapp i could run?

Posted: Tue Jul 26, 2022 2:14 pm
by ajperks
I have just started to use the web platform of Livecode and the recent write or read textfile to web app does not load for me. I end up with the loading whirlything that never completes. I am using Edge as my browser.
I need to check if the loading time of the engine, prior to displaying the web page is significant.
Also, does it actually run on Edge which is Chrome based?

Re: Anyone have a recent livecode webapp i could run?

Posted: Fri Jul 29, 2022 4:53 am
by bobcole
I have a web app at:
https://morrevbon.com/wordhelper.html
It is a helper app for the Wordle game.
I only have Mac computers but the app works without issues in Safari, Brave (chrome based) and Firefox.
My app doesn't need to read or write a textfile, though.

It would be helpful if you could share some more details of what you are trying to accomplish and some of your code.
Are you trying to read or write to a text file that is already on a web server (or on your local machine)?
Are you trying to send a text file to a server?
Hope to help...
Bob

Re: Anyone have a recent livecode webapp i could run?

Posted: Sat Jul 30, 2022 5:25 pm
by ajperks
Hi Bob,
I have just started using the version 10 of the web platform.
All I needed to do was run something built with Livecode HTML5 to see if it will run on my Edge browser in Win 10.
No HTML apps, even yours will run. I always get an #
Exception thrown, see JavaScript console
error message.
Obviously, this is something peculiar with my setup.
So far it hasn't been resolved.
Any ideas, anyone?

Re: Anyone have a recent livecode webapp i could run?

Posted: Sat Jul 30, 2022 10:17 pm
by FourthWorld
ajperks wrote:
Sat Jul 30, 2022 5:25 pm
Hi Bob,
I have just started using the version 10 of the web platform.
All I needed to do was run something built with Livecode HTML5 to see if it will run on my Edge browser in Win 10.
No HTML apps, even yours will run.
See the Release Notes. Edge is not listed among currently supported browsers.

"LiveCode Web standalone applications are currently supported for running in recent versions of Mozilla Firefox, Google Chrome or Safari."

https://livecodestatic.com/downloads/li ... 0_dp_4.pdf

Also, excess to the local file system is very restricted in all browsers for security reasons. If you can tell us a bit more about what you'd like to do we may be able to provide some guidance toward a solution.

Re: Anyone have a recent livecode webapp i could run?

Posted: Sun Jul 31, 2022 11:33 am
by ajperks
Thank you FourthWorld ,
For me, there is no point developing anything that won't run on all current browsers.
I wrongly assumed that Edge, being Chrome based, should work.
I have deleted Version 10 now and am looking for a community based version of Livecode, the latest free version so I can still do some coding for PCs.
A recent wipe of my laptop for a fresh install of Win 10 has left me with nothing to work with. I find a regular clear-out is an amazing pick me up.
Thanks for your help.

Re: Anyone have a recent livecode webapp i could run?

Posted: Thu Aug 18, 2022 9:18 pm
by SWEdeAndy
ajperks wrote:
Sun Jul 31, 2022 11:33 am
For me, there is no point developing anything that won't run on all current browsers.
I wrongly assumed that Edge, being Chrome based, should work.
My portal test works fine for me in Edge on Windows 10:
https://wheninspace.com/portal/

See if it works for you too, and maybe you can consider giving developing for web another shot? There seems to be so many things that can be done, if not with LC natively (yet), then with the help of JavaScript. I will definitely explore this option more!

Re: Anyone have a recent livecode webapp i could run?

Posted: Thu Aug 18, 2022 9:44 pm
by FourthWorld
SWEdeAndy wrote:
Thu Aug 18, 2022 9:18 pm
ajperks wrote:
Sun Jul 31, 2022 11:33 am
For me, there is no point developing anything that won't run on all current browsers.
I wrongly assumed that Edge, being Chrome based, should work.
My portal test works fine for me in Edge on Windows 10:
https://wheninspace.com/portal/
Thank you for testing that, Andy. If Edge is now supported it would be great for the team to update the docs.

Re: Anyone have a recent livecode webapp i could run?

Posted: Thu Aug 18, 2022 10:19 pm
by bobcole
written by ajperks
All I needed to do was run something built with Livecode HTML5 to see if it will run on my Edge browser in Win 10.
No HTML apps, even yours will run. I always get an # Exception thrown, see JavaScript console error message.
Perhaps LiveCode's default HTML/JavaScript file is causing the error in the Edge browser.

I crafted a minimum html/javascript file ("Minimum.html", below) and put it into the standalone folder on my server for my app.
Try connecting to my app with these two links:
Minimum HTML: https://morrevbon.com/WordHelper/Minimum.html no spinner, no logo, no favicon, no bells, no whistles
My usual HTML: https://morrevbon.com/WordHelper/WordHelper.html spinner, logo, favicon, etc.

If you can connect with the Edge browser using the Minimum HTML link then the issue is with the fancy stuff that come with LiveCode's default html file that I modified for the "My usual HTML" link.
Let us know what you find,
Bob

Here is the Minimum.html file:

Code: Select all

<html>
<body>
<!-- The canvas -->
<div><canvas style="border: 0px none;" id="canvas" oncontextmenu="event.preventDefault()"></canvas> </div>
<!-- The Module object -->
<script type="text/javascript">var Module = { canvas: document.getElementById('canvas'), };</script>
<!-- Engine download -->
<script async type="text/javascript" src="standalone-10.0.0-dp-3.js"></script>
</body>
</html>