Programmatically Calling Browser Right-Click Menu Options?

前端 未结 3 1545
悲&欢浪女
悲&欢浪女 2021-01-29 01:05

I would like to be able to programmatically invoke the right-click menu options, initiated from user events like rollover and whatnot of course. Is this possible?

Speci

相关标签:
3条回答
  • 2021-01-29 01:44

    As far a I know, there is absolutely no way of doing this in a generic form using pure Javascript. You would have to build extensions (or maybe a Greasemonkey script for Firefox, I don't know) for each browser.

    0 讨论(0)
  • 2021-01-29 02:00

    You can't and this is because of security limitations.

    If you could do that, malicious websites can access your browser and tamper with your system.

    0 讨论(0)
  • 2021-01-29 02:06

    I seriously hope you can't do that... No website should be able to touch my desktop picture or iPhoto library.

    0 讨论(0)
提交回复
热议问题