Closed AdamWr closed 2 days ago
Currently element is added every time when there is change in DOM.
Steps to reproduce:
example.org#%#//scriptlet('trusted-create-element', 'body', 'a') example.org#%#//scriptlet('trusted-create-element', 'body', 'div')
Website is unresponsive because elements are added in the loop.
Consider also a case when one element is added inside another:
example.org#%#//scriptlet('trusted-create-element', 'body', 'foo') example.org#%#//scriptlet('trusted-create-element', 'body > foo', 'bar')
Currently element is added every time when there is change in DOM.
Steps to reproduce:
Website is unresponsive because elements are added in the loop.
Consider also a case when one element is added inside another: