Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Tab won't close. Akds to confirm by closing prompt/ key Esc key; won't close.

  • 9 tontu
  • 71 am na jafe-jafe bii
  • 9 views
  • i mujjee tontu mooy akjim

more options

Unable to close a tab (page?). When you click on the close button, another window opens, asking for confirmation you want to navigate away from this page......type the escape key/ or click on close. The page remains open.

Unable to close a tab (page?). When you click on the close button, another window opens, asking for confirmation you want to navigate away from this page......type the escape key/ or click on close. The page remains open.

All Replies (9)

more options

Try temporarily disabling JavaScript. In the Tools menu select Option, then go to the Content panel in the Options window and de-select the setting "Enable JavaScript". Close the Options window and then try to close the tab. You can then re-enable JavaScript.

more options

Other things that need attention:

Your above posted More system details list shows two Flash plugins, one a very old Flash 5.0 r41 the you should remove.

  1. Shockwave Flash 10.1 r85
  2. Shockwave Flash 5.0 r41

You can find the old Flash plugin file NPSWF32.DLL in the plugins folder within the Firefox program folder (C:\Program Files\Mozilla Firefox\plugins\) and remove that file. Also remove the flashplayer.xpt file in the components folder.

See also http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins

more options

Disabling java script and disabling flash did not solve problem. Firefox 4.0.1, MacOSX 10.6.7


Problem exits/originates from this page, as example: http://visitors-survey.com/promo/us/survey.php

more options

1/2 of Page Source is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="robots" content="noindex,nofollow" />
<link rel="Shortcut Icon" href="img/favicon.ico" type="image/x-icon" />
<title>You Are Today's Lucky Winner</title> 
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script> 

<SCRIPT language=javascript type=text/javascript>
  var areYouReallySure = false;
  var internalLink = false;
  var properClickThrough = false;
  function areYouSure() {
         if (!areYouReallySure && !internalLink && !properClickThrough) {
              window.onbeforeunload = null;
              window.location = 'survey.php';
              return "____________________________________________\n\nAttention:    If you exit now, this gift will be given to the next random visitor and you will be unable to claim it in the future.  \n\nPress **CANCEL TO CLAIM YOUR GIFT**, or OK to leave.\n\n____________________________________________";
         }
  }
  
  window.onbeforeunload = areYouSure;
</SCRIPT>
<style type="text/css" media="screen">

a:link, a:active, a:visited {
    text-decoration: underline;
	color: #4833ac;
}

a:hover {
	color: #4833ac;
}

body {
	font-family: "lucida grande" , tahoma, verdana, arial, sans-serif;
	font-size:11px;
	background-color: #ffffff;
	text-align: center;
	margin: 0px;
	padding: 0px;
}

#topWrapper {
	width: 100%;
	margin: 0px;
	padding: 0px;
	background-color: #3b5998;
}

#top {
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 750px;
	text-align: left;
	color: #ffffff;
	font-size: 35px;
	font-weight: bold;
}

#contentWrapper {
	width: 100%;
	background-color: #ffffff;
	margin-left: auto;
	margin-right: auto;
}

#content {
	width: 750px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

#bottom {
	width: 750px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	color: #737373;
	font-size: 11px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	text-align: center;
}

#txt {
  border:none;
  font-size: 16px;
  font-weight:bold;
  color: red;
  width: 57px;
  border-right-color:#FFFFFF
}

hr {
	height: 0;
	border: 0;
	border-top: 2px solid #111111;
	height: 2px;
}
</style>

<script type='text/javascript'>alert('Congratulations! You just won a new Apple ® iPad 2!  You have 4 minutes to redeem your prize!');</script><script language="JavaScript" type="text/javascript">

<!--
var sec = 59;   // set the seconds
var min = 03;   // set the minutes

