Thanks to visit codestin.com
Credit goes to github.com

Skip to content

More precise redirection. - #1

Closed
Anand Sudhanaboina (anands) wants to merge 2 commits into
microsoft:masterfrom
anands:master
Closed

More precise redirection.#1
Anand Sudhanaboina (anands) wants to merge 2 commits into
microsoft:masterfrom
anands:master

Conversation

@anands

Copy link
Copy Markdown
Contributor

No description provided.

Martin Woodward (martinwoodward) added a commit that referenced this pull request Jul 14, 2014
Inspired by PR #1 from @codehate, make redirect work for browsers
with noscript running. Also make page pass W3C validator checks.
@martinwoodward

Copy link
Copy Markdown
Member

Nice! Thanks codehate. I took your two commits as the inspiration for a23374e - basically use the http-equiv="refresh" meta tag so that the redirect works when javascript is disabled. Also given a friendly message in case that didn't work either.

I made the non-script redirect have a 5 second delay as the http-equiv method of redirecting can leave the entry in the users browser history in case they press the back button.

I also used the http://microsoft.com/openness link as the target as this then sends them onto the most appropriate language version rather than hardcoding it as the English version.

Finally, I made sure the simple redirect page now passes the W3C validator tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants