Open AdamWr opened 3 weeks ago
It looks like that if cleanupDelayMs parameter is used, then removed element is added and removed again few times.
cleanupDelayMs
Steps to reproduce:
example.org#%#//scriptlet('trusted-create-element', 'body', 'div', '', '', '1000')
Added div should be removed after 1 second, but it's added again few times and then removed. I guess that we should disconnect MutationObserver after removing element.
div
disconnect
It looks like that if
cleanupDelayMs
parameter is used, then removed element is added and removed again few times.Steps to reproduce:
Added
div
should be removed after 1 second, but it's added again few times and then removed. I guess that we shoulddisconnect
MutationObserver after removing element.