This document describes version 6 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 6 ended on 29 August 2023. We no longer provide support or updates for this version. You should upgrade to the latest version of Unblu. |
How to apply behavior only to universal co-browsing
The code snippet below shows how you can apply different behavior when within a universal co-browsing session.
<script type="text/javascript">
if( navigator.userAgent.indexOf("UnbluRenderingService") != -1 ) {
// Your code that should only run in a Universal Co-browsing session, e.g.
// load additional CSS or manipulate the DOM
}
</script>
See also
-
For more information on configuring universal co-browsing, refer to Configuring and manipulating collaboration layers.