nermik
nermik

Reputation: 1505

Meta Refresh for Safari

I used meta refresh but it doesn't work 'Safari'. What can i do?

<meta http-equiv="refresh" content="5;URL='http://example.com/'">

Upvotes: 1

Views: 3111

Answers (2)

Icarus
Icarus

Reputation: 63962

According to what I found on Google; this may have been a bug in Safari in the past but many people claim it's been resolved.

There's also someone mentioning that it could be that this specific header is disabled in Safari.

If none of the above works, you can always use javascript to do the redirection:

function redirect()
{
    setTimeout(function(){window.location='otherpage.html'},5000);//5 secs
}

window.onload=redirect;

Upvotes: 2

TrizZz
TrizZz

Reputation: 1200

It is not supported by Safari.. And your not the only one who asked that.. There is 2 possibility:

  1. Make a button to let user refresh the page
  2. Use Ajax to be able to update parts of your website

Hope this helps!

Upvotes: 0

Related Questions