Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This will return the value of "param" form the URI. For example if you have
www.example.com/index.html?param=some_value
it will return "some_value".
NOTE! This only works if you use Prototype JavaScript framework.
0
876
posted 12 years ago by srka
Create custom web clip icons or "app logos" in various sizes to be displayed (instead of the default site snapshot) when users save your site to their Home screens. Across Safari iOS devices.
Add in the <head> in the same place you call your norm...
0
915
posted 12 years ago by beneberle
Properties that can be set are found here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/cde669f1-5714-4159-af95-f334251c8cbd.mspx?mfr=true
0
697
posted 12 years ago by jsturtevant
Simple class to retrieve an ID using a URL of the Youtube
0
1177
posted 12 years ago by leandroperes
A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.
0
1069
posted 12 years ago by luizlopes
This snippet can be used to redirect the user to a different page (launch-page index.html) using only HTML
0
808
posted 12 years ago by sommertim
Helps to manage console.log debug in js when broswing in IE. If alertFallback is enabled, you can see js alerts appears of vars tracked.
0
859
posted 12 years ago by Simounet
By not being limited to provide certain arguments/parameters in right order when calling a function, makes the function more versatile and easier to extend without breaking old code (e.g. calls to the function).
One solution is to pass an associati...
0
989
posted 12 years ago by coprolit
Calling generateHash() with a single argument (the plain text password) will cause a random string to be generated and used for the salt. The resulting string consists of the salt followed by the SHA-1 hash - this is to be stored away in your databas...
3
906
posted 12 years ago by StevenW721
Shows you the full contents of any file at any time in history
0
886
posted 12 years ago by therobot