<?xml version="1.0" encoding="utf-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Reload during drag and drop: helper file</title> | |
</head> | |
<body onload="window.getSelection().selectAllChildren(document.querySelector('p'))" ondragleave="window.location.reload()"> | |
<p>Drag me</p> | |
</body> | |
</html> |