Vdwebcontrol.js can display CAD graphics in the browser (need to use their own conversion tool to convert CAD to VDS format, the tool is free, but the converted file with watermark information), support editing graphics.
Vdwebcontrol.js Trial version with copyright information in the center of the screen.
1. Format JS as readable
2, using Chrome debugging found is data:image/jpg;base64 format picture. The idea is to replace the original watermark image with a transparent PNG image.
Find Kd.setattribute ("src", "data:image/" + Iformat + "; base64," + ad.jpegdata);
Replaced by
var tmpimg= "ivborw0kggoaaaansuheugaaakoaaaapcayaaaclurl0aaaacxbiwxmaaa7eaaaoxagvkw4baaaaigniuk0aaholaacagwaa+ f8aaidpaab1maaa6maaadqyaaaxb5jfxuyaaabssurbvhja7njbeqaacmmwwl/ Nywoprekvm2sg3umaucgogbwmckbfqgbumcpgbaocuteqgbwjglhbqbgvjapgxahgvdaqrgwjylqwkhgvo4jrwagyfywkrswoyfqwkkyfo2juqpqaaad Wma3rydt1/2mriaaaaasuvork5cyii= ";
Kd.setattribute ("src", "data:image/png;base64," + tmpimg);
Run, the specific text is gone, but there is still a black box.
3, with Chrome debugging JS.
Found function functions wz is used to draw watermark images, function Bh (BU, QI) This.uw = function (img) for each move after the location of the watermark reset.
Added at the beginning of two functions
Return statement.
4. Run, the watermark is gone.