Police stopped more than 50 vehicles as part of a crackdown on car crime.
They targeted motorists on the M62 motorway bridge in Oxford Road, Birkenshaw, last Wednesday.
It was part of Operation Viper, a county-wide anti-crime scheme launched this year.
Police arrested two men for possession with intent to supply class B drugs, after officers found two large boxes containing cannabis and hydroponic equipment on the back seat of the VW Golf.
A total of 12 taxis were stopped, with one driver having his licence suspended immediately and another driver given a verbal warning.
The Vehicle and Operator Services Agency checked almost 40 vehicles and four were found to have defects which needed immediate attention.
One driver was issued with a non-endorsable fixed penalty notice for having no MOT.
Officers also made five stop searches under section 23 of the Misuse of Drugs Act.
Batley Neighbourhood Policing Team co-ordinator Martyn Lee said: “The multi-agency operations are run in the locality on a regular basis, and are invariably very successful in detecting a range of offences.
“Officers from WYP, VOSA, HMIC and Kirklees Licensing are on hand to deal with their respective responsibilities and take enforcement action.
“A range of sanctions are used from fixed penalty tickets, formal warnings, reporting infringements to the courts for summons and vehicle seizures.
“The next such operation is likely to be soon in the North Kirklees area and anticipated to be just as successful.”