REGEDIT4
;Generated with Registry Explorer
;http://www.regxplor.com
[HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/MenuExt]
[HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/MenuExt/收藏到我的亿聚]
@="http://share.boosou.com/"
将以上代码保存为boosou.reg
share.boosou.com的HTML代码如下:
<html>
<script LANGUAGE="JavaScript">
if (external.menuArguments){
var parentwin = external.menuArguments;
if (parentwin.document.selection) {
var sel = parentwin.document.selection.createRange().text;
}
if (!sel) {
var sel = '';
}
var url = parentwin.location.href;
var title = parentwin.document.title;
if (parentwin.event.srcElement.tagName == "A") {
url = parentwin.event.srcElement.getAttribute("HREF");
title = parentwin.event.srcElement.innerText;
}
//void(window.open('favorite.jsp#t='+escape(title)+'&u='+escape(url)+'&c='+escape(sel),'_blank','scrollbars=no,width=760,height=400,left=20,top=100,status=no,resizable=yes'))
void(window.open('favorite.jsp#title='+escape(title)+'&favoriteurl='+escape(url)+'&remark='+escape(title),'_blank','scrollbars=yes,width=800,height=500,left=20,top=100,toolbar=yes,menubar=no,location=yes,status=no,resizable=yes'))
} else {
history.go(-1);
}
</script>
</html>