Sprinkle the salt over tomatoes and onions separately, place in thin bags over night to drain. Boil the quart of vinegar with the water, add tomatoes, and let boil 15 minutes. Drain and throw away the liquid.
Mix with the rest of the ingredients bring to a boil, scald thoroughly, put in jars and seal at once. Let cool gradually.