# Using Javascript in webviewer?

**URL:** <https://community.thunkable.com/t/using-javascript-in-webviewer/74358>\
**Category:** Questions about Thunkable X\
**Tags:** javascript\
**Created:** [April 10, 2019, 1:19pm UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358 "2019-04-10T13:19:02Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [April 4, 2020, 10:21pm UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/9 "2020-04-04T22:21:23Z")

</div>

Assuming you own the website, you can write javascript to get a message from Thunkable that contains the username and password, and use that to fill in the webview. You’ll need to include thunkableWebviewerExtension.js on the webpage. There is a simple example linked on the page below

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

---

_[View the full topic](https://community.thunkable.com/t/using-javascript-in-webviewer/74358)._
