Re: Google and obfuscation
- From: dreamznatcher <artistography@xxxxxxxxx>
- Date: 28 May 2007 11:03:52 -0700
On May 28, 2:27 am, jeckab...@xxxxxxxxx wrote:
On May 27, 9:22 pm, David Dorward <dorw...@xxxxxxxxx> wrote:
On May 27, 8:14 pm, artistogra...@xxxxxxxxx wrote:
If obfuscation isn't all that good, why does Google obfuscate its
search results' code?
They don't. They just don't output lots of whitespace to make their
code more readable.
Could anyone out there decipher and normalize code for a Google search
result page?
Any DOM inspector (such as the one in Firebug) or HTML Tidy should do
the job.
Of course they do. Anyone having tried to read their javascript code
wouldn't ever say they don't obfuscate it. There are several reasons
for such thing, and of course that's not bad - they hide their code
(not because in such way you can't steal it, although they get that
too, but because they make it more difficult for users to try to use
it against their security), and second - they make their code smaller,
thus faster for Internet transmission - for someone having a decent
connection, that's not much, but Google gets tens of thousands hits
per second, so it's important to minimize transport load.
As for how they do it - that's really not so hard, you can easily make
a C program to obfuscate javascript easily just by replacing all the
non-keywords with a, b, c, ... z, a1, a2, ... so the code is smaller,
plus you can delete all necessary white space, and that's it.
Thanks. Ahem, not really much into C.. could you point me towards an
existing C program that does this? Now I think I could handle
understanding that from there.
.
- References:
- Google and obfuscation
- From: artistography
- Re: Google and obfuscation
- From: David Dorward
- Re: Google and obfuscation
- From: jeckab612
- Google and obfuscation
- Prev by Date: Re: JavaScript Variable Interpolation, Take II
- Next by Date: Re: Google and obfuscation
- Previous by thread: Re: Google and obfuscation
- Next by thread: Re: Google and obfuscation
- Index(es):
Relevant Pages
|