Any way to set hotkeys in an app with any number?

In Firefox I can go to a specific number tab but pressing Command and a number. I want to create one trigger to disable that.