The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • This One Flaw in AI Investment Advice Could Cost You Everything

  • Your Medical Data Exposed: A $2.7M Data Breach Settlement Reveals Shocking Negligence

  • Jaw-Dropping: AI Used to Bug OpenAI, Then AI Caught the Culprit

  • This New Disney Video Game Could Be Its Most Controversial…Here’s Why

  • Ubisoft Layoffs: Why This Studio Closure Is a Heartbreaking Sign of Industry-Wide Rot

  • Your AI Financial Advisor Could Be a Costly Mistake — Here’s Why You’re On The Hook

  • 8 Critical AI Zero-Day Vulnerabilities Exploits That Will Keep You Up At Night

  • Outrageous: 16 Colleges Now Cost Over $100,000 Annually — Here’s Why

  • The Startling Truth About Liberal Arts vs Technical Education in the AI Era

  • Dramatic: Volkswagen’s EV Recall Reveals a Hidden Battery Flaw You Need to Know

Tech News
Home›Tech News›Show HN: Indicate new stories on HN frontpage (Bookmarklet/UserScript)

Show HN: Indicate new stories on HN frontpage (Bookmarklet/UserScript)

By Matthew Lynch
August 10, 2024
0
Spread the love

Tired of missing out on fresh content on Hacker News? This bookmarklet/userscript highlights new stories on the HN frontpage, making it easier to spot the latest discussions and discover exciting new things.

How it works:

 Bookmarklet: A simple JavaScript snippet you can add to your browser bookmarks. Clicking it will run on the current HN page, marking new stories.

 UserScript: A more powerful approach that runs automatically whenever you visit HN, permanently marking new stories.

Benefits:

 Enhanced Discoverability: Quickly identify new content and avoid missing out on trending topics.

 Improved Navigation: Easily scan the frontpage and find the most recent discussions.

 Tailored Experience: Customize the highlighting colors and styles to match your preferences.

Code Examples:

Bookmarklet:

“`javascript

javascript:(function() {

const newStories = document.querySelectorAll(‘.athing:not(.age-ago)’);

newStories.forEach(story => story.style.backgroundColor = ‘f0f0f0’);

})();

“`

UserScript (Greasemonkey/Tampermonkey):

“`javascript

// ==UserScript==

// @name HN New Stories Highlighter

// @namespace http://tampermonkey.net/

// @version 1.0

// @description Highlights new stories on HN frontpage

// @author [Your Name]

// @match https://news.ycombinator.com/news

// @grant none

// ==/UserScript==

const newStories = document.querySelectorAll(‘.athing:not(.age-ago)’);

newStories.forEach(story => story.style.backgroundColor = ‘f0f0f0’);

Installation:

Bookmarklet: Save the JavaScript code as a bookmark in your browser.

 UserScript: Install a userscript manager (Greasemonkey or Tampermonkey) and paste the code into a new script.

Customization:

Change the `backgroundColor` property in the code to your desired color.

Explore additional CSS properties to fine-tune the highlighting style.

Limitations:

The highlighting only applies to stories that have not been aged.

The code may need adjustment for future HN interface changes.

Feedback:

Let us know your thoughts and suggestions! We are always looking for ways to improve this tool and make it even more helpful.

Share this article and let your fellow HN users discover this handy feature!

Previous Article

SaaS Copywriting: Marketing SaaS Framework

Next Article

What’s new in Quick Look for visionOS ...

Matthew Lynch

Related articles More from author

  • Tech News

    How to fix PDF printing issues

    June 23, 2026
    By Matthew Lynch
  • Tech News

    How to use Zoho Books for accounting

    August 26, 2026
    By Matthew Lynch
  • Tech News

    Master Avast Antivirus: Your Essential Guide to Digital Security

    July 22, 2026
    By Matthew Lynch
  • Tech News

    Norm Armstrong Takes Helm: Cooley’s New Antitrust Leader

    May 5, 2026
    By Matthew Lynch
  • Tech News

    How to install root certificate

    June 24, 2026
    By Matthew Lynch
  • Tech News

    U.S. Oil Futures Surge Amid Heightened Geopolitical Tensions

    April 3, 2026
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.