"javascript:window.open(‘http://www.domainname.com') is an untrusted URL" Exception When Using Javascript To Automatically Open An External Link In A New Window Within The OTM Menu

(Doc ID 2172226.1)

Last updated on JANUARY 30, 2017

Applies to:

Oracle Transportation Management - Version 6.4.1 to 6.4.3 [Release 6.4]
Information in this document applies to any platform.


An link to an external URL is being adding to a user menu. The link contains javascript code to open the link in a new window as follows: javascript:window.open(‘http://www.domainname.com'). When clicking the link the following error is received:


It is expected to be able to open links in new windows successfully

The issue can be reproduced with the following steps:

1. Navigate to Configuration and Administration -> User Configuration -> User Menus
2. Search for and select to edit the respective menu
3. Add a new link to an external URL. Input the URL as javascript:window.open(‘http://www.domainname.com')
4. Save the menu
5. Logout and login with the respective user that uses the menu
6. Click on the link.
7. The error is displayed


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms