Welcome To Snipplr
Everyone's Recent Snippets Tagged google
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
You must use Google friendly domain redirect in these cases:
You changed a domain name for your web page and want the old one to redirect visitors to a new one.
You have many domains for your website (one primary and many alternative).
You want to...
1
481
posted 13 years ago by RM
This simply php function will retrieve the links of the images from Google Images searched with a keyword. The function just calls images.google.it and parse the html to find the url of the images, in this case the urls are stored in the javascript,...
0
2414
posted 13 years ago by ginoplusio
<a href="http://www.bestgooglekeywordtool.com">google keyword tool</a>
0
548
posted 13 years ago by uraq
Just a blank example where you replace the xxxxx figure with your tracking code
1
436
posted 13 years ago by wanderlusts
Avoid *.js upload confusions. Use http://code.google.com/apis/ajaxlibs/
0
509
posted 13 years ago by ialexs
Place the following code in header.php before the call to wp_head().
(If you do not include the exact version number when calling libraries from Google's AJAX Libraries API, a redirect is used to pull up the most current version. While this is han...
3
793
posted 13 years ago by chrisdpratt
Use this userstyle with Fluid for a sweet desktop Google Voice application.
0
438
posted 13 years ago by schlaeps
The Google search URL accepts two fields, `as_oq` and `as_eq`, which give additional required or forbidden keywords for the search. This allows to create search forms which add preset keywords. In the search form below, one of the keywords test, re...
0
560
posted 13 years ago by deepsoul
This function calculates distance with the Haversine formula, this formula assumes that our Earth is spherical, but it isn’t since it’s more like a big orange fruit also compresses at poles. I’ve read that this function has an error about + o â...
3
5184
posted 13 years ago by ginoplusio
When you show the coordinates of a point, it’s sometimes better to show them as degrees and not as deciaml (even if decimal is simpler). Each of the two coordinates can be converted with the same function. In the function call the “tipo†is the...
1
614
posted 13 years ago by ginoplusio
I’ve made a ruler to measure distances on a Google Map V3. The file Ruler.js contains a two function: one to calculate the distance between two points on the map with their position expressed in decimal degrees, and one function that add the ruler....
1
1023
posted 13 years ago by ginoplusio
Simple example of using Google's API for contacts to display the contact name and phone number. More info in the comments.
0
423
posted 13 years ago by PhilK
In order to track links out Google requires you add this snippet of JavaScript to your anchor(a) tag. Replace /G1/example.com with whatever you want to use to identify the link.
1
550
posted 13 years ago by smoothdzion