To adapt webkit browsers