OT non LC: cross tab/window browser communication

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Nov 22 15:42:09 EST 2016

This is strange and very insecure. You should let the tab load and 
redirect to the PayPal page after the tab has finished doing everything 
it should do.

I had a similar problem though. I needed a page to give PayPal time to 
process a transaction. I did this with a fake progress bar, which waited 
1 minute and then reloaded the page. If the transaction has been 
completed, I sent the license, but if the transaction hadn't been 
completed, I showed a message saying that the license would be delivered 
manually at a later time after additional checks had been performed.

Kind regards,

Mark Schonewille

Buy the most extensive book on the
LiveCode language:

Op 22-Nov-16 om 21:02 schreef Mike Bonner:
> I have a problem I need to solve with a web page i've set up.. On my page
> (my domain) I have forms that submit to an external domain (paypal) and
> open a new named tab on submission.  I need to be able to block further
> actions until the paypal page load is complete.  Currently, I have simply
> set up a timer with an overlay and visual feedback letting the user know
> that "stuff is being done,"  but since the response time from paypal can
> vary greatly, I'm hoping there is a way to know when the tab has completed
> loading, with a backup "max time" so that if the paypal load barfs, page
> functionality is still returned.
> Is this sort of thing possible?  I've researched, but if it can be done
> apparently my search terms aren't the correct ones.
> Thanks in advance for any help.  I'm afraid javascript (other than very
> basic stuff) is not one of my strengths.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list