Police were swamped with firework offences in Edinburgh yesterday as police vehicles and public transport were targeted with fireworks and bricks in attack.