Is there a way to automatically close a new tab/window that pops up as advertisement and opening some specific web-page on it ?
Is there any software to do this job ?
Try one of the more robust popup blockers from the Firefox Add-ons store:
Popup Blocker (strict) https://addons.mozilla.org/firefox/addon/popup-blocker/
Popup Blocker Ultimate https://addons.mozilla.org/firefox/addon/popup-blocker-ultimate/