If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Javascript redirect based on current url and if in iframe or not

Hi there,

I am having some issues with redirects (caused by lack of knowledge in Javascript ). What I need to do is to redirect to a new page if the visited URL contains one of the following three words: create, status, home. This redirection may only take place if the visited page is not in iframe.