469,356 Members | 1,973 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

How does gmail hide the javascript?

Just curious, what techniques does gmail leverage to hide the
javascript code that their service uses to work? I've tried View
Source here and there in the page without much luck.

I have no interest (you have to trust me on this one) of hacking it or
anything, I'm just curious.

Mathias
Jul 23 '05 #1
19 4396


Barman Brakjoller wrote:
Just curious, what techniques does gmail leverage to hide the
javascript code that their service uses to work? I've tried View
Source here and there in the page without much luck.


There is a frameset with two frames which has
<frameset rows="100%, *">
or similar meaning the second frame is hidden. That frame contains most
of the script being used but at least how it arrives here it is badly
unformatted, I guess they compress it before sending it to the browser.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
On 8 Sep 2004 06:00:18 -0700, Barman Brakjoller wrote:
Just curious, what techniques does gmail ..
What's that? URL?

This, perhaps?
<https://gmail.google.com/>
..leverage to hide the
javascript code
...check the first line.

If that is 'hidden', they failed.
that their service uses to work? I've tried View
Source here and there in the page without much luck.
...apparently that page I mentioned is not
the one, right?

Give us an URL. **
I have no interest (you have to trust me on this one) ...
*
Mathias


* Posting under the name 'Barman Brakjoller'
while signing your post 'Mathias' hardly
inspires my confidence in your identity,
let alone your sincerity. Is there some
news-reader configuration quirk in there,
somewhere?

** If this page is only seen once you log
in, the URL will need to include your password..
But then, I would not mess with your email
(you have to trust me on this one). ;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #3
In article <nt****************************@40tude.net>,
Se********@www.invalid enlightened us with...

* Posting under the name 'Barman Brakjoller'
while signing your post 'Mathias' hardly
inspires my confidence in your identity,
let alone your sincerity.
Because "kaeli" is my real name and all...

Many of us choose to obfuscate our identities a bit on the 'net.
Doesn't mean we're all automatically going to be doing bad things.
Kinda like you never use a valid mail addy in your postings, some of us like
to add a bit more and use nicknames or handles for things online.

Not that I have a whole ton of ethics or anything, myself. I'm just sayin'.
Is there some
news-reader configuration quirk in there,
somewhere?


He posted from Google. So, no. ;)

--
--
~kaeli~
Reading while sunbathing makes you well red.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #4
(snip)

All good points kaeli, I got a bit carried away.

[ ..and I get confused (OK.. irritated as well)
when the name at the top does not match the name
at the bottom. How are you supposed to address
the person? Is there a convention? ]

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #5
Andrew Thompson wrote:
(snip)

All good points kaeli, I got a bit carried away.

[ ..and I get confused (OK.. irritated as well)
when the name at the top does not match the name
at the bottom. How are you supposed to address
the person? Is there a convention? ]


Typically, if there is no other indication, use the name in the post. It
tends to be a better indication. But then again, thats my real name in
my From: so I can't say :)

I know that when I was using AOL to post with, I had my first name in
the post, but my name wasn't in the From:. Either way, I answer to
Randy, Hikk, HikksNotAtHome, Dummy and Dumb-ass so I still can't answer :-)

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #6
On Wed, 08 Sep 2004 13:19:37 GMT, Andrew Thompson
<Se********@www.invalid> wrote:
On 8 Sep 2004 06:00:18 -0700, Barman Brakjoller wrote:

** If this page is only seen once you log
in, the URL will need to include your password..
But then, I would not mess with your email
(you have to trust me on this one). ;-)


gmail does nothing special to hide their script, it's compressed, it's
reasonably competent although a little odd choices in the
communication. if any of the normal folk need invites, email me...

Jim.
Jul 23 '05 #7
On Wed, 08 Sep 2004 12:58:49 -0400, Randy Webb wrote:
Randy, Hikk, HikksNotAtHome, Dummy and Dumb-ass so I still can't answer :-)


I am referred to, by many names as well
...most of which I do *not* answer to. ;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #8
On Wed, 08 Sep 2004 16:59:21 GMT, Jim Ley wrote:
On Wed, 08 Sep 2004 13:19:37 GMT, Andrew Thompson wrote:

** If this page is only seen once you log
in, the URL will need to include your password..
But then, I would not mess with your email
(you have to trust me on this one). ;-)


gmail does nothing special to hide their script, it's compressed, it's
reasonably competent although a little odd choices in the
communication. if any of the normal folk need invites, email me...


