The MutationObserver that is added to each element is never disconnected. When a user clicks to enable an element, the tracking record (_[elementID]) is deleted but the observer is never disconnected. If the observer fires again there is a null ref exception when trying to access _[elementID].parentNode) (https://github.com/hoyois/clicktoplugin/blob/master/ClickToPlugin.safariextension/main.js#L445).
That either needs to be safety checked or the observer needs to be disconnected whenever a tracking record is deleted.
The MutationObserver that is added to each element is never disconnected. When a user clicks to enable an element, the tracking record (
_[elementID]
) is deleted but the observer is never disconnected. If the observer fires again there is a null ref exception when trying to access_[elementID].parentNode
) (https://github.com/hoyois/clicktoplugin/blob/master/ClickToPlugin.safariextension/main.js#L445).That either needs to be safety checked or the observer needs to be disconnected whenever a tracking record is deleted.