Block recording of certain elements of the page HTML

Sometimes there will be elements that you wish to completely remove from being recorded such as a live chat solution where its not always possible to add sessioncamexclude to the individual messages or the chat window due to either a name or an ID being changed.

It is possible to remove the elements by adding the following line of JavaScript to your page, before the main SessionCam tag is run:

window.sessioncamConfiguration.elementsToRemove = 

You would need to add the elements using their class or id selector first. An example is shown below:

window.sessioncamConfiguration.elementsToRemove=".lpChat"

The above could be used to ignore the HTML that is seen on the first page load or in subsequent events where there is an element with a class called lpChat.

window.sessioncamConfiguration.elementsToRemove="#secretdynamicarea"

The above could be used to ignore the HTML that is seen on the first page load or in subsequent events where there is an element with an id of secretdynamicarea.