复制到剪贴板网赌正规网站网址

复制代码 代码如下: /* * 复制到剪贴板 *
* */ function copyToClipboard { if { window.clipboardData.clearData();
window.clipboardData.setData; } else if(navigator.userAgent.indexOf {
window.location = txt; } else if { try {
netscape.security.PrivilegeManager.enablePrivilege; } catch {
showAlert(“被浏览器拒绝!\n请在浏览器地址栏输入’about:config’并回车\n然后将’signed.applets.codebase_principal_support’设置为’true'”);
} var clip =
Components.classes[‘@mozilla.org/widget/clipboard;1’].createInstance(Components.interfaces.nsIClipboard);
if return; var trans =
Components.classes[‘@mozilla.org/widget/transferable;1’].createInstance(Components.interfaces.nsITransferable);
if return; trans.addDataFlavor; var str = new Object(); var len = new
Object(); var str =
Components.classes[“@mozilla.org/supports-string;1”].createInstance(Components.interfaces.nsISupportsString);
var copytext = txt; str.data = copytext;
trans.setTransferData(“text/unicode”,str,copytext.length*2); var clipid
= Components.interfaces.nsIClipboard; if return false;
clip.setData(trans,null,clipid.kGlobalClipboard); showMessage; }else
if(window.navigator.userAgent.indexOf{ var dialog =
$(“#sanwn_clipboardDialog”); if{ var text = “

“; $.append; $(“#sanwn_clipboardDialog”).omDialog({ autoOpen: false,
height: 140, modal: true }); dialog =$( “#sanwn_clipboardDialog”); }
$(“#sanwn_clipboardTxt”).val; $(“#网赌正规网站网址,sanwn_clipboardDialog”).omDialog;
document.getElementById.select(); } }

相关文章

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图