Don't make people into victims of policy. People come looking for help. Don't deny them all assistance because you find the question does not perfectly match with the rules.
Any code I offer as an answer or comment comes also with the WTFPL or Free Public license, regardless of whatever changes are made to the site TOS. Do whatever you like with it, no attribution ever required.