function countDown() {
   sec--;
  if (sec == -01) {
   sec = 59;
   min = min - 1; }
  else {
   min = min; }

if (sec<=9) { sec = "0" + sec; }
  time = (min<=9 ? "0" + min : min) + " min and " + sec + " sec";
if (document.getElementById) { document.getElementById('theTime').innerHTML = time; }

SD=window.setTimeout("countDown();", 1000);
if (min == '00' && sec == '00') { sec = "00"; window.clearTimeout(SD); }
}
window.onload = countDown;
// -->
</script>

<script typee="text/javascript"> 
function titlebar(val)
{
	var msg  = "Your message here --- hscripts.com";
	var speed = 650;
	var pos = val;
 
	var msg1  = "    Congratulations, You Are Today's Lucky Winner!!!";
	var msg2  = "    !!PLEASE CLAIM YOUR PRIZE!!";
 
	if(pos == 0){
		masg = msg1;
		pos = 1;
	}
	else if(pos == 1){
		masg = msg2;
		pos = 0;
	}
 
	document.title = masg;
	timer = window.setTimeout("titlebar("+pos+")",speed);
}
 
titlebar(0);
</script> 


<style type="text/css">

 .timeClass {
  font-family:verdana,helvetica,sans-serif;
  font-weight:bold;
  font-size:11pt;
  }

.style1 {
	color: #FF0000;
	font-weight: bold;
}
.style2 {
	font-size: 10px;
	color: #999999;
}
.style3 {color: rgb(66, 66, 66)}
</style>
</head>

<body class="focused" oncontextmenu="return false;" onLoad="javascript:countDown();">

<div id="top"><img src="images/top2.gif" width="750" height="37"></div>


<div id="content">
			<div style="padding-top: prizes-survey.com/v/promo/ca/survey.php5px; padding-bottom: 5px; font-size: 20px; font-weight: bold; color: rgb(0, 52, 152);">

            &nbsp;
           You Have Been Randomly Selected From  
            <script language="JavaScript">document.write(geoip_region_name());</script>!!!
                        </div>

<div style="padding: 6px; background-color: rgb(112, 158, 207); color: rgb(255, 255, 255); font-size: 12px;">
			<table width="738" border="0" cellpadding="0" cellspacing="0">
			<tbody><tr style="font-family: lucida grande,tahoma,verdana,arial,sans-serif; font-size: 12px; font-weight: bold; color: rgb(255, 255, 255);">

				<td width="246">Contest Results: Winner</td>

			  <td width="238" align="right"><div align="center"></div></td>
			  <td width="254" align="right">
              
   				<script type="text/javascript">

				var d=new Date();
				var weekday=new Array(7);
				weekday[0]="Sunday";
				weekday[1]="Monday";
				weekday[2]="Tuesday";
				weekday[3]="Wednesday";
				weekday[4]="Thursday";
				weekday[5]="Friday";
				weekday[6]="Saturday";

				document.write("" + weekday[d.getDay()]);

</script>,

				<script type="text/javascript">
var month = new Array();
month[0] = "January";month[1] = "February";month[2] = "March";month[3] = "April";month[4] = "May";
month[5] = "June";month[6] = "July";month[7] = "August";month[8] = "September";month[9] = "October";month[10] = "November";
month[11] = "December";
//Array starting at 0 since javascript dates start at 0 instead of 1
var mydate= new Date()
mydate.setDate(mydate.getDate())
document.write(""+month[mydate.getMonth()]+" "+mydate.getDate()+", "+mydate.getFullYear());
</script>
              
              </td>
			</tr>
			</tbody></table>

  </div>

			<div style="padding: 6px; margin-top: 0px; font-size: 10px;
            background-color: rgb(181, 255, 205);">

			<span style="font-family: verdana; font-size: 12px;">You have <strong>1 prize</strong> that can be claimed today</span><br>
			</div>