I ..do hope the OP realises I was joking in
that quoted paragraph. The more I read it, the
less confident I am, that I made that clear. :-(

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #9
In article <1o*****************************@40tude.net>,
Se********@www.invalid enlightened us with...
(snip)

All good points kaeli, I got a bit carried away.

[ ..and I get confused (OK.. irritated as well)
when the name at the top does not match the name
at the bottom. How are you supposed to address
the person? Is there a convention? ]


Well, I'd address them as they signed it. Especially seeing as how things
like Google and other posting helper sites (as opposed to real NG readers)
make you use a real mail addy and handle and all. For my Google account (my
server doesn't have the alt groups), it makes me use a real addy, so I use a
throw-away yahoo one I never even check. So, I'd just address someone as they
signed it if they signed it differently than it's posted as.

More and more people are using websites to hit Usenet. They don't even really
know what Usenet IS. They think they're using a website. They can't configure
a reader to use a particular name or even multi-post or follow-up or whatnot.
I've noticed all the multi-posts I've seen lately have come from websites,
which doesn't make it easy to cross-post (and some provide no mechanism at
all to do so b/c of spammers). I get very irritated by multi-posts, so that
was something I was checking out before I bit off someone's head. ;)
--
--
~kaeli~
Black holes were created when God divided by 0.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #10
In article <ql****************************@40tude.net>,
Se********@www.invalid enlightened us with...
I ..do hope the OP realises I was joking in
that quoted paragraph. The more I read it, the
less confident I am, that I made that clear. :-(


Well, *I* knew you were and found it pretty amusing, if that helps. *grins*

--
--
~kaeli~
Black holes were created when God divided by 0.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #11
On Wed, 8 Sep 2004 13:33:52 -0500, kaeli wrote:
I've noticed all the multi-posts I've seen lately have come from websites,
which doesn't make it easy to cross-post (and some provide no mechanism at
all to do so b/c of spammers).
It would not seem to be rocket science
for the sites to limit it to three x-posts.
Better than causing posters to multi-post
out of frustration.
..I get very irritated by multi-posts, so that
was something I was checking out before I bit off someone's head. ;)


I'll have to keep that in mind as well, I
both depise multi-posting and (most of)
the 'web-portals' to Usenet.

One more reason to encourage* every poster
that has the ability to post through
news-reader software, to use that instead.

( * Keeping in mind, of course, that it
is simply not an option for some posters. )

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #12
On Wed, 8 Sep 2004 13:34:42 -0500, kaeli wrote:
Well, *I* knew you were and found it pretty amusing, if that helps. *grins*


:) it does.

And to Mathias. Before you go getting *too*
offended at my rather odd sense of humor, you
might check kaeli's other post in which he
pointed out the complete lack of logic I displayed
in the comment I made about your posting name.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #13
Andrew Thompson wrote:
On Wed, 8 Sep 2004 13:34:42 -0500, kaeli wrote:

Well, *I* knew you were and found it pretty amusing, if that helps. *grins*

:) it does.

And to Mathias. Before you go getting *too*
offended at my rather odd sense of humor, you
might check kaeli's other post in which he


Last time I called Kaeli a "he", "she" 'net-slapped me but good :)
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #14
On Wed, 08 Sep 2004 17:29:20 -0400, Randy Webb wrote:
Last time I called Kaeli a "he", "she" 'net-slapped me but good :)


D'Oooh! What a *dolt*!

...I am usually careful to leave out any
reference to gender when I am not sure
from the name.

My apologies, kaeli!

( My defense, pathetic as it is, is that
while most women can 'forgive and forget'
an incorrect gender assignation, a man
would *never* forget.. )

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #15
Well, I'm not that offended now that I read all posts... :)

I know my way around both USENET (I use GNUS in Emacs to read news)
*and* gateways like google groups. The reason I sign my posts with my
real surname is that it is more personal than my dummy spam-account
Barman Brakjoller. As most of you probably figured out.

And, to answer my own question, to get the gmail javasource,, take view
source, look for a link at the end of the code with /gmail/view... or
something like that, and paste that into the address field after
gmail.google.com. You will get an "empty" page that contains all the
yummy source where you can get nice ideas about how to do stuff. In my
case I am interested in keyboard control of web pages.

/Mathias aka Barman Brakjoller
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #16
In article <zm****************************@40tude.net>,
Se********@www.invalid enlightened us with...
On Wed, 08 Sep 2004 17:29:20 -0400, Randy Webb wrote:
Last time I called Kaeli a "he", "she" 'net-slapped me but good :)


D'Oooh! What a *dolt*!

..I am usually careful to leave out any
reference to gender when I am not sure
from the name.

My apologies, kaeli!

( My defense, pathetic as it is, is that
while most women can 'forgive and forget'
an incorrect gender assignation, a man
would *never* forget.. )


*ROFLMAO*

How very, very true.

And, for the record, I am indeed a girl.
You know, I thought the little tildes in my sig might help that. I mean, what
guy would sign their name like that, eh?
Oh, well. Maybe I need a little ASCII flower in there or something. *grins*
How about...

@--<--<

*heh*
Okay, I'm no artist.
I don't even really like flowers.

--
--
~kaeli~
Join the Army, meet interesting people, kill them.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #17
On 09 Sep 2004 13:11:48 GMT, Mathias Dahl wrote:

(Names)
..As most of you probably figured out.


yeh.. (silly grin) 'Some of us' are
a bit slower than others, though..

Glad you sorted the problem! :-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #18
On Thu, 9 Sep 2004 08:21:08 -0500, kaeli wrote:
Oh, well. Maybe I need a little ASCII flower in there or something.
For you, kaeli, (I hope this link
works, site still v. experimental..)
<http://www.lensescapes.com/photo/displayimage.php?album=20&pos=0>

Your understanding is appreciated.
@--<--<

*heh*


LOL! No!

I got it through my head now, and
...let others figure it out. ;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #19
In article <1m****************************@40tude.net>,
Se********@www.invalid enlightened us with...
On Thu, 9 Sep 2004 08:21:08 -0500, kaeli wrote:
Oh, well. Maybe I need a little ASCII flower in there or something.


For you, kaeli, (I hope this link
works, site still v. experimental..)
<http://www.lensescapes.com/photo/displayimage.php?album=20&pos=0>


Cute.
Maybe I'll make one of those into an X-Face instead of having the kitty cat.

*laughs*

--
--
~kaeli~
The man who fell into an upholstery machine is fully
recovered.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #20

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by dmiller23462 | last post: by
10 posts views Thread by oLE | last post: by
2 posts views Thread by MOHSEN KASHANI | last post: by
3 posts views Thread by robbiehenry | last post: by
4 posts views Thread by bridgemanusa | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.