Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged browser
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Скрипт "Материализатор", Ñнабжающий Ñочным подтекÑтом любой текÑÑ‚. Выкладываю здеÑÑŒ, поÑкольку ÑÑылки на [оригинальном Ñайте](http://lleo.me/dnev...
0
720
posted 13 years ago by certainlyakey
This will get the arguments on the query string and put them into a handy array.
0
974
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
1029
posted 13 years ago by reverend
Automatically use jQuery to Open External Links in New Window (checking domain first).
3
1150
posted 13 years ago by mindshare
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2
908
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
1115
posted 14 years ago by bryanlyman
Adds a browser and operating system class to your HTML Tag.
1
925
posted 14 years ago by smoothdzion
Very easy to use JS Calendar Control with so many customization options.
0
763
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
855
posted 15 years ago by danielfilho
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8
1362
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6
941
posted 16 years ago by chrisaiv
Modified just a bit. This version includes the Google Chrome beta.
2
881
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
805
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
1141
posted 17 years ago by 1man
A great script that will serve up stylesheets based on browser viewport size.
5
1151
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
924
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
687
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
1035
posted 18 years ago by rolandog
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0
1264
posted 18 years ago by MyKey_