Site icon Puneet Sharma – Freelance Web Developer

Can I replicate ctrl ++ and ctrl — in a browser using buttons and click on it using javascript?

Replicating the functionality of Ctrl++ and Ctrl– using buttons in a browser involves a different approach. You’ll need to simulate the Ctrl key being pressed while clicking the buttons. This isn’t straightforward since simulating system-level key presses isn’t allowed for security reasons in most browsers.

Exit mobile version