I want to get the byte code of a deployed contract. How can I get it? Is there a special function in web3.js? I haven't found any.
According to the docs, you can use this method:
web3.eth.getCode(addressHexString [, defaultBlock] [, callback])
addressHexString is the address your contract was deployed at.