# Webview do something when finish loading

**URL:** <https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237>\
**Category:** Questions about Thunkable X\
**Created:** [January 31, 2021, 2:49am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237 "2021-01-31T02:49:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lichicts](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lichicts](https://community.thunkable.com/u/lichicts)\
**Post date:** [January 31, 2021, 2:49am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/1 "2021-01-31T02:49:06Z")

</div>

How to Do you make some happen after webview stop loading?

Thanks

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 31, 2021, 2:52am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/2 "2021-01-31T02:52:42Z")

</div>

I don’t think there’s any way to know when a website has finished loading.

---

<div class="post-metadata">

**Author:** ![lichicts](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lichicts](https://community.thunkable.com/u/lichicts)\
**Post date:** [January 31, 2021, 10:21am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/3 "2021-01-31T10:21:25Z")

</div>

Oh! I thought as much, I just want be sure if what am thinking is what you’re thinking 😀 😀 😀  
Thanks! Have a great day.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [January 31, 2021, 10:34am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/4 "2021-01-31T10:34:15Z")

</div>

Check out the post and receive features of the web viewer.

[https://docs.thunkable.com/web-viewer#post-message-receive-message](https://docs.thunkable.com/web-viewer#post-message-receive-message)

---

<div class="post-metadata">

**Author:** ![lichicts](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lichicts](https://community.thunkable.com/u/lichicts)\
**Post date:** [January 31, 2021, 10:51am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/5 "2021-01-31T10:51:45Z")

</div>

Whao!

Let me check and get back.

---

<div class="post-metadata">

**Author:** ![lichicts](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lichicts](https://community.thunkable.com/u/lichicts)\
**Post date:** [January 31, 2021, 10:53am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/6 "2021-01-31T10:53:55Z")

</div>

Can you make and instance of this pls?

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [January 31, 2021, 11:06am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/7 "2021-01-31T11:06:38Z")

</div>

I haven’t used it with a web page finish. I’ve only done it attached to a button. [Read Text Files Directly into Thunkable](http://community.thunkable.com/t/read-text-files-directly-into-thunkable/1042037)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [January 31, 2021, 11:20am UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/8 "2021-01-31T11:20:44Z")

</div>

If the you are the owner / auther of the html page you could use window.onload or document.onload

If you are loading a public html or web page then I don’t know.

---

<div class="post-metadata">

**Author:** ![lichicts](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lichicts](https://community.thunkable.com/u/lichicts)\
**Post date:** [January 31, 2021, 12:28pm UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/9 "2021-01-31T12:28:47Z")

</div>

Yeah! Am getting a clue from here…let me see if I can experiment something here.  
Thanks Dude!

---

<div class="post-metadata">

**Author:** ![lichicts](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lichicts](https://community.thunkable.com/u/lichicts)\
**Post date:** [January 31, 2021, 12:30pm UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/10 "2021-01-31T12:30:14Z")

</div>

Great idea!

---

<div class="post-metadata">

**Author:** ![kushweez](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kushweez/32/90265_2.png) [@kushweez](https://community.thunkable.com/u/kushweez)\
**Post date:** [February 19, 2021, 8:00pm UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/11 "2021-02-19T20:00:24Z")

</div>

I’ve been looking for the same functionality for a long time. When you don’t own the site it is impossible to know when the page is loaded, this is an essential feature.

Hi @domhnallohanlon is this feature planned for this year?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 19, 2021, 8:40pm UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/12 "2021-02-19T20:40:27Z")

</div>

This will likely never be a feature of thinkable. Thinkable cannot tell you when somebody else’s website has finished loading. The closest they could do is potentially add a listener that alerts when data is being received or transmitted in the webviewer. And then you could infer that page is loaded because data no longer being loaded but that could be a missleading due to async data calls . Instead you need to put window.onload and then fire a message off to your thunkable listener

I have been experimenting with wrapping bubble apps with a thubkable wrapper. It’s exciting!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/webview-do-something-when-finish-loading/1076237/13 "2024-11-08T13:29:40Z")

</div>


