开发者

How can I trigger cmd+h using Mac OS and firefox?

开发者 https://www.devze.com 2023-04-05 16:43 出处:网络
I am using Firefox (3-6) and need to trigger cmd+h (minimize ap开发者_Go百科plication) using Mac OS.

I am using Firefox (3-6) and need to trigger cmd+h (minimize ap开发者_Go百科plication) using Mac OS. But I am not able to get it to work.

Problem here is that I am using a rte (this rte uses an iframe) and that one is catching shortcuts. I can get the original event and I tried to call a js-function on the parent window. But I am not able to get it working.

Anyone got any advice for me?


CMD+H is an OS shortcut for mac and can therefor never be triggered using simple javascript. The only way would be to write an own firefox addOn with this functionality.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号