I am trying to make a secret alternate redirect on a web page that redirects to an alternate page when holding down the key, otherwise it redirects to the regular redirect page.

Example/Clarification: So you have a regular redirect, it redirects to page1.html, but if the user is holding down Shift key while the redirect is being executed or activated then it redirects to page2.html instead - is this possible? If so what is the most basic simplest way to do this? I couldn't find anything on Google anywhere regarding what I am trying to do here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.