<div>
			  <table style="font-family: verdana; font-size: 15px; font-weight: normal;" width="100%" border="0" cellpadding="10" cellspacing="0">

				<tbody><tr>
					<td width="180" align="center" valign="top"><br>
					  <br>

                      <a href="claim.php" onclick="properClickThrough = true;" target="_blank"><img src="images/iphoneipad.jpg" width="170" height="203" border="0"></a><br>
                      <br>

					</td><td valign="top">

					<p><span style="font-size: 20px; font-weight: bold;">Congratulations!</span><br>
					  <br>
					  <span class="style1" style="color: red; font-weight: bold;">You have just qualified to win an instant prize!</span><BR>
					  <BR>
					  Every<b>

cor-el moo ko soppali ci

more options

2/2 of page source is:

<script type="text/javascript">

var d=new Date();
var weekday=new Array(7);
weekday[0]="Sunday";
weekday[1]="Monday";
weekday[2]="Tuesday";
weekday[3]="Wednesday";
weekday[4]="Thursday";
weekday[5]="Friday";
weekday[6]="Saturday";

document.write("" + weekday[d.getDay()]);


                      </script>

                      <SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var Today=new Date();
var ThisDay=Today.getDay();
var ThisDate=Today.getDate();
var ThisMonth=Today.getMonth()+1;
var ThisYear=Today.getFullYear();  //included if you wish to insert the year
function DayTxt (DayNumber) {
var Day=new Array();
Day[0]="Sunday";
Day[1]="Monday";
Day[2]="Tuesday";
Day[3]="Wednesday";
Day[4]="Thursday";
Day[5]="Friday";
Day[6]="Saturday";
return Day[DayNumber];
}
var DayName=DayTxt(ThisDay);
function MonthTxt (MonthNumber) {
var Month=new Array();
Month[1]="January";
Month[2]="February";
Month[3]="March";
Month[4]="April";
Month[5]="May";
Month[6]="June";
Month[7]="July";
Month[8]="August";
Month[9]="September";
Month[10]="October";
Month[11]="November";
Month[12]="December";
return Month[MonthNumber];
}
var MonthName=MonthTxt(ThisMonth);
var d = new Date();
var h = d.getHours();

if (h < 2) document.write("morning");
else if (h < 3) document.write("morning");
else if (h < 7) document.write("morning");
else if (h < 12) document.write("morning");
else if (h < 17) document.write("afternoon");
else if (h < 23) document.write("evening");
else document.write("evening");
//  End -->
                      </script>

                      </b>we randomly select a visitor to our site to be our lucky winner. Based on today's random draw, <span class="style1">you are the winner!</span><br />
<!--                      </b>we randomly select a visitor to our site to be our lucky winner. Based on today's random draw, you qualify to be <span class="style1">the instant winner!</span><br />
-->
                      <br />
                      The following prize is yours today:
					<div style="text-align: center; font-size: 21px; padding-top: 10px; padding-bottom: 25px; line-height: 1.4; color: rgb(0, 12, 126);"><strong>
                    <a href="claim.php" onclick="properClickThrough = true;" target="_blank">2011 Apple&reg; iPhone 4 &amp; iPad 2 Combo</a></strong>		        </div>

					  <strong>Act fast! Please respond within <span id="theTime" class="timeClass" style="background-color: yellow;"></span>. Else, we may award the prize to another visitor in <script language="JavaScript">document.write(geoip_city());</script></strong>.<BR>
<!--					  <strong><span style="background-color: yellow;">Act fast!</span> Respond quickly or else we will award the prize to the next qualified visitor in <script language="JavaScript">document.write(geoip_region_name());</script></strong>.<BR>
-->
<BR><B>

						Here's how to claim your prize:</B>
						<br><br>
						<table style="font-family: verdana; font-size: 15px; font-weight: normal;" width="100%" border="0" cellpadding="5" cellspacing="0">
							<tbody><tr><td width="70" valign="top"><strong>Step 1:</strong></td>

							<td>
							  <a href="claim.php" onclick="properClickThrough = true;" target="_blank"><strong>Click Here</strong></a> to register on our site. It takes less than a minute and is a required step to receive your prize. <br>

							    </td>
							</tr>
							  <tr>
							    <td valign="top"><strong><br>

						        Step 2:</strong></td>
							    <td valign="top"><br>
						        Make sure to enter your valid mobile number.</td>
						      </tr>
							  <tr>
							    <td valign="top"><strong><br>

						        Step 3:</strong></td>

							    <td valign="top"><br>If you quality for a prize, we will display it on the screen for you to claim.

