What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » How do they do it!

How do they do it!
Author: Message:
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: How do they do it!
well :P

they didnt manage to do that with FireFox

quote:
<html>

<script type=text/javascript>
<!--
  var start_time = (new Date()).getTime();
// -->
</script>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Welcome to Gmail</title>

<style type=text/css>
<!--
body,td,div,p,a,font,span {font-family: arial,sans-serif}
body {margin-top:2}

.c {width: 4; height: 4}

.bubble {background-color:#C3D9FF}

.tl {padding: 0; width: 4; text-align: left; vertical-align: top}
.tr {padding: 0; width: 4; text-align: right; vertical-align: top}
.bl {padding: 0; width: 4; text-align: left; vertical-align: bottom}
.br {padding: 0; width: 4; text-align: right; vertical-align: bottom}

.form-noindent {background-color: #ffffff; border: #C3D9FF 1px solid}

// -->
</style>
<script type=text/javascript src="https://mail.google.com/mail?view=page&name=browser"></script>
<script type=text/javascript>
<!--

if (top.location != self.location) {
  top.location = self.location.href;
}

function SetGmailCookie(name, value) {
  document.cookie = name + "=" + value + ";path=/;domain=.google.com";
}

function lg() {
  var now = (new Date()).getTime();

  var cookie = "T" + start_time + "/" + start_time + "/" + now;
  SetGmailCookie("GMAIL_LOGIN", cookie);
}

function gaiacb_onLoginSubmit() {
  lg();
  if (!fixed) {
    FixForm();
  }
  return true;
}

function StripParam(url, param) {
  var start = url.indexOf(param);
  if (start == -1) return url;
  var end = start + param.length;

  var charBefore = url.charAt(start-1);
  if (charBefore != '?' && charBefore != '&') return url;

  var charAfter = (url.length >= end+1) ? url.charAt(end) : '';
  if (charAfter != '' && charAfter != '&') return url;

  if (charBefore == '&') {
    --start;
  } else if (charAfter == '&') {
    ++end;
  }
  return url.substring(0, start) + url.substring(end);
}

var fixed = 0;

function FixForm() {
  if (is_browser_supported) {
    var form = el("gaia_loginform");
    if (form && form["continue"]) {
      var url = form["continue"].value;
      url = StripParam(url, "ui=html");
      url = StripParam(url, "zy=l");
      form["continue"].value = url;
    }
  }
  fixed = 1;
}

function el(id) {
  if (document.getElementById) {
    return document.getElementById(id);
  } else if (window[id]) {
    return window[id];
  }
  return null;
}

var CP = [
[ 1136102400000, 2680 ],
[ 1149145200000, 2730 ],
[ 1167638400000, 2800 ]
];

var quota;

var ONE_PX = "https://mail.google.com/mail/images/c.gif?t=" +
             (new Date()).getTime();

function LogRoundtripTime() {
  var img = new Image();
  var start = (new Date()).getTime();
  img.onload = GetRoundtripTimeFunction(start);
  img.src = ONE_PX;
}

function GetRoundtripTimeFunction(start) {
  return function() {
    var end = (new Date()).getTime();
    SetGmailCookie("GMAIL_RTT", (end - start));
  }
}

function MaybePingUser() {
  var f = el("gaia_loginform");
  if (f.Email.value) {
    new Image().src = 'https://mail.google.com/mail?gxlu=' +
                      encodeURIComponent(f.Email.value) +
                      '&zx=' + (new Date().getTime());
  }
}

function OnLoad() {
  gaia_setFocus();

  MaybePingUser();
  el("gaia_loginform").Passwd.onfocus = MaybePingUser;

  LogRoundtripTime();
  if (!quota) {
    quota = el("quota");
    updateQuota();
  }

  LoadConversionScript();
}

function updateQuota() {
  if (!quota) {
    return;
  }

  var now = (new Date()).getTime();
  var i;
  for (i = 0; i < CP.length; i++) {
    if (now < CP[i][0]) {
      break;
    }
  }
  if (i == 0) {
    setTimeout(updateQuota, 1000);
  } else if (i == CP.length) {
    quota.innerHTML = CP[i - 1][1];
  } else {
    var ts = CP[i - 1][0];
    var bs = CP[i - 1][1];
    quota.innerHTML = format(((now-ts) / (CP[i][0]-ts) * (CP[i][1]-bs)) + bs);
    setTimeout(updateQuota, 1000);
  }
}

var PAD = '.000000';

function format(num) {
  var str = String(num);
  var dot = str.indexOf('.');
  if (dot < 0) {
     return str + PAD;
  } if (PAD.length > (str.length - dot)) {
    return str + PAD.substring(str.length - dot);
  } else {
    return str.substring(0, dot + PAD.length);
  }
}

var google_conversion_type = 'landing';
var google_conversion_id = 1069902127;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "FFFFFF";

function LoadConversionScript() {
  var script = document.createElement("script");
  script.type = "text/javascript";
  script.src = "https://www.googleadservices.com/pagead/conversion.js";
}

// -->

</script>

</head>
<body bgcolor=#ffffff link=#0000FF vlink=#0000FF onload="OnLoad()">

<table width=95% border=0 align=center cellpadding=0 cellspacing=0>
  <tr valign=top>
    <td width=1%><img src=https://mail.google.com/mail/help/images/logo1.gif border=0 width=143 height=59 alt=Gmail align=left vspace=10/></td>

    <td width=99% bgcolor=#ffffff valign=top>
      <table width=100% cellpadding=1>
        <tr valign=bottom>

          <td><div align=right>&nbsp;</div></td>
        </tr>
        <tr>
          <td nowrap=nowrap>
            <table width=100% align=center cellpadding=0 cellspacing=0 bgcolor=#C3D9FF style=margin-bottom:5>
              <tr>
                <td class="bubble tl" align=left valign=top><img src=https://mail.google.com/mail/images/corner_tl.gif class=c alt="" /></td>
                <td class=bubble rowspan=2 style="font-family:arial;text-align:left;font-weight:bold;padding:3 0"><b>Welcome to Gmail</b></td>

                <td class="bubble tr" align=right valign=top><img src=https://mail.google.com/mail/images/corner_tr.gif class=c alt="" /></td>
              </tr>
              <tr>
                <td class="bubble bl" align=left valign=bottom><img src=https://mail.google.com/mail/images/corner_bl.gif class=c alt="" /></td>
                <td class="bubble br" align=right valign=bottom><img src=https://mail.google.com/mail/images/corner_br.gif class=c alt="" /></td>
              </tr>
            </table>
          </td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<br>

<table width=94% align=center cellpadding=5 cellspacing=1>

  <tr>
      <td width=75% valign=top>

      <table width=100% border=0 cellpadding=5 cellspacing=1>

    <tr>
    <td><img src=/accounts/talk_bubbles.gif border=0 width=150 height=120 alt=""/></td>
    <td><font color=red><b>New!</b></font> <font color=#3366cc><b>Gmail chat is here</b></font><p><font size=-1>Chat with your friends from right inside Gmail. There's no need to load a separate program or look up new addresses. It's just one click to chat with the people you already email, as well as anyone on the Google Talk network. And now you can even save and search for chats in your Gmail account.  It's good to chat. <a href="http://mail.google.com/mail/help/intl/en/chat.html">Learn more</a></font></p></td>
    </tr>
    <tr>

    <td>&nbsp;</td>

    <td><br><font color=#3366cc><b>About Gmail</b></font>
    <p><font size=-1>Gmail is an experiment in a new kind of webmail, built on the idea that you should never have to delete mail and you should always be able to find the message you want.</font></p>
        <ul style="margin:0px 15px;padding:0px;color:#222222">
          <li>
            <p><font size=-1><b>Search, don't sort.</b><br>
             <font color=#000000>Use Google search to find the exact message you want, no matter when it was sent or received.</font></font></p>

          </li>
        </ul>
        <ul style="margin:0px 15px;padding:0px;color:#222222">
          <li>
            <p><font size=-1><b>Don't throw anything away.</b><br>
            <font color=#000000>Over <span id=quota>2000</span> megabytes (and counting) of free storage so you'll never need to delete another message.</font></font></p>

          </li>
        </ul>
<script>
<!--
quota = el("quota");
updateQuota();
// -->
</script>
        <ul style="margin:0px 15px;padding:0px;color:#222222">
          <li>
            <p><font size=-1><b>Keep it all in context.</b><br>
            <font color=#000000>Each message is grouped with all its replies and displayed as a conversation.</font></font></p>

          </li>
        </ul>

    </td>
    </tr>
    </table>

      <td valign=top>
        <!-- login box -->
        <table class=form-noindent cellspacing=3 cellpadding=5 width=100% bgcolor=#E8EEFA>

          <tr bgcolor=#E8EEFA>
            <td valign=top style=text-align:center nowrap=nowrap>

<div id=login>
                          <script type="text/javascript"><!--



function gaia_onLoginSubmit() {
  if (window.gaiacb_onLoginSubmit) {
    return gaiacb_onLoginSubmit();
  } else {
    return true;
  }
}

function gaia_setFocus() {
  var f = null;
  if (document.getElementById) {
    f = document.getElementById("gaia_loginform");
  } else if (window.gaia_loginform) {
    f = window.gaia_loginform;
  }
  if (f) {
    if (f.Email.value == null || f.Email.value == "") {
      f.Email.focus();
    } else {
      f.Passwd.focus();
    }
  }
}

//--> </script> <style type="text/css"><!--

      div.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }
      font.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; } 
  //--> </style>  <style type="text/css"><!--

