added hijack_new_window