更新时间:2023-12-06 08:43:58
不是在JavaScript中,否...这可能有一些非常恶意的用途.
Not in JavaScript no...this could have some pretty malicious uses.
您可以创建自己的菜单(如您的<div>
示例),但不能将项目添加到本机浏览器上下文菜单中.
You can create your own menu (like your <div>
example), but not add items to the native browser context menu.