mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-14 03:02:55 +00:00
19 lines
No EOL
431 B
HTML
19 lines
No EOL
431 B
HTML
<!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> |