# How does the web viewer pop up the window?

**URL:** <https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875>\
**Category:** Questions about Thunkable X\
**Tags:** webviewer\
**Created:** [October 21, 2021, 3:46pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875 "2021-10-21T15:46:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [October 21, 2021, 3:46pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/1 "2021-10-21T15:46:43Z")

</div>

How does the web viewer pop up the window?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [October 21, 2021, 3:56pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/2 "2021-10-21T15:56:59Z")

</div>

What do you mean?  
In order to help you need to be more clear about What your question or problem is.

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [October 22, 2021, 11:37am UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/3 "2021-10-22T11:37:31Z")

</div>

Like chrome, a new web window can pop up, and this window will be closed automatically after logging in.  
Example: [https://x.thunkable.com/](https://x.thunkable.com/)  
Can be found in the case of not logged in.

---

<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:** [October 22, 2021, 11:41am UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/4 "2021-10-22T11:41:11Z")

</div>

When you finish executing your function in the browser window then run the command `window.close` this will close the current window and control goes back to the previous screen/function.

The trick with this function is that the window should be opened by the same system handler.

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [October 22, 2021, 11:52am UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/5 "2021-10-22T11:52:07Z")

</div>

No, is there any way to support thunkable?

---

<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:** [October 22, 2021, 11:55am UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/6 "2021-10-22T11:55:30Z")

</div>

> [@tony.ycy.program](#):
>
> to support thunkable

I’m not sure I understand you. Can you explain more?

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [October 22, 2021, 12:05pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/7 "2021-10-22T12:05:26Z")

</div>

[https://x.thunkable.com/projects/61718140a30a6100114b9f9d/3cd3e7dc-5901-416e-b3f3-c5b2b29447bb/](https://x.thunkable.com/projects/61718140a30a6100114b9f9d/3cd3e7dc-5901-416e-b3f3-c5b2b29447bb/)

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [October 22, 2021, 12:05pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/8 "2021-10-22T12:05:50Z")

</div>

[https://ycyprogram.neocities.org/app/fb-login.html](https://ycyprogram.neocities.org/app/fb-login.html)  
Webpage

---

<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:** [October 22, 2021, 1:01pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/9 "2021-10-22T13:01:22Z")

</div>

I could not open your project. I get blank page.

I think I understand what you mean and I have a similar situation. My workaround is:

- You need a `timer` component for the trick
- Start the `Web Viewer` with empty URL. When you want the web page to show, assign the page URL to the `Web Viewer URL`
- Enable the timer.
- The timer should read the `Web Viewer URL` to see if there is a change.
- In your web page make sure it goes to another page after entering all the details such as a profile page or a thank you page.
- The `timer` should read the URL and when changed to the page you designed then timer stops and clear the `Web Viewer URL` which will hide the `Web Viewer` window.

See this block to get a better idea

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/7/57d62d299dc4d955ed6ee751abbd7c05b94a540e.png)

---

<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:14pm UTC](https://community.thunkable.com/t/how-does-the-web-viewer-pop-up-the-window/1573875/10 "2024-11-08T13:14:40Z")

</div>


