Scripts podem fechar apenas as janelas que foram abertas por eles

open window with target="_blank"
and the perform window.close();
Lokesh003