473,730 Members | 2,297 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4567


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.co m/>
..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.javas cript 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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
6927
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 JavaScript in this code from a couple different sites but I'm not 100% sure what each line is doing...This is the ASP code that I'm using for the page....Take a look at the JavaScript code and please let me know what each line is doing....I have been...
10
4654
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 with the javascript in a toggle fashion. the problem is a know very little javascript and have become incredibly frustrated because i went ahead thinking it was going to be like C. its not. I know i can use these lines to do the actual work:
0
3071
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 small width, about 740 pixels. When switching between show/hide with MSIE the "show" table wants to display about 960 pixels. If I set the outer table to ' style="table-layout: fixed;" ' then MSIE chooses to force the width to 960 pixels.
2
12189
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 { display: none; }
3
1610
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 Subject: javascript cycling graphic does not work on MAC IE Reply | Reply to Author | Forward | Print | Individual Message | Show original | Remove | Report Abuse I built this page for my company's corporate website
4
4229
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 I would really like to use linked images instead to do the following: - When open.gif is clicked, the contents of the div show and open.gif is swapped with close.gif - subsequently, when close.gif is clicked, the div contents get hidden
13
3557
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 some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
2
2145
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 visible - 'a100', 'a200', 'a300' for the first 'layer'; 'b100', 'b200', 'b300' for the second; 'c100, 'c200', 'c300' for the third ... etc I'm writing the javascript functions to hide and show the appropriate divs and its getting out of hand pretty...
42
2060
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 floating point is exact" Well, I can prove this is incorrect with this program: http://mynichecomputing.com/digitallearning/yourOwn.htm This a program that uses only integers, yet comes up short in its
0
8770
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9301
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9229
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8184
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6030
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4801
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3257
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.