Whenever any city, city and county, or county shall have established zones or districts under authority of law wherein certain manufacturing or commercial or airport uses are expressly permitted, except in an action to abate a public nuisance brought in the name of the people of the State of California, no person or persons, firm or corporation shall be enjoined or restrained by the injunctive process from the reasonable and necessary operation in any such industrial or commercial zone or airport of any use expressly permitted therein, nor shall such use be deemed a nuisance without evidence of the employment of unnecessary and injurious methods of operation. Nothing in this act shall be deemed to apply to the regulation and working hours of canneries, fertilizing plants, refineries and other similar establishments whose operation produce offensive odors.
Ca. Civ. Proc. Code § 731a