<div class="codetitle"> <span><a style="CURSOR: pointer" data="57339" class="copybut" id="copybut57339" onclick="doCopy('code57339')"><u>Copy code</u></a></span> The code is as follows:</div> <div class="codebody" id="code57339"> <br><script type="text/javascript" language="javascript" > clipboardData. setData("Text", s); <br> alert("Already copied to the clipboard!" "n" s); ) { <br> window.location = s; lege("UniversalXPConnect"); <br> } catch ( e) { <br> alert("Rejected by browser! Please enter 'about:config' in the browser address bar and press Enter Then set 'signed.applets.codebase_principal_support' to 'true'"); .nsIClipboard); <br> s.nsITransferable); <br> 🎜> var len = new Object(); <br> var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); <br> var copytext = s; = copytext; <br> trans.setTransferData("text/unicode", str, copytext.length * 2); return false; <br> clip.setData(trans, null, clipid.kGlobalClipboard); <br> alert("Copied to clipboard! " "n" s) <br> </div>