A

This is a demo
Just need to include the files:
  • class2context.js
  • class2context.css

Get started!

Right click over me!
element inside element with diferent class

Use

when html is charged, call the function

Use

when html is charged, call the function:
class2context(
'className',
"title",
[["option1", "functionoption1()"], ["option 2","functionoption2()"]]
);

适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。

下载代码说明
X关闭

鼠标右键上下文菜单配置js代码插件

鼠标右键上下文菜单配置js代码插件是一款非常实用的纯JavaScript右键上下文菜单插件。