Husnain Rashid, 31, provided advice on how a ‘lone wolf’ terrorist could carry out an attack with poison, chemicals, bombs and knives, prosecutors claim.

He was also in communication with a known ISIS fighter in Syria and ran his own internet channel, Woolwich Crown Court heard.

Jurors heard how the defendant believed the only alternative to fighting jihad in the Middle East was to launch attacks in western countries.

Prosecutor Annabel Darlow said: ‘The overarching aim of his activities was to provide a wealth of online material – an ‘e’ tool-kit for terrorism, for those preparing to commit acts of terror and to offer as much assistance, encouragement and support as he was able.

‘His proposals were indiscriminate and made no distinction between adult and child, between members of fighting forces and civilians.

‘His suggestions included injecting poison into supermarket ice creams and targeting Prince George at his first school.

He was in contact with a terrorist fighting jihad in Syria called Omar Ali Hussain known on the internet as ‘Repunzel’.

‘Husnain Rashid offered Omar Ali Hussain, and those Hussain was fighting with, assistance to commit acts of terror by providing him with information useful on the battlefield.

He spoke about how to use lasers to shoot down aircraft and to weaken enemy defences by jamming their missile systems hoping he would be asked to go to Syria and fight.’

The terror suspect also allegedly posted a photo of George and said ‘even the royal family will not be left alone’.

Rashid, of Nelson, Lancashire, denies six terrorism offences and failing to comply with a notice. The trial continues.