Narrow search criteria in webkit workaround