Without knowing anything about United’s systems, I’d hazard a guess agents prefer to call United APIs to make a booking rather than clicking and typing, and that these APIs are where the detection/restriction will be implemented.
Why do people keep asking this question? There are many ways to try. We know none are perfect, but it often needs to be done regardless. United's method is proprietary or otherwise guarded.