/    Sign up×
Community /Pin to ProfileBookmark

Konami code problems with IE

Hi i put the konami code on my site and it works in Chrome and Firefox but not IE any ideas ?

thanks

[CODE]<body bgcolor=”#000000″>
<br /><br />

<h1 class=”h1maggots”> FISH NORTH WEST</h1>
<br />
<p class=”konami”>Perform The <a id=”konami_code” href=”http://contact.html” onclick=”window.open(this.href); return false;”>Code</a> To Access Members Area
</p>
<br /><br />

<img src=”file:///C|/Documents and Settings/s00103684.CAMPUS/My Documents/maggots.jpg” align=”absmiddle” class=”imgmaggots” />

<script type=”text/javascript”>
if ( window.addEventListener ) {
var state = 0, konami = [38,38,40,40,37,39,37,39,66,65];
window.addEventListener(“keydown”, function(e) {
if ( e.keyCode == konami[state] ) state++;
else state = 0;
if ( state == 10 )
window.location = “http://www.palmeroni.com”; //you can write your own code here
}, true);
}
</script>

</body>[/CODE]

to post a comment
JavaScript

1 Comments(s)

×

Success!

Help @MASP spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...