Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<head>
<title>Reload during cross page drag and drop with text/plain data</title>
<style type="text/css">
div[ondragstart]
{width:40px;
min-height:40px;
margin-top:20px;
padding:40px;
color:white;
background-color:navy;}
</style>
</head>
<body>
<div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy';event.dataTransfer.setData('text/plain','PASS');window.location = '022-1.xhtml'"/>
<p>Drag blue box. You should be redirected to the new page and be able to drop it there.</p>
</body>
</html>