> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.android-kiosk.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# JS: Home Page

**Home Page JavaScript Functions**

![](https://storage.crisp.chat/users/helpdesk/website/f891df320cad6800/browserlauncher_106ztwe.png)

_Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product._

| You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions.

###### Load Home Page
Load the homepage, requires version 1.45 or higher.

```
<script>
//LOAD KIOSK HOME PAGE - delete cache, history etc if enabled
function loadHomePage() {
Android.loadHomePage();
}
</script>
<a href="javascript:loadHomePage();">Load Home Page</a>
```

###### Get Home Page
Get homepage as specified in Kiosk Browser settings, requires version 1.45 or higher.

```
<script>
//GET KIOSK HOME PAGE (RETURNS STRING)
function getHomePage() {
return Android.getHomePage();
}
</script>
<a href="javascript:console.log(getHomePage());">Get Home Page URL</a>
```

###### Set Home Page
Set homepage as specified by string, requires version 1.50 or higher.

```
<script>
//SET KIOSK HOME PAGE
function setHomePage(url) {
Android.setHomePage(url);
}
</script>
<a href="javascript:setHomePage('http://www.android-kiosk.com');">Set Home Page</a>
```