An injunction that prevents something from happening before it occurs is described as a prior restraint.