I would love to enter a konami code on one of our websites, whereby entering a key combination will blur the screen, entering again will blur even more, entering for a third time redirects to our safe drinking page.
I have found a konami code script at which seems great, however my boss doesn't want to use the konami code (boooo), instead he wants the word 'drink'.
There are two questions,
1. how do I find out the keys for d r i n k to replace up up down down etc
2. to blur the whole page fir the first time, I'll set
body {
filter: blur(2px);
}
on the second time the text is entered, I'd like to double this to
body {
filter: blur(4px);
}
and for the third time, redirect to another page on our website.
How do I modify the javascript to do this?
Thanks for any help
I have found a konami code script at which seems great, however my boss doesn't want to use the konami code (boooo), instead he wants the word 'drink'.
There are two questions,
1. how do I find out the keys for d r i n k to replace up up down down etc
2. to blur the whole page fir the first time, I'll set
body {
filter: blur(2px);
}
on the second time the text is entered, I'd like to double this to
body {
filter: blur(4px);
}
and for the third time, redirect to another page on our website.
How do I modify the javascript to do this?
Thanks for any help