# \[Solved\] Question about web viewer receives message

**URL:** https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039
**Category:** Questions about Thunkable X
**Tags:** webviewer, solved
**Created:** [May 15, 2020, 11:27pm UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039 "2020-05-15T23:27:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![samdev](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@samdev](https://community.thunkable.com/u/samdev)
#### Post date: [May 15, 2020, 11:27pm UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039/1 "2020-05-15T23:27:18Z")

</div>

how do I send a message from webview to trigger this block: ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/9/f9798bbe74d8908d0282e1379ea2601421fc0b2b.png)  
because I am using summernote in my app.

---

<div class="post-metadata">

### Author: ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)
#### Post date: [May 15, 2020, 11:52pm UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039/2 "2020-05-15T23:52:06Z")

</div>

You webpage needs include:

```auto
<script src="https://thunkable.github.io/webviewer-extension/thunkableWebviewerExtension.js" type="text/javascript"></script>

```

```auto
ThunkableWebviewerExtension.postMessage('hello world');

```

You can find instructions and details here:

> **[thunkable/webviewer-extension](https://github.com/thunkable/webviewer-extension)**
>
> Communicate between the Thunkable Web Viewer and a website - thunkable/webviewer-extension

---

<div class="post-metadata">

### Author: ![samdev](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@samdev](https://community.thunkable.com/u/samdev)
#### Post date: [May 15, 2020, 11:56pm UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039/3 "2020-05-15T23:56:30Z")

</div>

thx

---

<div class="post-metadata">

### Author: ![jonrust1075mzq9](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jonrust1075mzq9](https://community.thunkable.com/u/jonrust1075mzq9)
#### Post date: [August 30, 2020, 1:07pm UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039/4 "2020-08-30T13:07:58Z")

</div>

hey… i tried this to insert my imbed …i placed my code into a html file then i uploaded it …after that instead of putting a url in the text field i typed in the file that i made and thats it !

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/0/60c2461b8acd1688fcd36da8b4356f583bd62172.jpeg)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/6/965a0af5f991fb652fd3f79d341983a159311e6a.jpeg)

---

<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: [August 30, 2020, 2:27pm UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039/5 "2020-08-30T14:27:11Z")

</div>

This is the wway to do all types of cool stuff that we dont yet have components for! The webview would benefit ffrom allowing for file transfers too (😉 @Steven) ! This would allow us to do client side photo transformations from native photo to base64 and all types of others stuff

---

<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, 11:26am UTC](https://community.thunkable.com/t/solved-question-about-web-viewer-receives-message/569039/6 "2024-11-08T11:26:47Z")

</div>


