Simple Country Ribs Recipe

2 1/2 pounds pork spareribs

2 (18 ounce) bottles barbeque sauce

1 onion, quartered

1 teaspoon salt

1/2 teaspoon ground black pepper