The MutationObserver interface provides the ability to watch for changes being made to the DOM tree. These changes are recorded as MutationRecords. A callback function is one of the arguments given to the constructor which is triggered when there's a change in the DOM
In TalScale we have employed MutationObserver to monitor the changes being made to the specific models on the interface and stop the user from mutation attempts and call back will be triggered.
In the proctoring settings, currently, we have incorporated MutationObserver to the Full-screen mode feature. If enabled for any assessment, the candidate cannot mutate the permission access model in the Test interface before starting his assessment. He/she should allow the required permissions to begin their assessment. Thus, giving no room for unfair practices during the assessment.