Israel continued its weeklong offensive against Palestinian militants on Friday , as preliminary results in some municipal elections in the West Bank showed the militant group Hamas making political gains .