Supporters of Ukrainian President Viktor Yanukovich have hustled a sweeping law through parliament in an attempt to curb anti-government protests, sparking an outcry from the opposition and raising tensions on the streets.