Compare commits

..

1 Commits

Author SHA1 Message Date
98aee28da8
Rewrite 2025-04-20 04:23:44 -04:00

View File

@ -71,6 +71,16 @@ const
case 'C':
globalThis.open('https://news.ycombinator.com/item?id=' + query[selected].id)
return
case 'r':
if (!isComment())
return
globalThis.open(query[selected].querySelector('.reply a').href, '_self')
return
case 'R':
if (!isComment())
return
globalThis.open(query[selected].querySelector('.reply a').href)
return
case 'u':
globalThis.open((isComment() ? query[selected] : query[selected].nextSibling).querySelector('a.hnuser').href, '_self')
return