Difference between revisions of "CanvasJS - Remove "Trial Version" Label"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
1. De-minify canvasjs.min.js: | 1. De-minify canvasjs.min.js: | ||
+ | $ git clone https://github.com/beautify-web/js-beautify.git | ||
$ python -m venv jsbeautify | $ python -m venv jsbeautify | ||
$ source jsbeautify/bin/activate | $ source jsbeautify/bin/activate |
Revision as of 02:32, 22 April 2020
CanvasJS 2.3.2
1. De-minify canvasjs.min.js:
$ git clone https://github.com/beautify-web/js-beautify.git $ python -m venv jsbeautify $ source jsbeautify/bin/activate $ js-beautify canvasjs.min.js >/tmp/canvasjs.js
2. Edit /tmp/canvasjs.js at line 1738 (approximately):
--- /tmp/canvasjs.js.orig 2020-03-20 10:49:03.820850535 -0400 +++ /tmp/canvasjs.js 2020-03-20 10:52:17.740885754 -0400 @@ -1735,7 +1735,7 @@ return p }; U.obj = { - trVs: "Ush`m!Wdsrhno", + trVs: "", fntStr: "qy!B`mhcsh-!Mtbhe`!Fs`oed-!Mtbhe`!R`or!Tohbned-!@sh`m-!r`or,rdshg", txtBl: "udyuC`rdmhod", fnt: "gnou",
3. Use a web site like https://jscompress.com to re-minify canvasjs.js