I came upon this article where some guy was explaining how to Hacking the vCloud Director to work on other browsers like chrome. So when he ran this:
Invoke-RestMethod “https://vcloud.example.com/cloud/org/jake” | Out-File C:usersjakedesktopvcloudindex.html -encoding UTF8
It dumps the HTML from the URL just like wget in linux, he then started changing out all the relative HTML links to absolutes, like in this example where he show s how he changed the first to demonstrate it:
css/main.css” type=”text/css” rel=”stylesheet” />
<script type=”text/javascript” src=”support/<span class=”>// <![CDATA[
javascript</span>/jquery/jquery-1.3.2.min.js” type=”text/javascript”>
// ]]></script>
<script type=”text/javascript” src=”support/<span class=”>// <![CDATA[
javascript</span>/upload.js” type=”text/javascript”>
// ]]></script>
<script type=”text/javascript” src=”support/<span class=”>// <![CDATA[
javascript</span>/swfobject.js” type=”text/javascript”>
// ]]></script>
<script type=”text/javascript” src=”support/<span class=”>// <![CDATA[
javascript</span>/swfaddress.js” type=”text/javascript”>
// ]]></script>
<script src=”support/javascript/associative-array.js” type=”text/javascript”></script>
<script src=”support/javascript/VMRCConsoleController.js” type=”text/javascript”></script>
<script src=”support/javascript/remoteaccess.js” type=”text/javascript”></script>
The next vtask was handling cookie errors which chrome does not load from local pages by default, the error is fixed by loading chrome with –enable-file-cookies, but you can just do this by uploading the file to your public dropbox folder and you get the URL for that file, you will be able to access the file over the internet,though the flash will not load, which when curious you will see this line:
{ wmode: “opaque”, allowScriptAccess: “sameDomain” },
The solution was to change “samedomain” to “always” after that a reload and the flash will work just fine and you can login, the browser error can only be handled by first doing a find for the text error and backtracking to its function:
function onPageLoad() {
if (isSupportedBrowser()) {
initializeFlash();
} else {
$(“#browserWarning”).show();
$(“#flashWarning”).hide();
$(“#cookieWarning”).hide();
}
}
To fix this just by removing the logic of the onPageLoad() function to this:
function onPageLoad() {
initializeFlash();
}
All will be done and it will work well. Just ensure the URL you are connected to is correct and the ssl cert is for your domain. Bookmarking the link can also be a way to ensure you are not going to the wrong URL. Point to keep is that this does not add VMware remote console support for chrome it just removes the browser warnings,VMRC plugin is currently for firefox and IE only.