Deobfuscate javascript code and retrieve the source code from a script
If you have obfuscated javascript code, you can try retrieving the source code although it will be not so easy to read.
Image created from canvas have black background (HTML5)
Learn why your exported canvas image have black background and how to solve it !