Good Luck!<br>
<br>
<a href="claim.php" onclick="properClickThrough = true;" target="_blank"><strong>Click Here to Register & Claim Your Prize!</strong></a></td>
						      </tr>
				          </tbody>
						</table><br></td>

				</tr>

				</tbody></table>


				<strong style="font-size: 14px;">Previous Winners From This Site</strong><hr>
				<table style="font-family: verdana; font-size: 15px; font-weight: normal;" border="0" cellpadding="10" cellspacing="0">

					<tbody><tr>
						<td width="210" valign="top"><img src="images/winner4b.jpg"></td>
				    <td valign="top">Jennifer Layton<br>

						  <span class="previous-winner-text"><span><script language="JavaScript">document.write(geoip_city());</script>, <script language="JavaScript">document.write(geoip_region());</script> </span><br/>
                          <br/>
                          <em>&quot;I was just visiting surfing around some sites and got a notice that I won.  I couldn't believe it!&quot;</em></span></td>

					</tr>
					<tr>
						<td width="210" valign="top"><img src="images/winner6b.jpg"></td>

				    <td valign="top">Mary Harris<br>New York, NY<br><br>
						  <em>"At first I thought it was a joke, but I went along with it anyways and registered... next thing you know, I won an iPad."</em></td>

					</tr>
					<tr>
						<td width="210" valign="top"><img src="images/winner3b.jpg"></td>
					  <td valign="top">Jason Meeks<br>Los Angeles, CA<br><br>

						<em>"This can't be real. I won without doing anything hard. Thanks!"</em></td>

					</tr>
				</tbody></table>
				<br><br>
	  </div>

			<hr>
	        <p>&nbsp;</p>

</div>

<div id="bottom">
  <span style="color: rgb(70, 70, 70);">
    
    
  </span>
  <center><div id="footer1" style="width:700px; padding-top:70px; padding-bottom:20px;">
    <p><span style="color: rgb(70, 70, 70);">©2011 <strong>visitors-survey.com</strong>.  All Rights Reserved.<br />
    </span></p>
    <p><span style="color: rgb(133, 133, 133);"><br />

        <span class="style2">We are not affiliated nor partnered with Apple&reg; or any product, company, trademark or website.  
        To claim your prize, you may need to participate in third-party offers.  After you register, you may be shown optional third-party advertisements.  These advertisements are optional. Your privacy is important to us.  Please review our privacy policy prior to registering. </span><br />
        <br />
      <a href="terms.php" onClick="window.open('terms.php', 'Terms','width=550,height=500,scrollbars=yes,resizable=yes'); return false;">Terms of Use</a> -<a
      href="privacy.php" onClick="window.open('privacy.php', 'Terms','width=550,height=500,scrollbars=yes,resizable=yes'); return false;"> Privacy Policy</a><br>
    </span></p>
  </div></center> 
    </div>

    

    
</body>

</html>

cor-el moo ko soppali ci

more options

You can disable the onbeforeunload script with this bookmarklet code.

javascript:void(window.onbeforeunload=null); void(window.onunload=null);
more options

cor-el, Thank you however..... I am unfamiliar with how to implement your suggestion as a Firefox user. Searching the help files returned nothing. Will you elaborate for me? Thank you!

more options

You can create a bookmark and paste the code in the location field of that bookmark to have easy access.

See also:

more options

Thank you for the additional instruction. I did place the code provided into the URL of a bookmark. However, once on the page cited above, when I select the bookmark created which contains the code provided, nothing changes. The pirate page is still active and I am unable to escape it. I am still unable to escape the pirate page except by force quitting Firefox.