Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<head>
<title>Reload during selection cross page drag and drop</title>
</head>
<body onload="window.getSelection().selectAllChildren(document.querySelector('p'))">
<p ondragstart="event.dataTransfer.effectAllowed = 'copy';window.location = 'helper-drop-selection-here.xhtml'">Drag me</p>
<p>Drag selected text. You should be redirected to the new page and be able to drop it there.</p>
</body>
</html>