How to go back to window, not the origin window?

I have an origin web page A to use to create a window of page B, and I have a link to another page C on page B using document.write(), When I click back on page C , I go back to A instead of B, How to set up to make it go back to B?

var newWindow ="", "", "");
newWindow.document.write("<a href=''>Wiki</a>")

No Comments Yet