Getting html or some other script in some popups

M

Mike

I've installed a fresh copy of windows xp home on a newly built
machine, and I'm getting some behavior I've not seen before.

In some situations, such as most recently attempting to register my
copy of quicken, but also in other, disparate software titles, I come
to a point where a popup window arrives for me to declare some
preference or take some action, and instead of seeing an image of the
page, I get html script (an example follows this message).

I don't really know how to proceed to fix this. Any suggestions?

Here's an example:

<html>
<head>
<title>Quicken Product Registration</title>
<style>
<!--
..bb { font-family: MS Sans Serif; font-size: 8pt }
-->
</style>
</head>

<script>
function resize(snapshot)
{
var h = document.all[snapshot].SnapShot.GetHeight();
var w = document.all[snapshot].SnapShot.GetWidth();

if (h > 0)
{
document.all[snapshot].width = w;
document.all[snapshot].height= h;
document.all[snapshot].SnapShot.Size(0,0,w,h);
}
}

function size_zero(snapshot)
{
document.all[snapshot].width = 1;
document.all[snapshot].height= 1;
document.all[snapshot].SnapShot.Size(0,0,1,1);
}

function DoICSetup()
{
// Return code 0 cancels
qw.Command.EndModal( 0, "http://qw.exe/qw?menuid=6407" );
}

function DoHelp()
{
document.location = "http://qw.exe/qw?help=8511";
}

function DoCancel()
{
// Return code -1 continues whatever was being done prior to reg
qw.Command.EndModal( -1, 0 );
}

</script>

<SCRIPT LANGUAGE="JavaScript" FOR="uqw" EVENT="onSnapShotUpdate()">
resize('uqw');
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript" FOR="qw" EVENT="onQuickenEvent(szType)">
if(szType == "Registration")
{
var nState = qw.Command.REG_GetState();
// Always turn the first two off
idDiv1.style.display = 'none';
idDiv2.style.display = 'none';

if (nState == 1)
{
idDiv1.style.display = '';
idDivUQW.style.display = '';
}
else if (nState == 2)
{
// Hide the third, just in case
idDiv3.style.display = 'none';
idDiv2.style.display = '';
idDivUQW.style.display = '';

var url = qw.Command.REG_GetURL();
document.location.href = url;

}
else if (nState == 3 || nState == 4 || nState == 5)
{
idDiv3.style.display = 'none';
idDivUQW.style.display = '';
}
else if (nState == 6)
{
qw.Command.EndModal( -1, 0 );
}
else
{
// Show the error page
// It's worth noting that hiding the snapshot by trying to
change the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the
snapshot on the error pages
size_zero('uqw');
idDiv3.style.display = '';
}
}
</SCRIPT>
<OBJECT ID="qw" CLASSID=CLSID:C79C91A1-DB06-11D2-9E0C-00105A26F05D
WIDTH=1 HEIGHT=1></OBJECT>
<script>
// Initialize
var reg_error = 0;
if ( qw )
{
qw.Type="Data";
}
else
{
reg_error = 1;
}


</script>

<body onload="resize('uqw');">

<form name="QComPage" method=POST action="" ID="Form1">
<input type=hidden name=qwinTicket value="" ID="Hidden1">
</form>

<center>

<table border="0" cellspacing="0" cellpadding="5" width="570"
ID="Table1">

<tr>
<td><b><font face="Arial" color="#336699"><br>
</font>
</b>
<table border="0" cellspacing="0" bgcolor="#336699" cellpadding="0"
ID="Table2">
<tr>
<td align="left" valign=top width="5"><img border="0"
src="uplc2.gif" width="6" height="6"></td>
<td nowrap>
<table border="0" cellpadding="0" cellspacing="0" height="1"
ID="Table3">
<tr>
<td></td>
</tr>
</table>
<font color="#FFFFFF" face="Verdana" size="2"><b>Welcome to
Quicken registration...</b></font>
<table border="0" cellpadding="0" cellspacing="0" height="2"
ID="Table4">
<tr>
<td></td>
</tr>
</table>
</td>
<td align="right" valign=top width="5"><img border="0"
src="uprc2.gif" width="6" height="6"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="#336699" height="1" ID="Table5">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" ID="Table6">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

<tr>
<td>
<script>
function TryAgain( bRegPage, eDiv )
{
eDiv.style.display = 'none';
if (bRegPage)
{
location.href = qw.Command.REG_GetURL();
var url = qw.Command.REG_GetURL();
// var ticketid = qw.Command.REG_GetTicket();
// QComPage.action = url;
// QComPage.qwinTicket.value =
ticketid;
//
QComPage.submit();
}
else
{
// Remove this call to resize if we don't hide
the snapshot on the error pages
resize('uqw');
qw.Command.REG_NextState();
}
}
</script>

