I know the technique for zoom the page using the shift of CSS.
I want to make a button for emulate the user that press CTRL and + in same time.
In firefox if I press CTRL and + in the same time the page zooms. I want to write a function that I call and I emulate the press of CTRL and +
How can I do that?
Can’t be done the way you want to do it. You can’t emulate key strokes in browser context. You would have to stick with the CSS variant scaling your font-size globally using ems.