Chemical probes and drugs often bind to functional domains on disease-relevant proteins. A study suggests a chemical genetic approach to establish on-target effects by swapping the targeted domain, affording resistance to pharmacological inhibition while retaining functionality.