New Oracle@Oracle paper shows how GoldenGate allowed for real-time operational reporting for Oracle E-Business Suite: http://t.co/SQVfHcD7
window.close in Firefox
The close() function won’t always work in Firefox.
Firefox will only allow you to close a window with the close() function, if it was a script that opened the window in the first place.
Therefore to get around this, we can trick the browser into thinking a script opened the window.
The header script can be defined as follows:
<script language="javascript" type="text/javascript">
function closeWindow() {
window.open('','_parent','');
window.close();
}
</script>
This opens a non-existent new page, into a target(_parent) frame/window, (which is the window in which the script is executed, so replacing itself). The browser now thinks a script opened a page, and we can close it in the standard way.
<a href="javascript:closeWindow();">Close Window</a>


