Skip to content

Instantly share code, notes, and snippets.

@bdevel
Created February 11, 2025 19:10
Show Gist options
  • Save bdevel/ccb1781738d92cf81237fec390ba70fe to your computer and use it in GitHub Desktop.
Save bdevel/ccb1781738d92cf81237fec390ba70fe to your computer and use it in GitHub Desktop.
Stop trackpad zoom capture in Outlook web
// ==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