Government gives industry last chance to agree industry code before imposing one and will introduce injunctions to block access to 3rd party websites