Anyone have a recent livecode webapp i could run?

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ajperks
Posts: 103
Joined: Sat Sep 06, 2014 3:38 pm

Anyone have a recent livecode webapp i could run?

Post by ajperks » Tue Jul 26, 2022 2:14 pm

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?

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 135
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

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

Post by bobcole » Fri Jul 29, 2022 4:53 am

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

ajperks
Posts: 103
Joined: Sat Sep 06, 2014 3:38 pm

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

Post by ajperks » 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. 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?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Sat Jul 30, 2022 10:17 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

ajperks
Posts: 103
Joined: Sat Sep 06, 2014 3:38 pm

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

Post by ajperks » Sun Jul 31, 2022 11:33 am

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.

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

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

Post by SWEdeAndy » 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/

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!
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Thu Aug 18, 2022 9:44 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 135
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

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

Post by bobcole » Thu Aug 18, 2022 10:19 pm

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>

Post Reply

Return to “HTML5”