Welcome To Snipplr


Everyone's Recent Snippets Tagged google



1 ... 4 5 6 7 8
Must be inside <body> tag
0 872 posted 15 years ago by crs
XHTML 1.0 Strict deprecates the use of iframes in favor of objects. While this has gotten a lot of flack, iframes were never truly a part of HTML, just a proprietary element in Internet Explorer that eventually got universal support. Objects are a mo...
0 992 posted 15 years ago by chrisdpratt
Below are two functions I've been using to make event tracking a little easier in CodeIgniter. Two functions are available, google_analytics() & track_event(). google_analytics() takes one argument and uses it as the UA code for your tracking p...
5 1373 posted 15 years ago by brettbergeron
Make sure you change the variable v_ga_track near the end of the script.
0 752 posted 15 years ago by chrisjlee
Detects all external/outgoing links, adds class, & adds target = _blank. When using a strict doctype, this method is valid when using target manipulation.
1 716 posted 15 years ago by dsntos
Include this in any page you want to track for Google bot crawls. Adapt it to your needs (eg: MySQL log instead of e-mail announcement, etc).
9 898 posted 15 years ago by NyX
lookup the google page rank of a website from python. Uses the same interface that the Google Toolbar uses to get the value.
0 1075 posted 15 years ago by halotis
0 665 posted 15 years ago by erichus
returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.
2 713 posted 15 years ago by mocha0range
This is to prevent duplicate content when your provider directs your http://domain.com to the same place as http://www.domain.com
1 770 posted 15 years ago by zartgesotten
1 702 posted 15 years ago by kokikr
Use inType=0 and feed in a specific Google Maps URL to parse out the GeoCoords from the URL e.g. http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=53154&sll=37.0625,-95.677068&sspn=52.505328,80.507812&ie=UTF8&ll=42.858224,-88.000832&spn=0....
4 2642 posted 15 years ago by blackf0rk
1 874 posted 15 years ago by kokikr
I convert the google pr fetch code from php to actionscript.
2 882 posted 15 years ago by zhengrenchi
3 721 posted 15 years ago by petterdr
This function will parse out the Google Maps coordinates from a Google Maps link url like this one: http://maps.google.com/?ie=UTF8&ll=43.068888,-87.978516&spn=23.565589,33.925781&t=h&z=5. The coordinates in this URL are 43.068888,-87.978516.
0 1080 posted 15 years ago by blackf0rk
Simple jQuery snippet for cleanly and automatically setting up your google analytics
4 915 posted 15 years ago by garside
Here's a short program to print a list of all of the documents in your Google Documents account
0 589 posted 15 years ago by hemanthhm
1 ... 4 5 6 7 8