adding to gitea repo
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// ==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%";
|
||||
});
|
||||
Reference in New Issue
Block a user