Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/04/2013, 04:57
Avatar de dontexplain
dontexplain
 
Fecha de Ingreso: junio-2012
Mensajes: 536
Antigüedad: 11 años, 10 meses
Puntos: 127
Respuesta: Eliminar etiquetas HTML para el vanegador de firefox

Podría servirte este código

Código Javascript:
Ver original
  1. nav = (function(){
  2.   var N= navigator.appName, ua= navigator.userAgent, tem;
  3.   var M= ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
  4.   if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1];
  5.   M= M? [M[1], M[2]]: [N, navigator.appVersion,'-?'];
  6.   return M;
  7.  })();

IE ha añadido a su agente de usuario Mozilla para no perder cuota.

Un saludo.
__________________
21añero.
HTML/CSS, PHP, JS/jQuery, Mysql; NodeJS/Socket.io (& V8); C++ ; Python (wxpy); Ensamblador.
Músico (clarinetista/pianista) y compositor