I apologize in advance if this question is not appropriate for this forum. I could not find answers from searches in Google or Stackexchange. Also, because the question was specific, I thought I might be acceptable.
Background: The end purpose is to troubleshoot a server connection error where a client machine runs javascript. I'm trying to at least determine the source and destination network ports used for the munication attempt. I know zero javascript but have some background in C++.
The client runs this html page:
<script type="text/javascript" language="javascript" src=".vmware.vim.cimmonitor.gwt.CimUi.nocache.js"></script>
Is there a way to view the contents of the specific js file? I cannot tell if the js file is bundled locally in some kind of javascript library or resides somewhere in vmware I've tried to directly enter the full js name into firefox, but got a server not found error.
Thanks.
I apologize in advance if this question is not appropriate for this forum. I could not find answers from searches in Google or Stackexchange. Also, because the question was specific, I thought I might be acceptable.
Background: The end purpose is to troubleshoot a server connection error where a client machine runs javascript. I'm trying to at least determine the source and destination network ports used for the munication attempt. I know zero javascript but have some background in C++.
The client runs this html page:
<script type="text/javascript" language="javascript" src=".vmware.vim.cimmonitor.gwt.CimUi.nocache.js"></script>
Is there a way to view the contents of the specific js file? I cannot tell if the js file is bundled locally in some kind of javascript library or resides somewhere in vmware. I've tried to directly enter the full js name into firefox, but got a server not found error.
Thanks.
Share Improve this question edited Jan 12, 2017 at 16:55 gnemnk asked Oct 7, 2013 at 19:20 gnemnkgnemnk 1331 gold badge2 silver badges6 bronze badges 3-
Have you tried
http://sitename./.vmware.vim.cimmonitor.gwt.CimUi.nocache.js
? – Steve Commented Oct 7, 2013 at 19:24 - Thanks everyone. The above and the suggestions below by Diodeus and dprogramz all helped. It looks to me that .vmware.vim.cimmonitor.gwt.CimUi.nocache.js is a binary file. Is there a way to view the source of this binary? – gnemnk Commented Oct 8, 2013 at 13:33
- So I got a better view of the Javascript code when I am in debugger mode via F-12 on Chrome. I then got to a point of interest and did a right click and selected "copy as html". Paste this onto notepad and I am able to view more of the code that was not visible on the debugger page on Chrome. – gnemnk Commented Oct 8, 2013 at 13:58
2 Answers
Reset to default 3Press F-12
to open the browser's debugger. Open the NETWORK section. Reload the page. It will show you a plete list of resources as they are loaded. You can click on any of these to look at the source and http header information.
Unless the js code is using websockets, munication is likely just http:// on port 80.
if you use the developer console in chrome/safari, you can view all loaded javascript in the resources tab.
you can also use netstat to see what active port connections you have.