For all you JS-hackers out there… here’s the way to make Windows7 to show a preview of a JavaScript file.
In the registry add a STRING value to the HKEY_CLASSES_ROOT\.js node called PerceivedType with the value text.
That’s all there’s to it.
Like this..!
Or make a registry file containing:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.js]
“PerceivedType”=”text”