这里用按钮来触发打开窗口你可以改为右键触发
<script>function mouseup()
{
if(document.selection.createRange().text.length!=0)
{
var winselect=window.open('');
winselect.document.write(document.selection.createRange().text);
//document.selection.createRange().text='<'+document.selection.createRange().text+">"
}
}</script>
<input type=button value="change" onclick=mouseup()>
指定的文本保存目录最后没有加反斜杠!\n请用记事本打开安装文件修改文本保存目录之后重新安装.");测试通过
<script>function mouseup()
{
if(document.selection.createRange().text.length!=0)
{
var winselect=window.open('');
winselect.document.write(document.selection.createRange().text);
//document.selection.createRange().text='<'+document.selection.createRange().text+">"
}
}</script>
<input type=button value="change" onclick=mouseup()>
指定的文本保存目录最后没有加反斜杠!\n请用记事本打开安装文件修改文本保存目录之后重新安装.");测试通过
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货