Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dbaupp
on April 5, 2014
|
parent
|
context
|
favorite
| on:
Ask HN Mods: Can you make submission URLs human-re...
One would want to ensure that the anchor was guaranteed to be distinct from every id on the page (e.g. if this submission had title 'up_7536771', browsers would jump to your upvote button if the title was just appended).
icebraining
on April 5, 2014
[–]
You can just prepend a character that is valid in the URL but invalid for an id, like a colon. E.g.
https://news.ycombinator.com/item?id=7536719#:ask_hn_mods
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: