Enter 'Backspace' This site can't be reached
Enter 'Backspace' This site can't be reached

Thanks for reporting. Will fix it soon.
@owen-hong how to reproduce this?
@rogerwang Open http://localhost:3030 with NW, then click "backspace",u'll see it.
My package.json :

How did you open it? I cannot reproduce...
My index.html use "window.location = 'http://localhost:3030';" open http://localhost:3030

I still cannot reproduce it with the following sample, does it reproduce for you?
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>NW Test</title>
</head>
<body>
<script>
function test2() {
window.location = 'http://localhost/';
}
</script>
<button onclick="test2()">test2</button>
</body>
</html>
I met the same problem and solved with the following code.
window.addEventListener('keydown', function (e) {
if (e.keyCode === 8 && e.target === document.body) {
e.preventDefault();
}
});
I solved with the following code.
window.addEventListener('keydown', function (e) {
var type = e.target.type;
if(e.keyCode==8 && type !== 'text' && type !== 'password' && type !== 'textarea'){
e.preventDefault();
}
});
would tagName !== 'INPUT' && tagName !== 'TEXTAREA' be better?
I also can't reproduce this issue with window.location = 'http://localhost:8080/' on nwjs-sdk-v0.21.5.