forked from AmineB/ycombinator-keys
Compare commits
3 Commits
90f5330128
...
f6e7ba18a2
Author | SHA1 | Date | |
---|---|---|---|
f6e7ba18a2 | |||
5d005dc60d | |||
1d80653091 |
@ -74,12 +74,12 @@ const
|
||||
case 'r':
|
||||
if (!isComment())
|
||||
return
|
||||
globalThis.open(query[selected].querySelector('div.reply a').href, '_self')
|
||||
globalThis.open(query[selected].querySelector('.reply a').href, '_self')
|
||||
return
|
||||
case 'R':
|
||||
if (!isComment())
|
||||
return
|
||||
globalThis.open(query[selected].querySelector('div.reply a').href)
|
||||
globalThis.open(query[selected].querySelector('.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