This document describes version 5 of Unblu. If you’re using the latest major version of Unblu, go to the documentation of the latest version. The support period for version 5 ended on 22 November 2021. We no longer provide support or updates for this version. You should upgrade to the latest version of Unblu. |
How to apply universal co-browse-specific behavior
An example snippet of how you can apply different behavior when within a universal co-browsing session.
The customer navigates to certain page, which has to be hidden from the agent.
<script type="text/javascript">
if( typeof(unbluBrowser) != "undefined" && unbluBrowser.log) {
// Your code that runs when within a co-browse session
// e.g. Load additional CSS
}
</script>
See also
-
For more information on using JavaScript with Unblu, refer to the Unblu JS API reference.