forked from AmineB/ycombinator-keys
Compare commits
3 Commits
f6e7ba18a2
...
90f5330128
Author | SHA1 | Date | |
---|---|---|---|
90f5330128 | |||
817e0ccc07 | |||
92fd73cd2d |
@ -74,12 +74,12 @@ const
|
||||
case 'r':
|
||||
if (!isComment())
|
||||
return
|
||||
globalThis.open(query[selected].querySelector('.reply a').href, '_self')
|
||||
globalThis.open(query[selected].querySelector('div.reply a').href, '_self')
|
||||
return
|
||||
case 'R':
|
||||
if (!isComment())
|
||||
return
|
||||
globalThis.open(query[selected].querySelector('.reply a').href)
|
||||
globalThis.open(query[selected].querySelector('div.reply a').href)
|
||||
return
|
||||
case 'u':
|
||||
globalThis.open((isComment() ? query[selected] : query[selected].nextSibling).querySelector('a.hnuser').href, '_self')
|
||||
|
Loading…
x
Reference in New Issue
Block a user