[Bug 216760] [NEW] page not recognized script joined

alaixi alaixih at gmail.com
Sun Apr 13 12:17:08 UTC 2008


Public bug reported:

Binary package hint: firefox

A secured page isn't possible readen the page belove appears instead.


var isUnix = false;
var isLinux = false;
var isMacintoshPPC = false;
var isMacintosh68K = false;
var isWindows95 = false;
var isWindows98 = false;
var isWindowsNT= false;
var isWindows3x = false;
var isNew = false;
var isIE = false;
var isIE4 = false;
var isIE5 = false;
var isNetscape = false;
var isNetscape4 = false;
var isNetscape6 = false;
var userAgent = navigator.userAgent.toLowerCase();
var appName = navigator.appName;
var appVersion = parseInt(navigator.appVersion);
var platform = (navigator.platform).substring (0, 5);

if (appVersion > 5) isNew = true;
else if (appName == "Netscape") {
	isNetscape = true;
	if (appVersion == 4) isNetscape4 = true;
	else if (appVersion == 5) isNetscape6 = true;
}
else if (appName == "Microsoft Internet Explorer") {
	isIE = true;
	if (msieversion() == 4) {isIE4 = true;}
	if (msieversion() == 5) {isIE5 = true;}
}

function msieversion() {
	var ua = window.navigator.userAgent
	var msie = ua.indexOf ( "MSIE " )
	if ( msie > 0 ) return parseInt (ua.substring (msie+5, ua.indexOf (".", msie )))
	else return 0;
}
if ( ( userAgent.indexOf("win95") !=-1) || ( userAgent.indexOf("windows 95") !=-1) ) isWindows95 = true;
if ( ( userAgent.indexOf("win98") !=-1) || ( userAgent.indexOf("windows 98") !=-1) ) isWIndows98 = true;
if ( ( userAgent.indexOf("winnt") !=-1) || ( userAgent.indexOf("windows nt") !=-1) ) isWindowsNT= true;
if ( ( userAgent.indexOf("win16") !=-1) || ( userAgent.indexOf("windows 3.1") !=-1) ) isWindows3x = true;
if ( navigator.appVersion.indexOf("Mac") != -1 ) {
	if ( userAgent.indexOf("pc)") !=-1 ) isMacintoshPPC = true;
	else isMacintosh68K = true;
}
if ( platform == "SunOS" ) isUnix = true;
else if ( platform == "HP-UX" ) isUnix = true;
else if ( platform == "IRIX " ) isUnix = true;
else if ( ( ( navigator.platform ).substring (0, 3) ) == "AIX" ) isUnix = true;
else if ( userAgent.indexOf("linux") != -1 ) isLinux = true;

if(isIE || isIE4 || isIE5) ie=true;
else ie=false;
if(isMacintoshPPC || isMacintosh68K) mac=true;
else mac=false;
if(isWindowsNT) nt=true;
else nt=false;
if(isUnix || isLinux) unix=true;
else unix=false;
if(navigator.appVersion.indexOf("MSIE") != -1 && navigator.appVersion.indexOf("5.5") != -1) ie5_5=true;
else ie5_5=false;


function netscapeCssFix() {
	if (document.windowProperties.initWindowWidth != window.innerWidth || document.windowProperties.initWindowHeight != window.innerHeight) { document.location = document.location; }
}

function netscapeCssFixInit() {
	if (isNetscape4) {
		if (typeof document.windowProperties == 'undefined') {
			document.windowProperties = new Object;
			document.windowProperties.initWindowWidth = window.innerWidth;
			document.windowProperties.initWindowHeight = window.innerHeight;
		}
	window.onresize = netscapeCssFix;
	window.onscroll = netscapeCssFix;
	}
}

netscapeCssFixInit();


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function JumpMenu(selObj){
	var theUrl = selObj.options[selObj.selectedIndex].value;
	if (theUrl == "")
		return;
	eval("document.location='"+theUrl+"'");
}


function JumpMenuHttp(selObj){
	var theUrl = selObj.options[selObj.selectedIndex].value;
	if (theUrl == "")
		return;
	window.open(theUrl);
}

function getCookie(Name) {   
	var search = Name + "=";
	if (document.cookie.length > 0) {
		offset = document.cookie.indexOf(search);
		if (offset != -1) {
			offset += search.length;
			end = document.cookie.indexOf(";", offset);
			if (end == -1) end = document.cookie.length;
			return unescape(document.cookie.substring(offset, end));
		}    
	}
}

function verifBuySell(imgpath,isin) {
	//setCookie("indicateur","000000000000000000000000O711");
	var indic=getCookie("indicateur");
	if (!indic) indic=getCookie("indicateur_qlf");
	if (!indic) indic="000000000000000000000000N710";
	if (indic.substring(24)=="O711") {
		//alert(indic.substring(24));
		document.write('	<td align="right" valign="top"><a href="/videoposte/bourse/frame_bourse/ordreBourse.ea?destination=Vente&code_valeur='+isin+'" target="frame_bourse"><img src="'+imgpath+'achat.gif" alt="Acheter" width="101" height="24" align="absmiddle" border="0"></a></td>');
		document.write('	<td width="30" height="30"> </td>');
		document.write('	<td align= "left" valign="top"><a href="/videoposte/bourse/frame_bourse/ordreBourse.ea?destination=Achat&code_valeur='+isin+'" target="frame_bourse"><img src="'+imgpath+'vente.gif" alt="Vendre" width="101" height="24" align="absmiddle" border="0"></a></td>');
	}
	else {
		document.write('<td></td><td width="30"> </td><td></td>');
	}
}

/**
 *
 * @param Link Objet HREF
 * @param name Nom de la fenetre
 */
function ouvrirPopUp(Link, name) {
	window.open(Link.href,name,'menubar=no,scrollbars,toolbar=no,location=no,directories=no,status=yes,RESIZABLE=YES,width=390,height=400');
	return false;
}

ProblemType: Bug
Architecture: i386
Date: Sun Apr 13 14:09:59 2008
DistroRelease: Ubuntu 7.10
NonfreeKernelModules: fglrx
Package: firefox 2.0.0.13+1nobinonly-0ubuntu0.7.10
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux david-laptop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
page not recognized script joined
https://bugs.launchpad.net/bugs/216760
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list