nowfound

Life & fun · November 30, 2023

UO

uBlock one-liner for regex'ing HN's front page

news.ycombinator.com##.title:has-text(/\b(Elon|Altman|OpenAI)\b/i):xpath(.. | ../following-sibling::tr[1] | ../following-sibling::tr[2]) I've played around with HN's quirky layout and settled on what I think is a correct way to filter HN's front page based on strings found in the post titles. No scripts or extensions needed. Choose your own blocklist inside the / /i regex construct.

uBlock one-liner for regex'ing HN's front page launched on November 30, 2023 with 7 votes, #1,542 of 4,332 launches that month and more than 50% of that year's launches.

What it does

In the maker’s words, at launch

news.ycombinator.com##.title:has-text(&#x2F;\b(Elon|Altman|OpenAI)\b&#x2F;i):xpath(.. | ..&#x2F;following-sibling::tr[1] | ..&#x2F;following-sibling::tr[2]) I've played around with HN's quirky <table&#x2F;> layout and settled on what I think is a correct way to filter HN's front page based on strings found in the…

Does a similar job

all alternatives →
  • FH
    Filter HN topics you're not interested in2021 · ▲10

    Some filter rules for uBlock Origin, for example, if you don't want to see topics about Haskell: news.ycombinator.com##.itemlist > tbody > tr.athing:has-text(Haskell) news.ycombinator.com##.itemlist > tbody > tr.athing:has-text(Haskell)+tr news.ycombinator.com##.itemlist > tbody > tr.athing:has-text(Haskell)+tr+tr If there's a more efficient way, surely somebody will comment...

  • Testing HN titles against a neural network2019 · github.com · ▲285

    Test your HN title against a neural network. Contribute to victorqribeiro/hntitlenator development by creating an account on GitHub.

  • I was tired of opening 2 tabs for every HN link, so I made a userscriptJul 2026 · github.com · ▲433

    HN is great for the links people share, but a big part of the value I get comes from reading the discussion around them. I realized I was always opening the article in one tab and the comments in another, constantly switching back and forth. I figured there was probably a simpler way, so I threw together this userscript to merge the two. 1. Clicking a link from Hacker News opens the article with a side panel containing the discussion. It doesn't require your credentials, is resizable, and is easy to tweak if you want to customize it. 2. If you land on an article that has previously been…

  • Let's Block It – Custom uBlock Origin Filters Made Easy2022 · letsblock.it · ▲261

    uBlock Origin is more than an ad-blocker, it's a general purpose content filter that can be leveraged to hide low-quality content from pages you browse. While the main filter lists can remove mailing list popups and obvious nags, the definition of low-quality content is personal, so one size cannot fit all. I used to have an ad-hoc script to render and publish a personal uBlock Origin filter list, added to all my browsers. The goal of this project is to enable more people to build such a list custom list to filter out low-quality content and nags. Chose from a list of community-maintained…

  • Our weekend project - HN Showcase, browse "Show HN" posts2011 · hnshowcase.com · ▲63

    http://www.hnshowcase.com Moses (nnythm) and I browse Hacker News daily. Show HN posts are some of our favorite parts of HN. We wanted to create a way to browse Show HN articles, even those that might not quite make it to the front page. We created http://www.hnshowcase.com last weekend to make discovering projects posted on HN easier. It searches all "Show HN" posts and generates a thumbnail view for each of them. You can sort by submission date, points, and number of comments, and navigate with left/right or j/k keys. We used the following technologies: HN Search API, Pyramid web…

  • HN comments sidebar bookmarklet2023 · gist.github.com · ▲49

    Hacker News comments sidebar bookmarklet. GitHub Gist: instantly share code, notes, and snippets.

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, November 2023

the whole month →
  • Flowla▲1,119

    Digital sales rooms that wow buyers

    Growth · 2023 · flowla.com

  • Discover & book top creators to promote your product

    Growth · 2023 · passionfroot.me

  • Re:catch▲939

    If Google Form & Calendly had a baby

    Growth · 2023 · recatch.cc

  • Pitch 2.0▲886

    Create, share and analyze presentations faster than ever

    Work · 2023 · pitch.com

  • CRM built for modern teams & creators powered by AI

    AI · 2023 · leaddelta.com

  • Hi HN, I’m Kashish, one of the co-founders of SpeedVitals, a platform for testing & monitoring website performance with a major emphasis on Core Web Vitals. Until now, our platform has only focused on Synthetic&#x2F;Lab testing, such as Lighthouse tests and TTFB tests. But now, we have developed a Real-User Monitoring platform that doubles up as a Web Analytics tool. One major feature we have that most RUM tools lack is Performance Audits. Just like Lighthouse audits work on Lab test data, our audits work across all the real-user visits and gives suggestions on what task to prioritize first.…

    Dev tools · 2023 · speedvitals.com