The protests, which centred mainly on Gaza’s north, appeared to be aimed generally against the 17-month-long war