2012-01-21 15:19:22 -08:00

19 lines
431 B
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
window.addEventListener('load', function(){
document.addEventListener('dragenter', function(e){
e.preventDefault();
},false);
document.addEventListener('dragover', function(e){
e.preventDefault();
// e.dataTransfer.effectAllowed is none
e.dataTransfer.dropEffect = 'copy';
},false);
},false);
</script>
</html>