Amorphous co-doped MoSex effectively enhances photocatalysis in visible light.