Navegador https://cdn1.keopx.net/ es Detectar navegador con jQuery https://cdn1.keopx.net/blog/detectar-navegador-con-jquery <span>Detectar navegador con jQuery</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Bueno esto es otra librería de jquery para detectar el navegador. Últimamente estoy metiendo muchas horas en esto que jamas me ha gustado, javascript, pero que últimamente me ha salvado de muchos browns. La verdad que jQuery facilita muchas de mis tareas y añadiendo algunas librerías, pues aporta mucha practica visual a los desarrollos web, aunque como siempre he opinado y creo que seguiré opinando por tiempo, considero inseguro.</p> <p>En este caso os presento jQBrowser:</p> <h3>Uso</h3> <p>Deteccion de navegador</p> <p><code>var browser = $.browser.browser(); // the detected browser (defaults to 'Unknown')</code></p> <p><code>// The following functions return a boolean value indicating whether or not the given browser was detected:<br /> var aol = $.browser.aol(); // AOL Explorer<br /> var camino = $.browser.camino(); // Camino<br /> var firefox = $.browser.firefox(); // Firefox<br /> var flock = $.browser.flock(); // Flock<br /> var icab = $.browser.icab(); // iCab<br /> var konqueror = $.browser.konqueror(); // Konqueror<br /> var mozilla = $.browser.mozilla(); // Mozilla<br /> var msie = $.browser.msie(); // Internet Explorer Win / Mac<br /> var netscape = $.browser.netscape(); // Netscape<br /> var opera = $.browser.opera(); // Opera<br /> var safari = $.browser.safari(); // Safari</code></p> <p><strong>Deteccion de version</strong></p> <p>$.browser.version.string() returns the full browser version string detected, while <code>$.browser.version.number() attempts to wrangle that string into a usable number.<br /> alert( "You're using version " + $.browser.version.string() ); // defaults to 'Unknown'<br /> if( $.browser.version.number() &gt; 1.5 ) { // defaults to undefined<br /> // Do something...<br /> }</code></p> <p>Descarga:</p> <p><a href="http://www.keopx.net/wp-content/uploads/2009/07/jqbrowser.tar.gz">jqbrowser.tar.gz</a></p> <p>Web:</p> <p><a href="http://davecardwell.co.uk/javascript/jquery/plugins/jquery-browserdetect/">http://davecardwell.co.uk/javascript/jquery/plugins/jquery-browserdetect/</a></p> <p> </p> </div> <span><span>keopx</span></span> <span><time datetime="2009-07-29T17:22:41+02:00" title="Miércoles, Julio 29, 2009 - 17:22">Mié, 29/07/2009 - 17:22</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/jquery" hreflang="es">jQuery</a></div> <div class="field__item"><a href="/categoria/javascript" hreflang="es">JavaScript</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/javascript" hreflang="es">JavaScript</a></div> <div class="field__item"><a href="/tag/navegador" hreflang="es">Navegador</a></div> <div class="field__item"><a href="/tag/jquery" hreflang="es">jQuery</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=119&amp;2=field_comments&amp;3=comment" token="lw1gR6iRh37I6-QuBDTIhl5A-1op8zhKaOI_q1t7IjQ"></drupal-render-placeholder> </div> </div> </section> Wed, 29 Jul 2009 15:22:41 +0000 keopx 119 at https://cdn1.keopx.net