RabidSquirrel.net Forum Index RabidSquirrel.net
RabidSquirrel's Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to view the GMail javascript code

 
Post new topic   Reply to topic    RabidSquirrel.net Forum Index -> G-Mailto Questions/Comments/Etc
View previous topic :: View next topic  
Author Message
RabidSquirrel
Site Admin


Joined: 14 Mar 2004
Posts: 102
Location: California

PostPosted: Wed Jun 23, 2004 6:47 pm    Post subject: How to view the GMail javascript code Reply with quote

In case any of you are interested in looking at their code, here is how to get it:

You can view the GMail javascript code by logging in to GMail and doing a view-source. Inside that source you should see a link near the bottom that looks like this:
/gmail?view=page&name=js&ver=9b13d59dd3d703c3

now just add gmail.google.com in front of that and load the page up. After it loads, just do another view-source to see it all. You might want to find a code beautifier like Jalopy to make their JS code more readable.

Although I used one of the many plugins for jEdit to beautify the code. I dont remember which one unfortunately.


Oh and If any of you make any neat discoveries in there, please let me know Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Guest






PostPosted: Thu Jun 24, 2004 12:57 am    Post subject: Reply with quote

function CM_NewMailtoWindow(mailto_url){var url=U_MailtoToComposeURL(mailto_url);Popup(top,url,"");}

???
Back to top
RabidSquirrel
Site Admin


Joined: 14 Mar 2004
Posts: 102
Location: California

PostPosted: Thu Jun 24, 2004 1:01 am    Post subject: Reply with quote

Anonymous wrote:
function CM_NewMailtoWindow(mailto_url){var url=U_MailtoToComposeURL(mailto_url);Popup(top,url,"");}

???


Yeah already discovered that:
http://www.rabidsquirrel.net/forum/viewtopic.php?t=40

It'll probably work for what I'm trying to do. I'd really like to not have it pop-up though. If you can find a way to just have it go to the normal compose window you'd be my hero.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
farmerBob
Guest





PostPosted: Thu Jun 24, 2004 9:11 am    Post subject: Reply with quote

I can't get the source, which page do you do the original view source from?
Back to top
farmerBob
Guest





PostPosted: Thu Jun 24, 2004 9:19 am    Post subject: Reply with quote

nevermind, got it but not by doing a "view source" after login in, that didn't work. The version number isat the bottom ofthe IE status bar.
Back to top
farmerBob
Guest





PostPosted: Thu Jun 24, 2004 9:32 am    Post subject: Reply with quote

no need for downloading any fancy pretty printer like Jalopy, you can get it done online thanks to: http://www.prettyprinter.de/index.php

It generated roughly 14000 lines (I turned on the option to add comment lines in from of functions and what not, yours could be shorter Smile )
Back to top
Display posts from previous:   
Post new topic   Reply to topic    RabidSquirrel.net Forum Index -> G-Mailto Questions/Comments/Etc All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group

JCPenny Coupons
Conference Call Services
Banana Republic Coupon Codes
MCET




"