all repos — honk @ 8935c6ad3c41d3cb4e9910ebe71aab076075ebaa

my fork of honk

remove honk from page when zonking
Ted Unangst tedu@tedunangst.com
Sun, 02 Jun 2019 22:10:42 -0400
commit

8935c6ad3c41d3cb4e9910ebe71aab076075ebaa

parent

9f467635e29a5cadbc877e88d5b6a359b59b3940

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M views/honkpage.htmlviews/honkpage.html

@@ -61,6 +61,14 @@ if (e.getAttribute("data-convoy") == convoy) {

e.remove() } } + } else if (wherefore == "this honk") { + var p = el + while (p && p.tagName != "ARTICLE") { + p = p.parentElement + } + if (p) { + p.remove() + } } } </script>