An amateur film ridiculing the Prophet Mohammed unleashed a week of raucous protests around the region. In the online world, reactions were no less forceful.
While bloggers roundly condemned the offensive nature of the film, many equally denounced acts of violence and destruction.
The author of the Algerian "Mozabite" blog called on Muslims to follow in the footsteps of Prophet Mohammed and not seek revenge.
"Don't use violence to respond to those who want to attack the Prophet Mohammed, who represents the whole of humanity," he wrote.
By releasing the trailer on September 11th, "The producers of the scandalous film intended to sow fitna among Muslims", wrote blogger Dézedien.
Activists posting on the Facebook page "Algerian Special Envoys" made little distinction between the defamation of Islam and violence perpetrated in the name of Islam.
"The main aim behind all this is not to paint the Prophet in a bad light (peace and blessings of God be upon him), but to provoke Muslims and steer them to violence, killing foreigners and burning down embassies in response, so that they can say: 'Look, these Muslims are barbarians'," said bank clerk Lokmane Bouider.
In Benghazi, activists mobilised online to decry the violence. Some wondered about the country's future in light of last week's deadly attack on the US consulate that killed Ambassador Christopher Stevens and three others.
"We are entering a stage of chaos that would lead the country to dangerous turns threatening Libya's existence and undermining our hopes about building a modern democratic state based on constitution, law and peaceful rotation of power," Badri Sharif El Manai blogged.
"Therefore, where do those people want to take Libya to? To hell? To another Somalia or Afghanistan, where our country turns into a hotbed for every adventurer?!" he added.
Some Libyan internet users expressed disbelief at the misdirected anger of Benghazi protestors.
They reminded readers that the US diplomat was not responsible for releasing the anti-Islam film, and peaceful demonstrations would suffice to show protest.
Blogger Anas Abu Mees said that raucous protests only contributed to "disseminating and promoting such works".
"What happened in Benghazi this evening is only a repetition of many other similar situations: a nobody produces a work (a film, book, etc.) denigrating Islam, and then crowds of people react with volcanic anger that burns, destroys, and, in today's case, kills everything in its way without any regard to man's blood," he wrote in an article, entitled "Defenders of the Holy".
"Our Prophet says, 'He who kills a party to a covenant won't smell the scent of paradise'," Abu Mees said.
Some Libyans created Facebook groups and staged demonstrations to mourn the death of the US ambassador.
Abdallah Fazzan posted on the Facebook page "Opposing the Death of Chris in Tripoli": "We mourn a great friend of the Libyan people in Ambassador Stevens, and we apologise for failing to protect an honoured guest."