In this letter, a thin slab of glass is used as Fabry–Perot etalon inside a cavity of a continuous wave (CW) Nd:YAG laser to change the behavior of its output longitudinal modes. The slab etalon is used as tuning element when it turns around the lase