Ver Mensaje Individual
Antiguo 23/06/2011, 16:55   #21
Voyager
Hasta el infinito...
 
Avatar de Voyager
 
Fecha de ingreso: 23/dic/2002
Mensajes: 31.222
Voyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foroVoyager Leyenda viva del foro
Cita:
Iniciado por SilverCrest Ver mensaje
el problema no es de FF, ni tampoco de VBScript, puesto que telefonica.net, usa javascript...echando un vistazo al codigo, he encontrado esto...

Código PHP:
this.isIE navigator.appName.toLowerCase().indexOf("microsoft internet explorer") != -1;
this.isFF3 navigator.userAgent.toLowerCase().indexOf("firefox/3") != -1;
this.isFF4 navigator.userAgent.toLowerCase().indexOf("firefox/4") != -1
.
.
.
.
.
this.getElementsByTagName = function(tagNamerefElmnt){
    if(!
refElmnt)
        
refElmnt this.req.responseXML;
    if(
this.isIE || this.isFF3 || this.isFF4)
        
tagName "cp:"+tagName;
    return 
refElmnt.getElementsByTagName(tagName);
}; 
la solucion es rapida y facil...

Código PHP:
this.isIE navigator.appName.toLowerCase().indexOf("microsoft internet explorer") != -1;
this.isFF3 navigator.userAgent.toLowerCase().indexOf("firefox/3") != -1;
this.isFF4 navigator.userAgent.toLowerCase().indexOf("firefox/4") != -1
this.isFF5 navigator.userAgent.toLowerCase().indexOf("firefox/5") != -1;
.
.
.
.
.
this.getElementsByTagName = function(tagNamerefElmnt){
    if(!
refElmnt)
        
refElmnt this.req.responseXML;
    if(
this.isIE || this.isFF3 || this.isFF4 || this.isFF5)
        
tagName "cp:"+tagName;
    return 
refElmnt.getElementsByTagName(tagName);
}; 
o esto...

Código:
this.isIE = navigator.appName.toLowerCase().indexOf("microsoft internet explorer") != -1;
this.isFF3 = navigator.userAgent.toLowerCase().indexOf("firefox/3") != -1;
this.isFF4 = /firefox\/[4-5]/.test(navigator.userAgent.toLowerCase()); 
.
.
.
.
.
this.getElementsByTagName = function(tagName, refElmnt){
    if(!refElmnt)
        refElmnt = this.req.responseXML;
    if(this.isIE || this.isFF3 || this.isFF4)
        tagName = "cp:"+tagName;
    return refElmnt.getElementsByTagName(tagName);
};
un saludo.
Esas no suelo usarlas porque no tengo correo en Tfonica, pero la pagina de movistar, para hacer redirecciones de llamadas... y cosas interna, utiliza llamadas a VbScript (que es mas "bonito") y en Firefox no va... o al menos era asi hace un mes cuando usaba esa pagina para cambiar mis servicios sin llamar al 609 y aguantar al inutil del operador de turno...
__________________
"Aquel que es cruel con los animales se vuelve tosco en su trato con los hombres. Se puede juzgar el corazón de un hombre por su trato a los animales."
(Inmanuel Kant)
Voyager está desconectado
Respuesta rápida a este mensaje
Responder Citando Subir