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 
        
        
            2264 
        
                    posted 13 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 
        
        
            2367 
        
                    posted 13 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 
        
        
            1093 
        
                    posted 13 years ago by jsturtevant
            Simple class to retrieve an ID using a URL of the Youtube
        
        
        
            0 
        
        
            1967 
        
                    posted 13 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 
        
        
            1647 
        
                    posted 13 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 
        
        
            1223 
        
                    posted 13 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 
        
        
            2222 
        
                    posted 13 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 
        
        
            1593 
        
                    posted 13 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 
        
        
            2378 
        
                    posted 13 years ago by StevenW721
            Shows you the full contents of any file at any time in history
        
        
        
            0 
        
        
            1469 
        
                    posted 13 years ago by therobot
            
