function copy_clip(>
function copy_clip() { var txt = url.substring(url.indexOf(":") 1, url.length);
) {
window.clipboardData.clearData();
window.clipboardData.setData("Text遠else if ( navigator.userAgent.indexOf("Opera") != -1) {
window.location = txt;
} netscape.security.PrivilegeManager 。找到'signed.applets.codebase_principal_support'設定為true'");
return false;
/widget/clipboard;1"].createInstance (Components.interfaces.nsIClipboard);
if (!clip)
1"].createInstance(Components.interfaces .nsITransferable);
if (!trans)
return;
var str = new Object();
var len = new Object ();
var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.inter ns str.data = copytext;
trans.setTransferData("text/unicode", str, copytext.length * 2);
)
return false ;
clip.setData(trans, null, clipid.kGlobalClipboard);
}
}