Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-11-2012, 03:39 PM   PM User | #1
gabsillis
New Coder

 
Join Date: Sep 2012
Posts: 15
Thanks: 4
Thanked 0 Times in 0 Posts
gabsillis is an unknown quantity at this point
Exclamation Google source code?

I was looking at the source code of websites to learn more about techniques that people use do design websites and I came across the google source code by pressing ctr+U. Can anyone decipher this?
I'll only include part of it since it's so long

Code:
<!doctype html><html itemscope="itemscope" itemtype="http://schema.org/WebPage"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noodp" name="robots"><meta itemprop="image" content="/images/google_favicon_128.png"><title>Google</title><script>(function(){
window.google={kEI:"phLGUIqkFo2e8gSHt4HIDw",getEI:function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||google.kEI},https:function(){return"https:"==window.location.protocol},kEXPI:"31215,35702,39523,39976,40363,3300005,3300116,3300125,3300132,3300135,3300137,3300139,3310017,3310052,4000116,4000473,4000566,4000604,4000955,4001042,4001372,4001417,4001569,4001959,4001966,4002000,4002036,4002048,4002161,4002234,4002240,4002263,4002348,4002359,4002391,4002436,4002460,4002510,4002543,4002562,4002710,4002733,4002757,4002770,4002773,4002786,4002789,4002807,4002868,4002883",kCSI:{e:"31215,35702,39523,39976,40363,3300005,3300116,3300125,3300132,3300135,3300137,3300139,3310017,3310052,4000116,4000473,4000566,4000604,4000955,4001042,4001372,4001417,4001569,4001959,4001966,4002000,4002036,4002048,4002161,4002234,4002240,4002263,4002348,4002359,4002391,4002436,4002460,4002510,4002543,4002562,4002710,4002733,4002757,4002770,4002773,4002786,4002789,4002807,4002868,4002883",ei:"phLGUIqkFo2e8gSHt4HIDw"},authuser:0,ml:function(){},pageState:"#",kHL:"en",time:function(){return(new Date).getTime()},log:function(a,
b,c,j){var d=new Image,f=google.lc,e=google.li,g="";d.onerror=d.onload=d.onabort=function(){delete f[e]};f[e]=d;!c&&-1==b.search("&ei=")&&(g="&ei="+google.getEI(j));c=c||"/gen_204?atyp=i&ct="+a+"&cad="+b+g+"&zx="+google.time();a=/^http:/i;a.test(c)&&google.https()?(google.ml(Error("GLMM"),!1,{src:c}),delete f[e]):(d.src=c,google.li=e+1)},lc:[],li:0,j:{en:1,l:function(){google.fl=!0},e:function(){google.fl=!0},b:!!location.hash&&!!location.hash.match("[#&]((q|fp)=|tbs=simg|tbs=sbi)"),bv:21,cf:"",
pm:"p",pl:[],mc:0,sc:0.5,u:"9bfe27e9"},Toolbelt:{},y:{},x:function(a,b){google.y[a.id]=[a,b];return!1}};
window.onpopstate=function(){google.j.psc=1};for(var h="ad api bc is p pa ac pc pah ph sa sifp slp spf spn xx zc zz".split(" "),i=0,k;k=h[i++];)(function(a){google.j[a]=function(){google.j.pl.push([a,arguments])}})(k);
window.chrome||(window.chrome={}),window.chrome.sv=2.00,window.chrome.searchBox||(window.chrome.searchBox={}),window.chrome.searchBox.onsubmit=function(){google.x({id:"psyapi"},function(){var a=encodeURIComponent(window.chrome.searchBox.value);google.nav.search({q:a,sourceid:"chrome-psyapi2"})})};})();
window.google.sn="webhp";window.google.timers={};window.google.startTick=function(a,b){window.google.timers[a]={t:{start:(new Date).getTime()},bfr:!(!b)}};window.google.tick=function(a,b,c){if(!window.google.timers[a])google.startTick(a);window.google.timers[a].t[b]=c||(new Date).getTime()};google.startTick("load",true);try{window.google.pt=window.chrome&&window.chrome.csi&&Math.floor(window.chrome.csi().pageT);}catch(u){}
(function(){'use strict';var d=null,j=this;var l="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent);var q="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent),r=/\s*;\s*/,t=function(h){var c=s;if(!c.h.hasOwnProperty(h)){var p;p=function(b){var a;a:{a=h;"click"==a&&(l&&b.metaKey||!l&&b.ctrlKey)&&(a="clickmod");for(var u=b.srcElement||b.target,e=u;e&&e!=this;e=e.parentNode){var G=e,v,f=G;v=a;var w=f.__jsaction;if(!w){var w=f.__jsaction={},m=d;"getAttribute"in f&&(m=f.getAttribute("jsaction"));if(f=m)for(var f=f.split(r),m=0,p=f?f.length:0;m<p;m++){var k=f[m];if(k){var g=k.indexOf(":"),n=-1!=g,x=n?k.substr(0,g).replace(/^\s+/,"").replace(/\s+$/,""):"click",k=n?k.substr(g+1).replace(/^\s+/,"").replace(/\s+$/,""):k;w[x]=k}}}if(v=w[v]){a={eventType:a,event:b,targetElement:u,action:v,actionElement:G};break a}}a=d}a&&(b.stopPropagation?b.stopPropagation():b.cancelBubble=!0,"A"==a.actionElement.tagName&&"click"==h&&(b.preventDefault?b.preventDefault():b.returnValue=!1),c.d?c.d(a):(u=a,b=(e=j.document)&&!e.createEvent&&e.createEventObject?e.createEventObject(b):b,u.event=b,c.c.push(a)))};var g;g=function(b){var a=h,c=p,e=!1;if(b.addEventListener){if("focus"==a||"blur"==a)e=!0;b.addEventListener(a,c,e)}else if(b.attachEvent){"focus"==a?a="focusin":"blur"==a&&(a="focusout");var g=c,c=function(a){a||(a=window.event);return g.call(b,a)};b.attachEvent("on"+a,c)}return{i:a,k:c,capture:e}};c.h[h]=p;c.g.push(g);for(var n=0;n<c.a.length;++n){var x=c.a[n];x.c.push(g.call(d,x.a))}}},z=function(){this.a=y;this.c=[]};var s=new function(){this.g=[];this.a=[];this.h={};this.d=d;this.c=[]},A=s,y=window.document.documentElement,B;a:{for(var C=0;C<A.a.length;C++){for(var D=A.a[C].a,E=y;D!=E&&E.parentNode;)E=E.parentNode;if(D==E){B=!0;break a}}B=!1}if(!B){q&&(y.style.cursor="pointer");for(var F=new z,H=0;H<A.g.length;++H)F.c.push(A.g[H].call(d,F.a));A.a.push(F)}t("click");t("clickmod");t("focus");t("focusin");t("blur");t("focusout");t("change");t("mousedown");t("mouseout");t("mouseover");t("mouseup");t("touchstart");t("touchmove");t("touchend");var I=function(h){var c=s;c.d=h;c.c&&(0<c.c.length&&h(c.c),c.c=d)},J=["google","jsad"],K=j;!(J[0]in K)&&K.execScript&&K.execScript("var "+J[0]);for(var L;J.length&&(L=J.shift());)!J.length&&void 0!==I?K[L]=I:K=K[L]?K[L]:K[L]={};}).call(window);google.arwt=function(a){a.href=document.getElementById(a.id.substring(1)).href;return!0};</script><style>#gb{font:13px/27px Arial,sans-serif;height:102px}#gbz,#gbg{position:absolute;white-space:nowrap;top:0;height:30px;z-index:1000}#gbz{left:0;padding-left:4px}#gbg{right:0;padding-right:5px}#gbs{background:transparent;position:absolute;top:-999px;visibility:hidden;z-index:998}.gbto #gbs{background:#fff}#gbx3,#gbx4{background-color:#2d2d2d;background-image:none;_background-image:none;background-position:0 -138px;background-repeat:repeat-x;border-bottom:1px solid #000;font-size:24px;height:29px;_height:30px;opacity:1;filter:alpha(opacity=100);position:absolute;top:0;width:100%;z-index:990}#gbx3{left:0}#gbx4{right:0}#gbb{position:relative}#gbbw{left:0;position:absolute;top:102px;width:100%}.gbtcb{position:absolute;visibility:hidden}#gbz .gbtcb{right:0}#gbg .gbtcb{left:0}.gbxx{display:none !important}.gbxo{opacity:0 !important;filter:alpha(opacity=0) !important}.gbm{position:absolute;z-index:999;top:-999px;visibility:hidden;text-align:left;border:1px solid #bebebe;background:#fff;-moz-box-shadow:-1px 1px 1px rgba(0,0,0,.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.gbrtl .gbm{-moz-box-shadow:1px 1px 1px rgba(0,0,0,.2)}.gbto .gbm,.gbto #gbs{top:51px;visibility:visible}#gbz .gbm,#gbz #gbs{left:0}#gbg .gbm,#gbg #gbs{right:0}.gbxms{background-color:#ccc;display:block;position:absolute;z-index:1;top:-1px;left:-2px;right:-2px;bottom:-2px;opacity:.4;-moz-border-radius:3px;filter:progid:DXImageTransform.Microsoft.Blur(pixelradius=5);*opacity:1;*top:-2px;*left:-5px;*right:5px;*bottom:4px;-ms-filter:"progid:DXImageTransform.Microsoft.Blur(pixelradius=5)";opacity:1\0/;top:-4px\0/;left:-6px\0/;right:5px\0/;bottom:4px\0/}.gbma{position:relative;top:-1px;border-style:solid dashed dashed;border-color:transparent;border-top-color:#c0c0c0;display:-moz-inline-box;display:inline-block;font-size:0;height:0;line-height:0;width:0;border-width:3px 3px 0;padding-top:1px;left:4px}#gbztms1,#gbi4m1,#gbi4s,#gbi4t{zoom:1}.gbtc,.gbmc,.gbmcc{display:block;list-
gabsillis is offline   Reply With Quote
Old 12-11-2012, 03:43 PM   PM User | #2
tempz
Regular Coder

 
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
tempz is an unknown quantity at this point
Google code their products in Python, www.google.com is a portal for many, many different Google products the source would be long. There isn't any point looking at unless you found a bug.

Facebook if you find security threats and tell them they will reward you with around $1000-$10000 depend on what you have found.

If you want to learn techniques you're better off looking at coding forums such as this one and watching coding videos via YouTube make sure the video is up to date though.

You don't want to be learning out dated programming.

Last edited by tempz; 12-11-2012 at 03:47 PM..
tempz is offline   Reply With Quote
Old 12-12-2012, 09:48 AM   PM User | #3
cartergarth
New Coder

 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
cartergarth is an unknown quantity at this point
Quote:
source code of websites to learn more about techniques that people use do design websites
w3cshools and tizag can help you through out. Or other tutorial in YouTube
__________________
TakingYouForward - BPO Company | Call Center Philippines
cartergarth is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:48 PM.


Advertisement
Log in to turn off these ads.