Make it ctrl+alt+g (or cmd+option+g on mac -- that will match preview's shortcut). Merge the code with the if above https://github.com/maxsong1002/pdf.js/blob/12a62b92f30e17cc6368694e912991045d876e3c/web/viewer.js#L1988