Action Event: External URL Confirmation

With the addition of the Global Action Event OnClassifyUserInputURL (v2018.2.6+), 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";

Hidden Article Information

Article Author
Exago Development
created 2019-02-06 16:55:42 UTC
updated 2019-05-16 20:31:01 UTC

no labels yet!
Have more questions? Submit a request