// ==UserScript== // @name changeZoom // @namespace Violentmonkey Scripts // @grant GM.openInTab // @version 1.0 // @author - // @require https://cdn.jsdelivr.net/npm/@violentmonkey/shortcut@1 // ==/UserScript== VM.shortcut.register('a-7', () => { document.body.style.zoom = "70%"; }); VM.shortcut.register('a-8', () => { document.body.style.zoom = "80%"; }); VM.shortcut.register('a-9', () => { document.body.style.zoom = "90%"; }); VM.shortcut.register('a-0', () => { document.body.style.zoom = "100%"; });