|
Post by pascanner(v4) on Nov 25, 2005 22:35:39 GMT
<script> //News Alert var news= ("Put news here"); if( this.location.href.match(/index.cgi$/) ) alert(news); </script>
Hope you like, as you see very very simple
|
|
|
Post by crazynarutard on Nov 25, 2005 22:51:23 GMT
How about using my main page check for this?
|
|
|
Post by pascanner(v4) on Nov 25, 2005 22:57:36 GMT
like this? <script> var news= ("The info center code has been removed for testing"); /\.com(\/(index\.cgi(#\w+|\?(action=(home|logout)?)?)?)?)?$/ alert(news); </script> ? ?
|
|
|
Post by crazynarutard on Nov 25, 2005 23:10:17 GMT
if( location.href.match(/\.com(\/(index\.cgi(#\w+|\?(action=home)?)?)?)?$/) ){ alert(news); }
|
|
|
Post by california on Nov 26, 2005 7:41:36 GMT
This is a little too simple, sorry.
|
|