# Magicleap Webview on unity

**URL:** <https://forum.magicleap.cloud/t/magicleap-webview-on-unity/3152>\
**Category:** Unity Development\
**Tags:** unity, webview\
**Created:** [February 8, 2024, 6:21am UTC](https://forum.magicleap.cloud/t/magicleap-webview-on-unity/3152 "2024-02-08T06:21:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanghouze](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/yanghouze/32/1470_2.png) [@yanghouze](https://forum.magicleap.cloud/u/yanghouze)\
**Post date:** [February 8, 2024, 6:21am UTC](https://forum.magicleap.cloud/t/magicleap-webview-on-unity/3152/1 "2024-02-08T06:21:04Z")

</div>

Hi, I am currently working on using Magicleap Webview on unity. I am trying to listen the event when the user changed the webpage (like click the link/button on the rendering webpage). Are there any existing event/listener in Magicleap API about this tasks? Or if there is a better solution about this task?  
Any hints/answers are appreciate.

---

<div class="post-metadata">

**Author:** ![yanghouze](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/yanghouze/32/1470_2.png) [@yanghouze](https://forum.magicleap.cloud/u/yanghouze)\
**Post date:** [February 8, 2024, 6:25am UTC](https://forum.magicleap.cloud/t/magicleap-webview-on-unity/3152/2 "2024-02-08T06:25:51Z")

</div>

My current solution is store the current rendering url and check it every frame. I wondering if there is a smarter solution.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [February 8, 2024, 10:49pm UTC](https://forum.magicleap.cloud/t/magicleap-webview-on-unity/3152/3 "2024-02-08T22:49:38Z")

</div>

Hi @yanghouze,

I would check out the `GoToUrl(string url)` in the `MLWebViewTabBehavior`.

You can create a listener for each time this is called.

Best,

El

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)\
**Post date:** [February 23, 2024, 10:50pm UTC](https://forum.magicleap.cloud/t/magicleap-webview-on-unity/3152/4 "2024-02-23T22:50:18Z")

</div>

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