Not even the Muslim Lands were safe...
The Muslim Lands became vulnerable to Imperialism when their empire declined in the 1700's. Muslim rulers became powerless and desperate, and Europeans saw this as opportunity to gain Ottoman lands. The result was much of the land actually accepting Imperialism and making large efforts to westernize. They even hired European officials to shape for them a strong military. Even Egypt wanted to modernize because of Muhammad Ali, sometimes called the "father of modern Egypt." However, Egypt modernizing did not go through without angering a few nationalists. Discontent turned into protests and riots.
What did Europe want from the Muslim lands? Well for starters, land. Also what these lands had a huge abundance of was tobacco. When they saw Muslim Lands weakening economically and empirically, they decided it was a perfect opportunity to take over. This happened between the 1700s and 1800s.
Let's look at what Imperialism itself is. More specifically New Imperialism. It is where countries such as Britain and France wanted to spread their empires, prosperity, and influence to other parts of the world while claiming any resources they might find. All but two "territories" of Africa were effected by this, and needless to say the Muslim Lands were not immune to this.
How did they respond? Look here: http://www.oxfordislamicstudies.com/article/book/i...
Prentice Hall World History Textbook by Ellis Esler