inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 25, 2009 12:27:42 GMT -8
And what does that mean to do?
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Aug 25, 2009 13:15:16 GMT -8
It looks like it is a known bug so hopefully Chrome's developers will fix this soon. What you would want to do instead is use cookies. Note that I cannot save headers and footers (the network I'm on is blocking it) at the moment so this is not tested. var login_message = "You have logged in. Please read the following messages before continuing. Some Links here";
if(document.cookie.match(new RegExp("loginmessage=0($|","i"))){ document.cookie = "loginmessage=0;expires=Sat, 20 Jan 2000 12:12:12 UTC; path=/;"; alert(login_message); }
if(location.href.match(/login$/i)){ document.cookie = "loginmessage=0;expires=Sat, 20 Jan 3000 12:12:12 UTC; path=/;"; }
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 25, 2009 13:25:03 GMT -8
Okay, I'll try it Triad. Thanks!
EDIT: Doesn't work.
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Aug 25, 2009 14:39:55 GMT -8
What forum are you testing this on?
You may not have noticed that I didn't include the <script></script> tags in the code above.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 25, 2009 17:35:17 GMT -8
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 26, 2009 14:39:46 GMT -8
Google Chrome.. thought I was supposed to XD
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Sept 13, 2009 11:07:35 GMT -8
What about something like this instead?? <script type="text/javascript"> <!-- // Pop-up on log-in.. if(document.loginform) { document.loginform.onsubmit = function(){ alert("Your message here.."); } } // --> </script>
|
|