Closed
Bug 134561
Opened 22 years ago
Closed 20 years ago
de.lgservice.com - blocks Mozilla server-side
Categories
(Tech Evangelism Graveyard :: English Other, defect, P3)
Tech Evangelism Graveyard
English Other
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: phartmann, Unassigned)
References
()
Details
(Whiteboard: [eurocontest][havefix][havecontact])
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win95; de-AT; rv:0.9.9+) Gecko/20020331 BuildID: 2002033109 Reproducible: Always Steps to Reproduce: 1. Goto URL 2. On top you see a menu. 3. When moving the mouse over "Produkt-Unterstützung"(=product support) or "Kundendienst" (=Service) nothing happen. Actual Results: No submenu is visible ! Expected Results: Both menu points should show an additional horizontal submenu. JRE2 v. 1.3.1_02 plugins are active. Netscape 4.78 and IE 5.5 show this submenu.
Comment 1•22 years ago
|
||
they're using dreamweaver it seems the code does the following (a) browser doesn't have document.layers so it must not be netscape (b) browser doesn't have document.all so it must not be IE (c) so nothing will be done -> evang
Assignee: rogerl → piskozub
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Europe: Central
Ever confirmed: true
OS: Windows 95 → All
Product: Browser → Tech Evangelism
QA Contact: pschwartau → pali
Version: other → unspecified
Comment 2•22 years ago
|
||
It's Germany. Therefore -> Europe: West
Assignee: piskozub → nitot
Component: Europe: Central → Europe: West
QA Contact: pali → caillon
Comment 3•22 years ago
|
||
sorry. i was never good at geography =) (and no i'm not american :-P)
ok here are the instructions to get it work : in the top main frame, which should be located at : http://de.lgservice.com/bin/HPI/HpiHomeMenu.exe?SysCode=HPI&serviceKind=1 they are using DW javascript code. replace the MM_showHideLayers() function with this one : function MM_showHideLayers() { var i, visStr, args, theObj; args = MM_showHideLayers.arguments; for (i=0; i<(args.length-3); i+=4) { visStr = args[i+3]; if (navigator.appName == 'Netscape' && document.layers != null) { theObj = eval(args[i]); if (theObj) theObj.visibility = visStr; } //netscape else if (document.all != null) { //IE if (visStr == 'show') visStr = 'visible'; //convert vals if (visStr == 'hide') visStr = 'hidden'; theObj = eval(args[i+1]); if (theObj) theObj.style.visibility = visStr; } else // 1 2 3 DOM { if (visStr == 'show') visStr = 'visible'; //convert vals if (visStr == 'hide') visStr = 'hidden'; theObj = eval(args[i+2]); if (theObj) theObj.style.visibility = visStr; } } } Then, in the html code, the arguments of each MM_showHideLayers() call needs to be changed like that : MM_showHideLayers('document.layers[\'Layer1\']', 'document.all[\'Layer1\']', 'document.getElementById(\'Layer1\')', 'hide','document.layers[\'Layer2\']','document.all[\'Layer2\']', 'document.getElementById(\'Layer2\')', 'show','document.layers[\'Layer3\']','document.all[\'Layer3\']', 'document.getElementById(\'Layer3\')', 'hide')" this is easier than it sound, just add " 'document.getElementById(\'LayerX\')', " after each " 'document.all[\'LayerX\']', ". Enjoy :)
Comment 5•22 years ago
|
||
Mat, you must not understand ... These people use a macromedia product to generate their pages, hence the MM prefix on the functions. It would be pointless for the webmaster to change it by hand since next time the page was generated it would have the bad code again. There's already bugs filed to evangelize macromedia products.
actually, i believe macromedia products are pretty much fixed (or close to it). the problem is, for sites such as this (lg , big company, etc), a lot of money would have been spent on creating it, and i doubt they'll want to spend money updating again. we have to help them so it won't take all that much time to do so - do the work for them where possible, even.
So this bug should be marked as a dependency for http://bugzilla.mozilla.org/show_bug.cgi?id=51020 (which blocks http://bugzilla.mozilla.org/show_bug.cgi?id=57456) ...
Whiteboard: [eurocontest]
Updated•22 years ago
|
Summary: mozilla does not show sub menu of web page → de.lgservice.com : mozilla does not show sub menu of web page
Comment 8•22 years ago
|
||
contact info, in german : http://de.lgservice.com/bin/HPI/HpiHomeMain.cgi
Whiteboard: [eurocontest] → [eurocontest][havefix][havecontact]
Comment 9•22 years ago
|
||
anyone can send a german evang letter ?
Updated•22 years ago
|
Severity: major → critical
Priority: -- → P2
Comment 10•22 years ago
|
||
http://de.lgservice.com/bin/HPI/HpiHomeMain.exe no longer exists (404 error) http://de.lgservice.com/ runs a script that sets a cookie then redirects to http://de.lgservice.com/bin/HPI/HpiHomeMain.cgi http://de.lgservice.com/bin/HPI/HpiHomeMain.cgi apparently does server-side sniffing, and sends Mozilla (also Curl and Lynx) the following code: <HTML><BODY> <SCRIPT>top.location.replace('/index.html');</SCRIPT> </BODY></HTML> MSIE receives a company web page. How rude!
Severity: critical → major
Priority: P2 → P3
Hardware: PC → All
Summary: de.lgservice.com : mozilla does not show sub menu of web page → de.lgservice.com - blocks Mozilla server-side
Comment 12•21 years ago
|
||
en other default owner
Assignee: nitot → english-other
QA Contact: z-caillon-obsolete2 → english-other
Comment 13•20 years ago
|
||
WFM now, they have changed to JSP and they let in both FF 0.9.2 and IE in the same. Closing.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•