.gaia.le.lbl { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.gaia.le.fpwd { font-family: Arial, Helvetica, sans-serif; font-size: 70%; }
.gaia.le.chusr { font-family: Arial, Helvetica, sans-serif; font-size: 70%; }
.gaia.le.val { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.gaia.le.button { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.gaia.le.rem { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }

   
  .gaia.captchahtml.desc { font-family: arial, sans-serif; font-size: smaller; }
  .gaia.captchahtml.cmt { font-family: arial, sans-serif; font-size: smaller; font-style: italic; }
 
//--> </style>       <!-- ServiceLoginElements.nui=logo -->  <div style="background:#E8EEFA" id="gaia_loginbox" class="body"> <form action="ServiceLoginAuth" onsubmit="return(gaia_onLoginSubmit());" id="gaia_loginform" method="post">  <input type="hidden" name="ltmpl" value="yj_blanco">   <input type="hidden" name="ltmplcache" value="2">  <table cellpadding="1" cellspacing="0" align="center" border="0" id="gaia_table">              <!-- LoginBoxLogoText.quaddamage=VERSION1 -->  <tr> <td colspan="2" align="center">  <font size="-1">  Sign in to  Gmail  with your  </font>               <!-- LoginBoxGoogleAccountLogo.retro=false -->  <table> <tr>  <td valign="top"> <img src="google_transparent.gif" alt="Google">   </td>  <td valign="middle"> <font size="+0"><b>Account</b></font> </td>  </tr> </table>     </td> </tr>                     <tr> <td colspan="2" align="center"> <div class="errorbox-good">  </div> </td> </tr> <tr> <td nowrap> <div align="right"> <span class="gaia le lbl"> Username: </span> </div> </td> <td>         <input type="hidden" name="continue" value="http://mail.google.com/mail?ui=html&amp;zy=l">      <input type="hidden" name="service" value="mail">                        <input type="hidden" name="rm" value="false">            <input type="hidden" name="ltmpl" value="yj_blanco">    <input type="hidden" name="hl" value="en">                                                        <input type="text" name="Email" value="" class="gaia le val" id="Email" size="18">  </td> </tr> <tr> <td></td> <td align="left">  </td> </tr> <tr> <td align="right"> <span class="gaia le lbl"> Password: </span> </td> <td> <input type="password" name="Passwd" class="gaia le val" id="Passwd" size="18"> </td> </tr> <tr> <td></td> <td align="left">  </td> </tr>   <tr> <td align="right" valign="top">      <input type="checkbox" name="PersistentCookie" value="yes">&nbsp; <input type="hidden" name="rmShown" value="1">  </td> <td> <span class="gaia le rem"> Remember me on this computer. </span> </td> </tr>                       <!-- LoginElementsSubmitButton.nui=default -->    <tr> <td></td> <td align="left"> <input type="submit" name="null" value="Sign in" class="gaia le button"> </td> </tr>      <tr id="ga-fprow"> <td colspan="2" align="center" height="33.0" valign="bottom" nowrap class="gaia le fpwd"> <a href="ForgotPasswd?continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl&amp;service=mail&amp;hl=en" target="_top">  Forgot your username or password?  </a> </td> </tr>        </table> </form> </div>   

</div>

<script>
<!--
FixForm();
// -->
</script>



        </table>
        <br>
        <table class=form-noindent cellpadding=0 width=100% bgcolor=#e8eefa>
            <tr bgcolor=#e8eefa>
              <td valign=top> <div align=center>

                <p><font size=-1><br>
                  Learn more <a href=http://mail.google.com/mail/help/intl/en/about.html>about Gmail</a>.<br>
                  <br>
                  Check out our <a href=http://mail.google.com/mail/help/intl/en/about_whatsnew.html>new features</a>!<br>
                  <br>
                  A few words about <a href=http://mail.google.com/mail/help/intl/en/about_privacy.html>Gmail&nbsp;and&nbsp;privacy</a>.<br>

                  <br>
                </font></p>
              </div>

        </table>

</table>
<br>
<table width=95% align=center cellpadding=3 cellspacing=0 bgcolor=#C3D9FF style=margin-bottom:5>
  <tr>
    <td class="bubble tl" align=left valign=top><img src=https://mail.google.com/mail/images/corner_tl.gif class=c alt=""/></td>

    <td class=bubble rowspan=2 style=text-align:left>
    <div align=center>
    <font size=-1 color=#666666>&copy;2006 Google - <a href=http://mail.google.com/mail/help/intl/en/privacy.html>Privacy Policy</a> - <a href=http://mail.google.com/mail/help/intl/en/program_policies.html>Program Policies</a> - <a href=http://mail.google.com/mail/help/intl/en/terms_of_use.html>Terms of Use </a>
    </font>
    </div>

    </td>
    <td class="bubble tr" align=right valign=top><img src=https://mail.google.com/mail/images/corner_tr.gif class=c alt="" /></td>
  </tr>
  <tr>
    <td class="bubble bl" align=left valign=bottom><img src=https://mail.google.com/mail/images/corner_bl.gif class=c alt="" /></td>
    <td class="bubble br" align=right valign=bottom><img src=https://mail.google.com/mail/images/corner_br.gif class=c alt="" /></td>
  </tr>
</table>

<noscript>
<img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/1069902127/extclk?script=0">

</noscript>

</body>
</html>

05-28-2006 05:14 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How do they do it! - by DJeX on 05-28-2006 at 04:59 AM
RE: How do they do it! - by prashker on 05-28-2006 at 05:14 AM
RE: How do they do it! - by rav0 on 05-28-2006 at 05:16 AM
RE: How do they do it! - by Mike on 05-28-2006 at 06:46 AM
RE: How do they do it! - by Mippo on 05-28-2006 at 08:33 AM
RE: How do they do it! - by rav0 on 05-28-2006 at 09:34 AM
RE: How do they do it! - by DJeX on 05-28-2006 at 08:10 PM
RE: How do they do it! - by Steven on 05-28-2006 at 08:28 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On