there are various compression methods and depending on them javascript code can also be corrupted
because those programs are not perfect and sometimes they do not fully understand the original code
(if the original code does not end with ; or it is incorrect and non-standard written, etc.)
text editors especially notepad from windows want to insert BOM
my advice is to download notepad ++
64bit version is here Downloads | Notepad++
in installation proc… just next,next,next until is finished.
after installation do this
after that open Firefox
we will add notepad ++
so it calls when you right click in firefox and pick view source on some website
You can do this by changing 2 hidden preferences.
- Type about:config into the location bar and press enter
- Accept the warning message that appears, you will be taken to a list of preferences
- In the filter box type view_source
- Double-click on view_source.editor.external to change its value to true
- Double-click on view_source.editor.path and set it to C:\Program Files\Notepad++\notepad++.exe (if Notepad++ is stored elsewhere change that to where it is stored)
you can also use it in windows to right click and edit html, css, and much more … (color code is good)



