Exago Logo
Generic filters
Exact matches only

Action Event: External URL Confirmation

URLs that are loaded into or clicked within an Exago session can be classified as either internal or external to the host domain, requiring confirmation from users to access external URLs. Utilizing this Action Event, the following code specifies which URL domains should be classified as “internal”, classifying all other URLs as “external” and requiring confirmation before accessing them.

Event Type: None

Language: JavaScript

Custom Code:

function ClassifyUrl(url)
     /*Your logic here*/
     return "internal"
     /*Alternate logic here*/
     return "external"

sessionInfo.JavascriptAction.SetJsCode("(" + ClassifyUrl.toString() + ")(clientInfo.urlToClassify)");

return sessionInfo.JavascriptAction;

Logic Example:

function ClassifyUrl(url)
          return "internal"
          return "external";
Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents