Files
vm-userscripts/old wheelhouse scripts/changeZoom.user.js
T
2026-06-15 14:20:38 -04:00

23 lines
563 B
JavaScript

// ==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%";
});