remove honk from page when zonking
This commit is contained in:
parent
c6cef9e79e
commit
de4e1693ae
|
@ -61,6 +61,14 @@ function zonkit(el) {
|
|||
e.remove()
|
||||
}
|
||||
}
|
||||
} else if (wherefore == "this honk") {
|
||||
var p = el
|
||||
while (p && p.tagName != "ARTICLE") {
|
||||
p = p.parentElement
|
||||
}
|
||||
if (p) {
|
||||
p.remove()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue