I am currently fighting Google Chrome on the following action:
location.href = url
document.location = url
window.navigate(url) // doesn't work in Chrome/Firefox
window.location.href = url
Although, I first must say that this is Chrome behaving stupid, and you probably should not worry about it. Try to create a dummy form and with a GET method and programmatically submit it...
<form id="dummyForm" method="GET" action="#"> <input type="hidden" name="test" value="test" /> </form>
Then your onclick...
var frm = document.forms["dummyForm"]; frm.action = url; frm.submit();