We consider the ionization of the hydrogen molecular ion after one-, two-, and three-photon absorption over a large range of photon energies between 9 and 40 eV in the fixed-nuclei approximation. The temporal development of the system is obtained in a fully ab initio time-dependent grid-based approach in prolate spheroidal coordinates. The alignment dependence of the one-photon ionization amplitude is highlighted in the framework of time-dependent perturbation theory. For one-photon ionization as a function of the nuclear separation, the calculations reveal a significant minimum in the ionization probability. The suppressed ionization is attributed to a Cooper-type minimum, which is similar, but not identical, to the cancellation effect observed in photoionization cross sections of some noble-gas atoms. The effect of the nonspherical two-center Coulomb potential is analyzed. For two-and three-photon ionization, the angle-integrated cross sections clearly map out intermediate-state resonance, and the predictions of the current computations agree very well with those from time-independent calculations. The dominant emission modes for two-photon ionization are found to be very similar in both resonance and off-resonance regions.