<div align="center" id="idDiv1" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Quicken needs to
initiate product registration. This
may take a few minutes....</font>
</div>

<div align="center" id="idDiv2" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Going online to the
registration pages...</font>
</div>

<div id="idDiv3" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">
<p>Connection to registration was unsuccessful.
Quicken registration requires cookies and an internet
connection. If there is an error registering Quicken, follow the steps
below to correct the issue. </p>
<p><strong>Check Your Internet Explorer Privacy Settings</strong></p>
<p>If you use&nbsp;Internet Explorer 6.0, the following procedure
shows you how to change your privacy settings to allow cookies. You
may still be able to use these steps as a general guide for other
browsers, but you should consult the manufacturer's instructions for
your browser if you need additional assistance. </p>
<ol>
<li>Launch Internet Explorer.
<li>Choose <strong>Tools menu</strong> &gt; <strong>Internet
Options.</strong>
<li>Click the <strong>Privacy</strong> tab.
<li>Select the appropriate option:
<ul>
<li>If your Privacy settings are Custom, click the
<strong>Advanced</strong> button, select the <strong>Override
automatic cookie handling</strong> check box , select <strong>Accept
for First-party Cookies</strong>, and click <strong>OK</strong>.
<li>If your Privacy settings are not Custom, adjust your
settings to <strong>Medium High</strong> or lower on the slider. </li>
</ul>
<li>Click <strong>OK</strong>.</li>
<li>Register Quicken. </li>
</ol>
<p><strong>Check Your Firewall Settings</strong></p>
<p>Quicken needs to have access to the Internet to complete
registration. If your firewall is not set to allow Quicken to access
the internet, you will not be able to register. The steps needed to do
this vary based on the firewall you are using. The general steps below
show what you need to do. For specific steps to do this, refer to your
firewall documentation.</p>
<ol>
<li>Check the list of allowed programs in your firewall.
If Quicken is listed, remove it from the list. </li>
<li>Add Quicken to the list of allowed programs.</li>
<li>Register Quicken.</li>
</ol>
<p><strong>Check for Viruses or Spyware on Your Computer </strong></p>
<p>Quicken requires a secure Internet connection. Many viruses,
spyware and adware will interfere with Quicken's ability to establish
a secure connection. Make sure your virus protection is up to date and
run a full system scan.</p>
<p>There are many third party systems that will scan and remove
spyware and adware from your computer. Intuit recommends periodically
checking your system for spyware or adware and removing programs you
do not want on your computer.</p>

</font>

<p align="center"> <font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb"
onclick="javascript:DoCancel()" ID="Button1">&nbsp;
<input type="button" value=" Help " name="B1" class="bb"
onclick="javascript:DoHelp()" ID="Button2">
</font></p>

</div>

<div id="idDiv4" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Registration did not
complete successfully.
<a href="javascript:TryAgain( false, idDiv3 )"
onMouseOver="window.status='Try again'; return true;"
onMouseOut=window.status=''; return true;">
Try again</a> or if you are still not successful, visit
the
<a href="http://qw.exe/qw?externalurl=http://
qw2007.quicken.com/cgi-bin/qd.cgi/w/2007/reghelp"
onMouseOver="window.status='http://www.intuit.com/support/quicken/faqs/
docs/w_onlinetroubleguide.html'; return true;"
onMouseOut="window.status=''; return true;">
Online Trouble Shooting Guide</a> for more information,
or click help below.
</font>

<p align="center"><font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb"
onclick="javascript:DoCancel()" ID="Button3">&nbsp;
<input type="button" value=" Help " name="B1" class="bb"
onclick="javascript:DoHelp()" ID="Button4">
</font></p>

</div>

<div align="center" id="idDivUQW" STYLE="display='none'"<OBJECT ID="uqw" CLASSID=CLSID:C79C91A1-
DB06-11D2-9E0C-00105A26F05D WIDTH=400 HEIGHT=400>
</OBJECT>
<script language="JavaScript">
var reg_error = 0;

uqw.Type="SnapShot";
if ( uqw.SnapShot )
{
uqw.SnapShot.Init(168);
uqw.SnapShot.CreateView();
uqw.SnapShot.SetAreaDisplay(-1,1);
uqw.SnapShot.SetAreaDisplay(0,0);
}
else
{
reg_error = 1; // Trigger display error message since COM object
failed to load
}
</script>
</div>
</td>
</tr>
</table>

<table border="0" cellPadding="0" cellSpacing="0" width="570"
bgcolor="#FFFFFF" ID="Table7">
<tbody>
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0"
width="570" bgcolor="#336699" height="1" ID="Table8">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0"
ID="Table9">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>

</center>

<script>

var n = qw.Command.REG_GetState();
if (n == 0 && reg_error == 0)
{
qw.Command.REG_NextState();
}
else
{
// We're somewhere in the reg process, so go to the reg error page
// It's worth noting that hiding the snapshot by trying to change
the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the snapshot on
the error pages
size_zero('uqw');
idDiv4.style.display = '';
}
</script>

</body>
</html>
 
G

Guest

You need to install java

Mike said:
I've installed a fresh copy of windows xp home on a newly built
machine, and I'm getting some behavior I've not seen before.

In some situations, such as most recently attempting to register my
copy of quicken, but also in other, disparate software titles, I come
to a point where a popup window arrives for me to declare some
preference or take some action, and instead of seeing an image of the
page, I get html script (an example follows this message).

I don't really know how to proceed to fix this. Any suggestions?

Here's an example:

<html>
<head>
<title>Quicken Product Registration</title>
<style>
<!--
..bb { font-family: MS Sans Serif; font-size: 8pt }
-->
</style>
</head>

<script>
function resize(snapshot)
{
var h = document.all[snapshot].SnapShot.GetHeight();
var w = document.all[snapshot].SnapShot.GetWidth();

if (h > 0)
{
document.all[snapshot].width = w;
document.all[snapshot].height= h;
document.all[snapshot].SnapShot.Size(0,0,w,h);
}
}

function size_zero(snapshot)
{
document.all[snapshot].width = 1;
document.all[snapshot].height= 1;
document.all[snapshot].SnapShot.Size(0,0,1,1);
}

function DoICSetup()
{
// Return code 0 cancels
qw.Command.EndModal( 0, "http://qw.exe/qw?menuid=6407" );
}

function DoHelp()
{
document.location = "http://qw.exe/qw?help=8511";
}

function DoCancel()
{
// Return code -1 continues whatever was being done prior to reg
qw.Command.EndModal( -1, 0 );
}

</script>

<SCRIPT LANGUAGE="JavaScript" FOR="uqw" EVENT="onSnapShotUpdate()">
resize('uqw');
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript" FOR="qw" EVENT="onQuickenEvent(szType)">
if(szType == "Registration")
{
var nState = qw.Command.REG_GetState();
// Always turn the first two off
idDiv1.style.display = 'none';
idDiv2.style.display = 'none';

if (nState == 1)
{
idDiv1.style.display = '';
idDivUQW.style.display = '';
}
else if (nState == 2)
{
// Hide the third, just in case
idDiv3.style.display = 'none';
idDiv2.style.display = '';
idDivUQW.style.display = '';

var url = qw.Command.REG_GetURL();
document.location.href = url;

}
else if (nState == 3 || nState == 4 || nState == 5)
{
idDiv3.style.display = 'none';
idDivUQW.style.display = '';
}
else if (nState == 6)
{
qw.Command.EndModal( -1, 0 );
}
else
{
// Show the error page
// It's worth noting that hiding the snapshot by trying to
change the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the
snapshot on the error pages
size_zero('uqw');
idDiv3.style.display = '';
}
}
</SCRIPT>
<OBJECT ID="qw" CLASSID=CLSID:C79C91A1-DB06-11D2-9E0C-00105A26F05D
WIDTH=1 HEIGHT=1></OBJECT>
<script>
// Initialize
var reg_error = 0;
if ( qw )
{
qw.Type="Data";
}
else
{
reg_error = 1;
}


</script>

<body onload="resize('uqw');">

<form name="QComPage" method=POST action="" ID="Form1">
<input type=hidden name=qwinTicket value="" ID="Hidden1">
</form>

<center>

<table border="0" cellspacing="0" cellpadding="5" width="570"
ID="Table1">

