Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spdustin
on Dec 15, 2022
|
parent
|
context
|
favorite
| on:
Lesser-known JavaScript APIs
I once used it (on a personal project) to add a sad-face emoji to the page’s <title> if the page wasn’t visible. It would change to a heart when they returned.
(Edit: since the emoji was prefixed, you could see it on the background tab)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
(Edit: since the emoji was prefixed, you could see it on the background tab)