Is there any way to disable the browser's automatic zoom with mouse scrollbar + CTRL ?
Often i do this by mistake...
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Disable zoom with mouse ?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Disable zoom with mouse ?
The CEF project maintainer recommends using JavaScript :
https://magpcss.org/ceforum/viewtopic.php?f=6&t=19768&p=55178
https://stackoverflow.com/questions/56465207/how-can-i-prevent-full-page-zoom-on-mousewheel-event-in-javascript
https://magpcss.org/ceforum/viewtopic.php?f=6&t=19768&p=55178
https://stackoverflow.com/questions/56465207/how-can-i-prevent-full-page-zoom-on-mousewheel-event-in-javascript
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Disable zoom with mouse ?
Thanks for the info. Not a good solution as it requires you to inject code on the page everytime it loads, but it's an alternative anyway.
Re: Disable zoom with mouse ?
And why not try this if you press CTRL to disable the mouse?
Code: Select all
Chromium1KeyEvent
if osEvent.wParam = 17 then ...
Chromium1RenderCompMsg
aHandled:= True;