fix: accidentally html removed
This commit is contained in:
parent
76bb62ed22
commit
9c9ac4f4ab
@ -26,7 +26,7 @@ const doMagic = () => {
|
||||
|
||||
// Remove irritating all removable elements
|
||||
removable.forEach(element => {
|
||||
if (element.tagName !== 'body') {
|
||||
if (element.tagName !== 'body' && element.tagName !== 'html') {
|
||||
const exists =
|
||||
document.getElementById(element.id)
|
||||
|| document.getElementsByName(element.name).length > 0
|
||||
|
Loading…
Reference in New Issue
Block a user