Tuesday, December 6, 2022
Show HN: A bookmarklet to remove submissions and comments about ChatGPT from HN https://ift.tt/7Ylk1LV
Show HN: A bookmarklet to remove submissions and comments about ChatGPT from HN I get it, ChatGPT is cool and you can do plenty with it. But I'm getting tired that every other post is about ChatGPT, and every other comment is about ChatGPT's take on a topic. So I made this bookmarklet to remove comments and posts about ChatGPT (including this one) from HN. Drag and drop the text below to your browser bar, give it a name like "Remove ChatGPT", and get rolling. Whenever you load submissions or a specific comment thread, just click the bookmarklet and the page will be ChatGPT (And even ChatGTP) free. javascript:(function() {if (document.getElementsByClassName("comment-tree").length) { Array.from(document.getElementsByClassName("comtr")).filter(elt => elt.innerText.match(/chat\s?g[pt]{2}/i)).forEach(e => e.parentNode.removeChild(e)); } else { Array.from(document.getElementsByTagName("a")).filter(elt => elt.innerText.match(/chat\s?g[pt]{2}/i)).forEach(a => { const tr = a.parentNode.parentNode.parentNode; const table = tr.parentNode; const details = tr.nextSibling; const spacer = details.nextSibling; table.removeChild(tr); table.removeChild(details); table.removeChild(spacer);});}})(); December 7, 2022 at 10:09AM
Subscribe to:
Post Comments (Atom)
Show HN: My mom was unimpressed with my blog. What do you think? https://ift.tt/rfEGYeQ
Show HN: My mom was unimpressed with my blog. What do you think? I recently launched my personal tech blog and proudly showed it to my mom. ...
-
Show HN: High school robotics code/CAD/design binder release Hello HN! My name is Patrick, and I am a junior at my High School’s FRC robotic...
-
Show HN: D&D meets Siri – Interactive voice adventure Hey HN! I've been building tooling for voice-driven apps over the past few mon...
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...
No comments:
Post a Comment