"Search" keyboard shortcuts conflicts with Polish diacritics input

Grrr, this is a hard one to win, CTRL+ALT+s was a change I made cause CTRL+s conflicted with Firefox.

Can I detect AltGr from JS so I can still keep this or do I need to move the shortcut?