Today, in small things that break my flow: ServiceNow capturing and overriding the default browser zoom out shortcut.
Why does it happen?
ServiceNow implements some useful keyboard shortcuts and event handlers, but they haven’t considered that we don’t all use the same keyboard layout.
This issue only happens if your "-"
key is in the bottom right corner, like in a Spanish keyboard.

Because that’s where the "/"
key is in a US keyboard.
If you have the "/"
key in that position, congratulations! You can close this tab and do more interesting things!

For the rest of this post, I’ll refer to the Mac shortcut: "CMD + -"
. But the same behaviour and fix apply to Windows users using "Ctrl + -"
.
Workaround
Here’s how I fixed it with a simple script in Tampermonkey:
// ==UserScript==
// @name ServiceNow Zoom Fix
// @version 1.0
// @description Restores browser's zoom functionality in ServiceNow
// @author Rubén Ferrero
// @match https://*.service-now.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=service-now.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.addEventListener('keydown', function(event) {
if ((event.metaKey || event.ctrlKey) && event.key === '-') {
// Stop ServiceNow from capturing this event
event.stopPropagation();
// Note: No preventDefault(), allowing browser's default behaviour
}
});
})();
Code language: JavaScript (javascript)
How it works
The script is as simple as possible:
- It adds an event listener for keyboard events at the document level
- When
"CMD + -"
(or"Ctrl + -"
) is detected, it callsstopPropagation()
The stopPropagation()
method prevents the event from bubbling up to other handlers in ServiceNow that would otherwise capture it. By not calling preventDefault()
, we allow the browser’s native functionality to proceed normally.
You can still access the list of shortcuts from the user menu (by the way, there’s a shortcut to open it: "CMD + Shift + U"
).

How to use it
To implement this fix:
- Install the Tampermonkey extension in your browser.
- Create a new script and paste the code above.
- Save and enable the script.
- Reload your ServiceNow instance.
Now you can use "CMD + -"
to zoom out in ServiceNow, just like you would on any other website.
New in Yokohama
The Yokohama release introduces the possibility of customising your keyboard shortcuts. [Kudos to Israel Baral for telling me about it]
Still buggy, unfortunately, and it requires changing it in every instance.