# WebDirect: Perform JavaScript in WebViewer limitations ?!?

**URL:** <https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039>\
**Category:** Questions\
**Created:** [June 5, 2020, 10:05pm UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039 "2020-06-05T22:05:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [June 5, 2020, 10:05pm UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039/1 "2020-06-05T22:05:32Z")

</div>

Hi,

I just installed the official version of FMP 19 and read the Release Notes. I found this:

> In Claris FileMaker WebDirect™, the Perform JavaScript in Web Viewer script step is **unsupported for Microsoft Edge (EdgeHTML) and Internet Explorer**.

I am puzzled here. I read that on Windows, the WebViewer is implemented using a control based on IE 11. Then you open a WebDirect session in IE 11 - running for trouble ? - you have a WebViewer that uses technology from IE 11, and the mentioned script step doesn't work ???

Can someone sorted it out please ?

The Web is a maze ing 🥴

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [June 6, 2020, 7:31am UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039/2 "2020-06-06T07:31:15Z")

</div>

You confuse the web viewer in FileMaker with the browser used to load WebDirect website.

The FileMaker.PerformScript works in WebViewer with IE11 within FileMaker 19.  
But seems like they didn't do that for Web Direct if you load something in web viewer.

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [June 6, 2020, 4:27pm UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039/3 "2020-06-06T16:27:02Z")

</div>

Sorry I am not confusing. Lets try again.

The WebViewer control uses IE 11 technology. Then the script works _with_ IE right ? But if you use **IE 11 to open a file in WebDIrect** , the the script it not supported. But if the file is open in WebDirect on Chrome, again the **WebViewer is a control using IE 11 technology** , then it's fine.

In the end, all of this happens in the WebView object, then does the Web Browser used to open WebDirect does matter ?

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [June 6, 2020, 4:57pm UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039/4 "2020-06-06T16:57:06Z")

</div>

I think you still confuse the Webviewer in FileMaker Pro using IE 11 on Windows with the web viewer in WebDirect, which is a HTML IFRAME. When you open the WebDirect website in Google Chrome, there is no IE11 involved.

The FileMaker.PerformScript in the web viewer on WebDirect needs the parent website injects some JavaScript into the IFRAME to call back.  
And that bridge seems not to be supported if the hosting browser is IE11. Maybe it's some cross site scripting thing not allowed there.

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [June 6, 2020, 6:59pm UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039/5 "2020-06-06T18:59:31Z")

</div>

> [@MonkeybreadSoftware](#):
>
> I think you still confuse the Webviewer in FileMaker Pro using IE 11 on Windows with the web viewer in WebDirect, which is a HTML IFRAME.

Maybe. Do I get that using Chrome for WebDirect means that a WebViewer then is not implemented using the IE 11 Control embedded in Chrome ?

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [June 6, 2020, 7:23pm UTC](https://the.fmsoup.org/t/webdirect-perform-javascript-in-webviewer-limitations/1039/6 "2020-06-06T19:23:27Z")

</div>

If you use Google Chrome to browse a WebDirect solution, there is no IE involved.
