How to ignore Document Object Model changes using Ajax

Turn off a specific Document Object Model (DOM) change


If you don’t want to record a specific DOM change, add a class called "sessioncamignorechanges" to the HTML element that changes based on a DOM event.


Any DOM changes to that element, or a child of that element, will then be ignored by SessionCam. These will not be recorded.



<div id="change" class="sessioncamignorechanges">
   <div id="child">

In the above script, DOM changes made to both the "change" div and the "child" div will be ignored.


Turn off all DOM change events on a page/website.


If you don’t wish to record any DOM change events on your website, then we can configure this. To do this, please send your request to


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Please sign in to leave a comment.