Gregory Haynes 32acd651eb Disable our friend's noise
Playing sounds is probably a bit much

Change-Id: I0a34dfbcd001eb0ad109d0b953306f6a6a2d9e62
2015-03-31 23:46:40 +00:00

27 lines
754 B
HTML

<div>
<script type="text/javascript" src="static/jquery.js" />
<script type="text/javascript" src="static/hideci.js" />
<a href="/"><h1 style="color: #CF2F19"><img src="static/title.png" style="vertical-align:middle;" /></h1></a>
<!-- Clippy.js -->
<script src="static/clippy.min.js"></script>
<!-- Init script -->
<script type="text/javascript">
$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'static/clippy.css') );
var now = new Date();
if (now.getMonth() == 3) {
if (now.getDate() == 1){
clippy.Animator.prototype._playSound = function() { }
clippy.load('Clippy', function(agent) {
// Do anything with the loaded agent
agent.show();
agent.animate();
});
}
}
</script>
</div>