Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged browser



« Prev 1 2
Скрипт "Материализатор", снабжающий сочным подтекстом любой текст. Выкладываю здесь, поскольку ссылки на [оригинальном сайте](http://lleo.me/dnev...
0 575 posted 12 years ago by certainlyakey
This will get the arguments on the query string and put them into a handy array.
0 751 posted 12 years ago by brownrl
Will produce output like this: <html> ... </html> <html> ... </html> Target in CSS like this: html[data-useragent*='Chrome/13.0'] .nav {background:url(img/radial_grad.png) center bottom no-repeat;} or html[data-useragent*=...
0 835 posted 12 years ago by reverend
Automatically use jQuery to Open External Links in New Window (checking domain first).
3 902 posted 13 years ago by mindshare
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2 747 posted 13 years ago by thiswayup
A browser friendly way to trigger an event on an element. This is just a simple snippet which doesn\'t really explain the detailed contents of an event object, but it gives an idea of the differences between specific browsers. This function will fire...
0 929 posted 14 years ago by bryanlyman
0 524 posted 14 years ago by smashu
Adds a browser and operating system class to your HTML Tag.
1 761 posted 14 years ago by smoothdzion
Very easy to use JS Calendar Control with so many customization options.
0 621 posted 14 years ago by design2develop
Enable jQuery on any website, just clicking on a bookmarklet with this code. Or drag & drop this on your bookmark bar: <a href="javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs...
4 692 posted 14 years ago by danielfilho
bring back the old browser detection
1 886 posted 15 years ago by localhorst
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 1114 posted 15 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6 736 posted 15 years ago by chrisaiv
Modified just a bit. This version includes the Google Chrome beta.
2 732 posted 15 years ago by wizard04
Note that the comment is part of the code here. IE 5+ (including Mac) will evaluate to true by using conditional compilation.
0 622 posted 16 years ago by cczona
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 929 posted 17 years ago by 1man
A great script that will serve up stylesheets based on browser viewport size.
5 928 posted 17 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 743 posted 17 years ago by jonhenshaw
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 559 posted 17 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 847 posted 17 years ago by rolandog
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0 1047 posted 17 years ago by MyKey_
« Prev 1 2