è solo un tentativo... comunque prova a fare questo

getURL("javascriptopup.close();")