Tuesday, February 10, 2009

Just a little evil ...

You don't often catch the guys at Google out but here is a little snippet from my "iGoogle" screen earlier in the day:

if (1) {_gel("GM39threads").style.display = "block";}var GM39 = {req_count : 0,MSG_show_preview : 'Show preview',MSG_hide_preview : 'Hide preview',TPL_label_no_unread :'Inbox',TPL_label_unread :'Inbox (%NUM_UNREAD%)' +'',TPL_label_suffix :' ' +'' +'%SHOWHIDE_MSG%' +'',TPL_compose_mail :' ' +'Compose Mail',TPL_thread : '
' +'

' +'%DATE%
' +'' +'%SENDERS%%MESSAGE_COUNT%' +' - %SUBJECT% - ' +'%SNIPPET%' +'' +'
',MAP_CONTAINS_UNREAD_MESSAGES_ : 'b',MAP_DATE_ : 'c',MAP_ERROR_MSG_ : 'd',MAP_HEX_THREAD_ID_ : 'e',MAP_MESSAGE_COUNT_ : 'h',MAP_NUM_UNREAD_ : 'i',MAP_SENDERS_ : 'k',MAP_SUBJECT_ : 'l',MAP_SNIPPET_ : 'm',MAP_THREADS_ : 'n',msg : function(txt) {if (txt == 'promo') {_gel('GM39noaccount').style.display = 'block';_gel('GM39msg').style.display = 'none';} else {_gel('GM39noaccount').style.display = 'none';_gel('GM39msg').style.display = 'block';_gel('GM39statusmsg').innerHTML = txt;}_gel('GM39display').style.display = 'none';},init : function(opt_force) {var gmailjson_url = _gmail_json_url || '/ig/gmailjson';_sendx(gmailjson_url + '?hl=en&' +'et=q12L78FH&' +'url=http%3A//www.google.co.uk/ig%3Fhl%3Den&' +'cnt=' + GM39.req_count + '&' +'val=5',GM39.render);},togglePreview : function() {var threads = _gel('GM39threads');var visible = (threads.style.display != 'none')?1:0;_gel('GM39showhidemsg').innerHTML =GM39[visible ? 'MSG_show_preview' : 'MSG_hide_preview'];threads.style.display = visible ? 'none' : 'block';_xsetp('m_39_sv='+(1-visible));},render : function(data) {if (!data || data == '' ||data.length <= 27 ||data.charAt(27) != '{') {GM39.msg('Information is temporarily unavailable.');return;}var obj = eval('(' + data.substring(27) + ')');if (obj[GM39.MAP_ERROR_MSG_] &&obj[GM39.MAP_ERROR_MSG_] != '') {GM39.msg(obj[GM39.MAP_ERROR_MSG_]);return;}_gel('GM39msg').style.display = 'none';_gel('GM39noaccount').style.display = 'none';_gel('GM39display').style.display = 'block';var tpl = (obj[GM39.MAP_NUM_UNREAD_] > 0) ?GM39.TPL_label_unread :GM39.TPL_label_no_unread;tpl += GM39.TPL_label_suffix;tpl = tpl.replace(/\%NUM_UNREAD\%/g,obj[GM39.MAP_NUM_UNREAD_]);var threads = _gel('GM39threads');var hidden = (threads.style.display == 'none')?1:0;tpl = tpl.replace(/\%SHOWHIDE_MSG\%/g, hidden ?GM39.MSG_show_preview :GM39.MSG_hide_preview);tpl += GM39.TPL_compose_mail;var div

I don't actually see anything particularly sensitive in there but somebody who actually can spell DBA might know better.

No comments:

 
HTTP Error 403: You are not authorised to access the file "\real_name_and_address.html" on this server.

(c) 'Surreptitious Evil' 2006 - 2017.