Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged browser



« Prev 1 2
Скрипт "Материализатор", снабжающий сочным подтекстом любой текст. Выкладываю здесь, поскольку ссылки на [оригинальном сайте](http://lleo.me/dnev...
0 718 posted 13 years ago by certainlyakey
This will get the arguments on the query string and put them into a handy array.
0 966 posted 13 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 1018 posted 13 years ago by reverend
Automatically use jQuery to Open External Links in New Window (checking domain first).
3 1140 posted 13 years ago by mindshare
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2 903 posted 14 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 1109 posted 14 years ago by bryanlyman
0 670 posted 14 years ago by smashu
Adds a browser and operating system class to your HTML Tag.
1 923 posted 14 years ago by smoothdzion
Very easy to use JS Calendar Control with so many customization options.
0 760 posted 15 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 847 posted 15 years ago by danielfilho
bring back the old browser detection
1 1096 posted 15 years ago by localhorst
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 1355 posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6 935 posted 16 years ago by chrisaiv
Modified just a bit. This version includes the Google Chrome beta.
2 876 posted 16 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 798 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 1132 posted 17 years ago by 1man
A great script that will serve up stylesheets based on browser viewport size.
5 1144 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 919 posted 18 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 679 posted 18 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 1027 posted 18 years ago by rolandog
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0 1255 posted 18 years ago by MyKey_
« Prev 1 2