Welcome To Snipplr


Everyone's Recent Snippets Tagged browser



1 2 3 4 Next »
This handy little script will allow you to detect whether or not a user is running FireFox as their browser.
0 293 posted 12 years ago by aristoworks
2 309 posted 12 years ago by iTony
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 604 posted 13 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6 366 posted 13 years ago by chrisaiv
Modified just a bit. This version includes the Google Chrome beta.
2 386 posted 13 years ago by wizard04
When you klick a link in Firefox... there is a dotted outline. Hide it with outline:none.
0 278 posted 13 years ago by FlashJunior
Bugfix/Lösungsvorschlag: Es ist offensichtlich, dass die Zelle mit der ID cell3467 und dem definierten "margin-right: 3.09%" falsch berechnet wird - nämlich mit realen 16 Pixeln anstatt 8 - und auf den obersten Basis-Wert der "DIV width" zurück...
1 368 posted 13 years ago by bassdas
Note that the comment is part of the code here. IE 5+ (including Mac) will evaluate to true by using conditional compilation.
0 338 posted 13 years ago by cczona
„Versioning and Cross-document InteractionInternet Explorer 8 introduces the IE8 standards mode by default—this lets Web designers use the latest rendering features available in Internet Explorer 8. In addition to layout changes, IE8 standards mo...
3 475 posted 13 years ago by localhorst
2 355 posted 13 years ago by smartalec
From the TextMate HTML bundle
1 315 posted 13 years ago by heinz1959
There must also be a JavaScript function defined in the containing HTML page: function makePopup(url,pop_name,width,height) { window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes"); }
1 351 posted 14 years ago by Bonky
echo ( browser_detection( 'number' ) .''. browser_detection( 'browser' ) .''. browser_detection( 'os' ) .''. browser_detection( 'os_number' ) ); Outputs (browser version, browser, os, os number): 1.5 moz nt 5.1 if ( ( browser_de...
2 453 posted 14 years ago by llbbl
This getURL uses javascript to set the browser size.
2 349 posted 14 years ago by mswallace
3 384 posted 14 years ago by soxiam
This functions allows you to create a new XMLHTTPRequest, it checks to see if the browser supports each method, if not it returns false.
4 479 posted 14 years ago by 1man
A great script that will serve up stylesheets based on browser viewport size.
5 460 posted 14 years ago by aznprncritic
A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari. Copy this script into your JavaScript files. It works immedi...
1 376 posted 15 years ago by jonhenshaw
Heres how to use print_r(browser_detection('full')); We can also use this script print "IP: ". $_SERVER['REMOTE_ADDR'].""; ### IP ADDRESS ## print "Browser:" . $_SERVER["HTTP_USER_AGENT"].""; ## Browser print "OS: ". $_ENV["OS"]; ### OS
8 373 posted 15 years ago by mail_json
Support: Fx2, Opera9, IE6 I don't have warrant of Safari's run and NN4. However, I think that this code is perhaps safe.
3 311 posted 15 years ago by kif
This is a way to determine if the browser uses the KHTML engine or if it is the Konqueror Browser.
2 429 posted 15 years ago by rolandog
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0 535 posted 15 years ago by MyKey_
Detects the browser and its version.
99 2893 posted 15 years ago by MyKey_
1 2 3 4 Next »