<tr>
<td><b><font face="Arial" color="#336699"><br>
</font>
</b>
<table border="0" cellspacing="0" bgcolor="#336699" cellpadding="0"
ID="Table2">
<tr>
<td align="left" valign=top width="5"><img border="0"
src="uplc2.gif" width="6" height="6"></td>
<td nowrap>
<table border="0" cellpadding="0" cellspacing="0" height="1"
ID="Table3">
<tr>
<td></td>
</tr>
</table>
<font color="#FFFFFF" face="Verdana" size="2"><b>Welcome to
Quicken registration...</b></font>
<table border="0" cellpadding="0" cellspacing="0" height="2"
ID="Table4">
<tr>
<td></td>
</tr>
</table>
</td>
<td align="right" valign=top width="5"><img border="0"
src="uprc2.gif" width="6" height="6"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="#336699" height="1" ID="Table5">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" ID="Table6">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

<tr>
<td>
<script>
function TryAgain( bRegPage, eDiv )
{
eDiv.style.display = 'none';
if (bRegPage)
{
location.href = qw.Command.REG_GetURL();
var url = qw.Command.REG_GetURL();
// var ticketid = qw.Command.REG_GetTicket();
// QComPage.action = url;
// QComPage.qwinTicket.value =
ticketid;
//
QComPage.submit();
}
else
{
// Remove this call to resize if we don't hide
the snapshot on the error pages
resize('uqw');
qw.Command.REG_NextState();
}
}
</script>

<div align="center" id="idDiv1" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Quicken needs to
initiate product registration. This
may take a few minutes....</font>
</div>

<div align="center" id="idDiv2" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Going online to the
registration pages...</font>
</div>

<div id="idDiv3" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">
<p>Connection to registration was unsuccessful.
Quicken registration requires cookies and an internet
connection. If there is an error registering Quicken, follow the steps
below to correct the issue. </p>
<p><strong>Check Your Internet Explorer Privacy Settings</strong></p>
<p>If you use Internet Explorer 6.0, the following procedure
shows you how to change your privacy settings to allow cookies. You
may still be able to use these steps as a general guide for other
browsers, but you should consult the manufacturer's instructions for
your browser if you need additional assistance. </p>
<ol>
<li>Launch Internet Explorer.
<li>Choose <strong>Tools menu</strong> > <strong>Internet
Options.</strong>
<li>Click the <strong>Privacy</strong> tab.
<li>Select the appropriate option:
<ul>
<li>If your Privacy settings are Custom, click the
<strong>Advanced</strong> button, select the <strong>Override
automatic cookie handling</strong> check box , select <strong>Accept
for First-party Cookies</strong>, and click <strong>OK</strong>.
<li>If your Privacy settings are not Custom, adjust your
settings to <strong>Medium High</strong> or lower on the slider. </li>
</ul>
<li>Click <strong>OK</strong>.</li>
<li>Register Quicken. </li>
</ol>
<p><strong>Check Your Firewall Settings</strong></p>
<p>Quicken needs to have access to the Internet to complete
registration. If your firewall is not set to allow Quicken to access
the internet, you will not be able to register. The steps needed to do
this vary based on the firewall you are using. The general steps below
show what you need to do. For specific steps to do this, refer to your
firewall documentation.</p>
<ol>
<li>Check the list of allowed programs in your firewall.
If Quicken is listed, remove it from the list. </li>
<li>Add Quicken to the list of allowed programs.</li>
<li>Register Quicken.</li>
</ol>
<p><strong>Check for Viruses or Spyware on Your Computer </strong></p>
<p>Quicken requires a secure Internet connection. Many viruses,
spyware and adware will interfere with Quicken's ability to establish
a secure connection. Make sure your virus protection is up to date and
run a full system scan.</p>
<p>There are many third party systems that will scan and remove
spyware and adware from your computer. Intuit recommends periodically
checking your system for spyware or adware and removing programs you
do not want on your computer.</p>

</font>

<p align="center"> <font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb"
onclick="javascript:DoCancel()" ID="Button1">
<input type="button" value=" Help " name="B1" class="bb"
onclick="javascript:DoHelp()" ID="Button2">
</font></p>

</div>

<div id="idDiv4" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Registration did not
complete successfully.
<a href="javascript:TryAgain( false, idDiv3 )"
onMouseOver="window.status='Try again'; return true;"
onMouseOut=window.status=''; return true;">
Try again</a> or if you are still not successful, visit
the
<a href="http://qw.exe/qw?externalurl=http://
qw2007.quicken.com/cgi-bin/qd.cgi/w/2007/reghelp"
onMouseOver="window.status='http://www.intuit.com/support/quicken/faqs/
docs/w_onlinetroubleguide.html'; return true;"
onMouseOut="window.status=''; return true;">
Online Trouble Shooting Guide</a> for more information,
 
M

Mike

I should not that I've also enabled just about anything I can think of
in terms of activex permissions, but to no avail so far.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top