Late Thursday , Khader Habib , a spokesman for the militant group Islamic Jihad , said the main Palestinian factions had agreed to offer to stop firing rockets into Israel in exchange for a cessation of all attacks on the Gaza Strip and the West Bank .