I've done it on a router with a strip antenna and no antenna connector, the real problem is the impedance so the new antenna and connection cable could not match, so results could be worse. My router is now connected to a double biquad antenna.
But, to do it, you should desolder the last capacitor before the original antenna to disconnect it, and there connect your cable (and of course the ground as needed).