Skip to content
samettemizerPublic

About

Colored notes for any page URL, with automatic SPA navigation support. Chrome extension released under the Unlicense.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

URL Notes

A minimal Chrome extension that saves a note for any exact page URL and shows it back to you on your next visit — with a one-click color for the note box.

Why this exists

Sometimes you want to leave yourself a reminder tied to a specific page: "check the pricing here again", "this is the wrong API doc version", "form saved as draft". This extension stores a note per URL and pins it to the top-right corner every time you return to that page.

How it works

  • Each note is stored per full URL using chrome.storage.local.
  • Storage keys follow the prefix urlnote:.
  • The URL is normalized by dropping the #hash, so anchor links on the same page share one note.
  • On every page load and same-document URL change, the content script looks up a note for the current URL and, if found, renders a floating panel in the top-right corner.
  • The panel color reflects the color you picked. A × button closes it for the current visit (it comes back on the next visit).
  • Saving or deleting in the popup updates the open tab immediately via a message to the content script.
  • Same-document URL changes (SPA navigation, back/forward, query strings and hashes) immediately remove the old panel and load the destination's saved note without a refresh. History updates that keep the URL unchanged do not hide it.
  • Late storage responses cannot overwrite a newer navigation or a popup save/delete. Saved notes are not deleted by navigation.

Install

Requires Chrome 102 or newer (Navigation API).

  1. Open chrome://extensions
  2. Enable Developer mode (top-right toggle)
  3. Click Load unpacked
  4. Select this folder

Usage

  1. Navigate to the page you want to annotate.
  2. Click the extension icon in the toolbar.
  3. Type your note.
  4. Pick a color: yellow, orange, blue, white, red, gray.
  5. Click Save (or press Ctrl/Cmd + Enter).

The note appears immediately on the active tab and on every subsequent visit to that exact URL.

To remove a note, open the popup on that page and click Delete — or manage entries directly via chrome.storage.local in DevTools.

Colors

Color Use it for
Yellow default / general reminder
Orange needs attention soon
Blue reference / info
White neutral note
Red warning / do not
Gray low priority / archived thought

Limitations

  • Runs on any http/https page.
  • Notes are keyed by the exact URL (minus the hash); a different query string is a different note.
  • One note per URL (saving overwrites the previous note for that URL).

Before I forget

  • No data leaves your browser. No external requests are made. (Clean & simple)
  • As this is a personal tool, I chose not to publish it to the Chrome Web Store.

Regression check

Run python3 -m http.server 8765 in this folder, then open http://localhost:8765/tests/navigation.html in Chrome. The check uses real browser navigation with an in-memory extension API stub and reports PASS for destination notes, panel removal, unchanged URLs, out-of-order reads, and popup updates.

License

The Unlicense. Free to use, modify, and distribute for any purpose, including commercial use, without attribution requirements. Provided without warranty.

About

Colored notes for any page URL, with automatic SPA navigation support. Chrome extension released under the Unlicense.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages