First, I use hash tag to change page hash without a reload.
Second, I tried to close a window by clicking a button using jquery:
$("#finish").click(function() {
window.close();
});
Chrome tells me "you may not close the window not open by the script". However I am always on the same page, just the hashtag changes.
Any workarounds or ideas?