Alright, I know this must be incredibly simple, but my knowledge of
JavaScript is rather basic, and what I've learned in the past I learned
for highly specific situations, so I don't have a clear working
knowledge of it.
I'm looking to make a simple script that will check the location typed
into the user's address bar and if it contains a certain domain name it
will call a function (not sure what yet... maybe add text to the page,
maybe create an alert, maybe an alert and a redirect). The main
concept is to direct people to my new domain name even though I'm
hosting it as a mirror so I can let my old domain name lapse.
So... any suggestions on how to do this? Odds are it's incredibly
simple, but my brain just isn't latching onto the language right now.
Thanks,
TurboFool