世界之窗论坛's Archiver

yan719351 发表于 2007-12-6 16:32

【求助】制作存吧书签插件

百度 google书签不能导出;QQ 雅虎导出后没分类了
我见过的只有存吧导出后分类不变的
希望高手帮助制作一个存吧网址添加插件
[url=http://www.cunba.com]http://www.cunba.com[/url]
[code]
<html><HEAD>
<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;
lef=(screen.width-600)/2;
to=(screen.height-400)/2;
if (parentwin.event.srcElement.tagName == "A") {
  url = parentwin.event.srcElement.getAttribute("HREF");
  title = parentwin.event.srcElement.innerText;
}
void(window.open('usr_addurl.asp?t='+escape(title)+'&u='+escape(url)+'&c='+escape(sel),'_blank','scrollbars=no,width=600,height=300,left='+lef+',top='+to+',status=no,resizable=yes'))
} else {
history.go(-1);
}
</SCRIPT>
</HEAD>
<BODY></BODY></html>

[/code]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.