ford.com.pl - Not all content visible/working on Flash site

RESOLVED FIXED

Status

--
major
RESOLVED FIXED
16 years ago
4 years ago

People

(Reporter: hjtoi-bugzilla, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Compare this site in IE and Mozilla with a Flash plugin. With Mozilla you only
get the page footer.

I gaven't investigated the issue, but my first guess is that the site is
scripting the Flash plugin in a way that is not supported by us, hence trying
Evangelism at first.
Quitting Evangelism due to lack of time...
Assignee: nikolai → nobody
This also should be in Europe: Central, NOT "East".
->Central, then
Assignee: nobody → piskozub
Component: Europe: East → Europe: Central
QA Contact: momoi → pali

Comment 4

16 years ago
Accepting.

The site is using VisualBasic script to open the Flash animation for Internet
Explorer (VBscripts are supported (luckily) only by IE as they are inherently
unsafe) and a plugin for browsers with "Netscape" in the User Agent (UA) string.

This means that Mozilla (which does not have "Netscape" in its UA string will ot
be served the Flash animation in any form.

The script is so bad that even Netscape7 is not recognised as Netscape. I'm not
yet sure why. I suspect it is the plugin detection part.

===== Listing of http://www.ford.com.pl//firefly/cpr/scripts/incFlashCheck.js :

var flashState;
flashState = false;
if (navigator.appName == "Netscape" && navigator.plugins){
numPlugins = navigator.plugins.length;
if (numPlugins > 0){
for (i = 0; i < numPlugins; i++){
plugin = navigator.plugins[i];
if (plugin.description.indexOf("Flash 5") != -1){
flashState = true;
}
if (plugin.description.indexOf("Flash 4") != -1){
flashState = true;
}
if (plugin.description.indexOf("Flash 3") != -1){
flashState = true;
}
}
}
}
if (navigator.appName != "Netscape"){
y = navigator.appVersion
y = parseFloat(y.substring(0, y.indexOf('(')))
document.write('<SCRIP' + 'T LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('flashState =
(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
document.write('flashState =
(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
document.write('flashState =
(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
document.write('</S' + 'CRIPT\> \n');
}

====== end of listing

Status: NEW → ASSIGNED
OS: Windows 2000 → All
Priority: -- → P1
Hardware: PC → All

Comment 5

16 years ago
Correction: 

Mozilla gives does give back "Netscape" as navigator.appName (I checked). So the
fault is probably in the plugin detection code.
Target Milestone: --- → May

Comment 6

16 years ago
It seems the method described above is never used. 

The navigator detection is supposed to be done here:
http://www.ford.com.pl/firefly/cpr/scripts/incBrowserCheck.js

var s_bN;
var s_bVM;
var s_bVM90;
var s_bL;
var s_bSH;
var s_bSW;
tempBrowserName = navigator.userAgent.toLowerCase();
if (tempBrowserName.indexOf("msie") != -1){
s_bN = "MSIE";
}
else if ((tempBrowserName.indexOf('mozilla')!=-1) &&
(tempBrowserName.indexOf('spoofer')==-1) &&
(tempBrowserName.indexOf('compatible') == -1) &&
(tempBrowserName.indexOf('opera')==-1) && (tempBrowserName.indexOf('webtv')==-1)){
s_bN = "NAV";
}
else {
s_bN = "undefine";
}
if (s_bN == "NAV"){
s_bVM = parseInt(navigator.appVersion);
s_bVM90 = parseFloat(navigator.appVersion);
}
if (s_bN == "MSIE"){
tempBrowserVersion = navigator.appVersion;
x = tempBrowserVersion.indexOf("MSIE");
y = tempBrowserVersion.indexOf(";",x);
s_bVM = parseInt(tempBrowserVersion.substring(x+4,y));
s_bVM90 = parseFloat(tempBrowserVersion.substring(x+4,y));
}

while the Flash availability for Netscape is allegedly done here:
http://www.ford.com.pl/firefly/cpr/index.asp?NavID=home&PageID=&SiteVerID=21&LangID=44

// detection for Netscape
var useFlash;

var testFlash = navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;


if (testFlash){
	useFlash =
parseInt(testFlash.description.substring(testFlash.description.indexOf(".")-1))
>= 6;
	if ( useFlash ) {  
	
	}	
	else {
		useFlash =
parseInt(testFlash.description.substring(testFlash.description.indexOf(".")-1))
>= 5;
			
		if (useFlash){
		
			useFlash =
parseInt(testFlash.description.substring(testFlash.description.indexOf("r")+1))
>= 41;

		}
	     }
	}

if ( useFlash ) {  
	start();
	}
else {  
	top.parent.center.location.replace("/firefly/spg/spg.asp?page=Flash_redir&SiteVerID=21&LangID=44&Firefly=true&purehtml=true");
}
//-->

I'll have to run the code with the Venkman debugger when I find time to see what
goes wrong.

Comment 7

16 years ago
I'll try do do this bug before the end of this month.
Target Milestone: May → Jun

Comment 8

16 years ago
tech evang june 2003 reorg
Component: Europe: Central → Polish
Target Milestone: Jun → ---

Updated

16 years ago
Target Milestone: --- → Jun

Comment 9

16 years ago
Giving this bug back to the community ;-)
Assignee: piskozub → polish
Status: ASSIGNED → NEW
QA Contact: pali → polish

Updated

16 years ago
Priority: P1 → --
Target Milestone: Jun → ---

Comment 10

16 years ago
The dutch site http://www.ford.nl has the issues. I opened bug 226577 for that.
Site has been redesigned, the new version works in Gecko browsers.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.