browserDocumentLoadComplete fired twice Mobile
Sannyasin Brahmanathaswami
brahma at hindu.org
Wed Jan 30 09:01:24 EST 2019
I learned something today, wow, the target only records mouse click budget record what the message it going to
This was useful. It is still being call twice on mobile. NetWork tracer output.
I have to set a flag or same
ON desktop
info 1/30/19 3:50:49 AM from loader: true
openCard 2 card id 1419 of stack "view_SivaSivaBrowser"
info 1/30/19 3:50:49 AM from browser: true
opencard 18 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:50:50 AM begin load url , body is visible: false
browserDocumentLoadBegin 90 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:50:50 AM false; show the loader https://www.himalayanacademy.com/monastery/about
browserDocumentLoadBegin 97 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:50:50 AM browserDocumentLoadComplete
browserDocumentLoadComplete 101 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:50:51 AM false; show the target: Body; https://www.himalayanacademy.com/monastery/about
browserDocumentLoadComplete 112 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:50:51 AM saving journal entry for view_SivaSivaBrowser
Journal_RecordEntry 157 stack "model_SivaSivaJournal"
on Android
info 1/30/19 3:45:02 AM receive a click
mouseup 2 widget id 8198 of card id 8169 of stack "Siva-Siva-Portal"
info 1/30/19 3:45:15 AM from loader: true
openCard 2 card id 1419 of stack "view_SivaSivaBrowser"
info 1/30/19 3:45:16 AM from browser: true
opencard 18 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:16 AM begin load url , body is visible: true
browserDocumentLoadBegin 90 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:16 AM false; show the loader https://www.himalayanacademy.com/monastery/about
browserDocumentLoadBegin 97 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:16 AM browserDocumentLoadComplete
browserDocumentLoadComplete 101 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:16 AM true; show the target: Body; https://www.himalayanacademy.com/monastery/about
browserDocumentLoadComplete 112 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:16 AM saving journal entry for view_SivaSivaBrowser
Journal_RecordEntry 157 stack "model_SivaSivaJournal"
info 1/30/19 3:45:18 AM browserDocumentLoadComplete
browserDocumentLoadComplete 101 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:19 AM false; show the target: Body; https://www.himalayanacademy.com/monastery/about
browserDocumentLoadComplete 112 stack "behavior_view_SivaSivaBrowser" stack "view_SivaSivaBrowser"
info 1/30/19 3:45:19 AM saving journal entry for view_SivaSivaBrowser
Journal_RecordEntry 157 stack "model_SivaSivaJournal"
info 1/30/19 3:45:26 AM receive a click mouseup
2 widget id 8198 of card id 8169 of stack "Siva-Siva-Portal"
Brahmanathaswami
On 1/29/19, 10:08 AM, "use-livecode on behalf of hh via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
>You could use "the target" do get the browser
>that is calling the handler...
.. and put the browserDocumentLoadComplete *only*
in the card's script (or the stack's script if the
widgets are on different cards).
More information about the use-livecode
mailing list