Forse non tutte le tue richieste sono possibili, ma ci si puo` avvicinare.

Cerca window.open() in un qualsiasi manuale JS (ad esempio devGuru)