|
Post by Schubaltz on Apr 18, 2007 18:48:48 GMT -5
Description: It seemed a bit pointless to make this code execute under all conditions, so I wrote it to only execute under one: a person clicking the "PM" icon in your profile.
Source: Open
Cross-browser: Yes
Editing: Replace the text in red with user IDs and the text in blue with their corresponding alerts.
Main Footer <script type="text/javascript"> <!-- // Alert When Messaging a Member
var message = [ ["user1", "user2"], ["message1", "message2"] ] if(location.href.match(new RegExp("send&to=(" + message[0].join("|") + ")$"))) alert(message[1][message[0].join(",").split(RegExp.$1)[0].split(",").length - 1]); //--> </script>
|
|