remove honk from page when zonking

This commit is contained in:
Ted Unangst 2019-06-02 22:10:42 -04:00
parent c6cef9e79e
commit de4e1693ae
1 changed files with 8 additions and 0 deletions

View File

@ -61,6 +61,14 @@ function zonkit(el) {
e.remove() e.remove()
} }
} }
} else if (wherefore == "this honk") {
var p = el
while (p && p.tagName != "ARTICLE") {
p = p.parentElement
}
if (p) {
p.remove()
}
} }
} }
</script> </script>