added code
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Konami code example</title>
|
||||
|
||||
<script src="konami.js"></script>
|
||||
|
||||
<script>
|
||||
konami(function () {
|
||||
var html = document.getElementsByTagName('html')[0];
|
||||
html.style.backgroundColor = 'black';
|
||||
html.style.color = 'white';
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
blah blah
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user