473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 4536


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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
10
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide...
0
by: javaguy | last post by:
I have a table I hide show/hide through a pair of divs. The show/hide part works fine in both Mozilla and MSIE. When switching between the hide and show versions the Mozilla browser keeps them in...
2
by: MOHSEN KASHANI | last post by:
Hi, I am trying to hide some form elements in a form by default and show/hide depending on which radio button is clicked. This is what I have but it is not working: <head> <style> ..noshow {...
3
by: robbiehenry | last post by:
1. robbiehe...@gmail.com Sep 19, 1:48 pm show options From: robbiehe...@gmail.com - Find messages by this author Date: Mon, 19 Sep 2005 10:48:50 -0700 Local: Mon, Sep 19 2005 1:48 pm...
4
by: bridgemanusa | last post by:
Hi All: I have a very long page of html that I want to take portions and hide them in divs, then show when a link is clicked. I have the hide show part working when the link is clicked, however...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
2
by: dusk | last post by:
Hi, I have a page with lots of hidden divs which are revealed based on choices made at each 'layer'. So I've used naming convention which represents the order in which each div becomes...
42
by: lorlarz | last post by:
Contrary to what one authority in the JavaScript field says: JavaScript does make errors when dealing with just with integers. This authority (Douglas Crockford.) says: "integer arithmetic in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.