Compare commits
1 Commits
7f3ee628a7
...
98aee28da8
Author | SHA1 | Date | |
---|---|---|---|
98aee28da8 |
@ -71,6 +71,16 @@ const
|
|||||||
case 'C':
|
case 'C':
|
||||||
globalThis.open('https://news.ycombinator.com/item?id=' + query[selected].id)
|
globalThis.open('https://news.ycombinator.com/item?id=' + query[selected].id)
|
||||||
return
|
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':
|
case 'u':
|
||||||
globalThis.open((isComment() ? query[selected] : query[selected].nextSibling).querySelector('a.hnuser').href, '_self')
|
globalThis.open((isComment() ? query[selected] : query[selected].nextSibling).querySelector('a.hnuser').href, '_self')
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user