脚本获取网页中选中文字var word = document.selection.createRange().text;获取选中文字所在的句子var range = document.selection.createRange();range.expand("sentence");var sentence = range.text;
给IE右键菜单添加菜单项参见