Created
February 11, 2025 19:10
-
-
Save bdevel/ccb1781738d92cf81237fec390ba70fe to your computer and use it in GitHub Desktop.
Stop trackpad zoom capture in Outlook web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stop zoom capture in Outlook | |
// @namespace Violentmonkey Scripts | |
// @match https://outlook.office.com/* | |
// @grant none | |
// @version 1.0 | |
// @author b | |
// @description 2/4/2025, 9:49:58 AM | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Disable touch events | |
window.addEventListener('touchstart', function(e) { e.stopPropagation(); }, { capture: true }); | |
window.addEventListener('touchmove', function(e) { e.stopPropagation(); }, { capture: true }); | |
window.addEventListener('wheel', function(e) { e.stopPropagation(); }, { capture: true }); | |
})(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment