|
Post by Schubaltz on Jul 3, 2007 17:50:58 GMT -5
Description: Asks a user to confirm their logout.
Source: Open
Cross-browser: Yes
Global Header <script type="text/javascript"> <!-- // Block Private Messages
var i = document.getElementsByTagName("td")[5]; i.innerHTML = i.innerHTML.replace(/\/index\.cgi\?action=logout"?>/, "#\" onclick='doConfirm()'>"); function doConfirm() { if(confirm("Are you sure you want to logout?")) location.href = "/index.cgi?action=logout"; return false; } //--> </script>
|
|