# Let web viewer load before it comes

**URL:** https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399
**Category:** Questions about Thunkable X
**Created:** [March 20, 2024, 6:11am UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399 "2024-03-20T06:11:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ebisa777783or](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@ebisa777783or](https://community.thunkable.com/u/ebisa777783or)
#### Post date: [March 20, 2024, 6:11am UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399/1 "2024-03-20T06:11:57Z")

</div>

Hey community, I want to make my web viewer load before it comes, it will load until the web viewer comes

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [March 20, 2024, 3:21pm UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399/2 "2024-03-20T15:21:35Z")

</div>

There is not a specific block for this but there is a hack using the [Web API blocks](https://docs.thunkable.com/blocks/advanced-app-features/web-api) that used to work for checking if a site was failing.

- Create a `get` call with the site’s address as the URL. Do that during a screen open event.
- Use the green error block to determine if there is an error with the site
- Within the then do portion of the API block, if there is an error you can set the web viewer to invisible or display it if there is no error.

---

<div class="post-metadata">

### Author: ![ebisa777783or](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@ebisa777783or](https://community.thunkable.com/u/ebisa777783or)
#### Post date: [March 20, 2024, 3:46pm UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399/3 "2024-03-20T15:46:18Z")

</div>

I mean loading animation by conting number 1 to 100

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [March 21, 2024, 1:27pm UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399/4 "2024-03-21T13:27:07Z")

</div>

I am not quite sure I follow. Can you show us what blocks you have used so far?

---

<div class="post-metadata">

### Author: ![ebisa777783or](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@ebisa777783or](https://community.thunkable.com/u/ebisa777783or)
#### Post date: [March 21, 2024, 6:15pm UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399/5 "2024-03-21T18:15:25Z")

</div>

Like this

 ![IMG_20240321_210851_800](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/4/94a845e04c9d94a0758f0e590aa216f929348adf.jpeg)  
In my another topic I’ve asked about mini app so as you told me when I do all the web viewer is not showing anything until the site comes it is just white. So I want let it count like this until the web viewer comes

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [June 19, 2024, 6:16pm UTC](https://community.thunkable.com/t/let-web-viewer-load-before-it-comes/2904399/6 "2024-06-19T18:16:16Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
