Orkut Trouble ... or is it FF kinks ?

Status
Not open for further replies.

Thor

Ambassador of Buzz
I am using v 2.0.0.3 of FF . I am also using the orkut Helper Extension.
Sometimes when I login to my Orkut A/c ...
the page shows me
Code:
// Copyright 2006 Google Inc.  All Rights Reserved.

function GTalk() {
  this.swfPath = "*www.orkut.com/talk/datastore2.swf";
  this.objectName = 'gtalksettings';
  this.objectHolder = 'gtalkObjHolder';
}

GTalk.isInstalled = false;
GTalk.version = 0;
GTalk.callback = null;

/**
 * Callback used by other javascripts that need to know if gtalk is installed
 */
GTalk.addCallback = function(callback) {
  var oldCallback = GTalk.callback;
  if (typeof GTalk.callback != 'function') {
    GTalk.callback = callback;
  } else {
    GTalk.callback = function() {
      if (oldCallback) {
        oldCallback();
      }
      callback();
    }
  }
}

/**
 * Flash callback - sets 'installed' flag on chat link
 */
GTalk.contents = function(argObj) {
  GTalk.isInstalled = false;

  // Is gtalk_installed defined?
  if (typeof(argObj.gtalk_installed) != 'undefined') {
    GTalk.isInstalled = argObj.gtalk_installed;
  }

  if (GTalk.isInstalled && typeof(argObj.gtalk_version) != 'undefined') {
    var fullVersion = argObj.gtalk_version;
    GTalk.version = fullVersion.substring(fullVersion.lastIndexOf('.') + 1);
  }

  if (GTalk.callback != null) {
    GTalk.callback();
  }

  if (typeof(sessionUserGtalkIntegrated) == 'undefined') {
    return;
  }
  if (GTalk.isInstalled && sessionUserGtalkIntegrated) {
    return;
  }

  var links = document.getElementsByTagName('a');
  var gtalklinkName = 'gtalklink';
  for (var i = 0; i < links.length; i++) {
    var link = links[i];
    var linkName = new String(link.getAttribute('name'));
    if (linkName.substr(0,gtalklinkName.length) == gtalklinkName &&
        !(argObj.gtalk_installed && sessionUserGtalkIntegrated)) {
      if (linkName.length > gtalklinkName.length) {
        link.href = URL['promo'] + "&uid=" + linkName.substr(
            gtalklinkName.length);
      } else {
        link.href = URL['promo'];
      }
    }
  }
}

GTalk.DataStoreHandler = function(command, args) {
  if (command == 'contents') {
    eval("GTalk.contents" + "(args)");
  }
}

GTalk.prototype.insertObject = function(swf, width, height, params) {
  var objString = '\
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" \
            codebase="*fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" \
            width="%%WIDTH%%" height="%%HEIGHT%%" id="VideoPlayback" align="middle"> \
      <param name="allowScriptAccess" value="always" /> \
      <param name="movie" value="%%SWF%%" /> \
      <param name="quality" value="best" /> \
      <param name="bgcolor" value="#000000" /> \
      <param name="scale" value="noScale" /> \
      <param name="wmode" value="window" /> \
      <param name="salign" value="TL" /> \
      <param name="FlashVars" value="&%%FLASHVARS%%" /> \
      <embed id=EVideoPlayback salign="TL" src="%%SWF%%" quality="best" \
             bgcolor="#000000" width="%%WIDTH%%" height="%%HEIGHT%%" name="VideoPlayback" \
             align="middle" allowScriptAccess="always" \
             type="application/x-shockwave-flash" \
             pluginspage="*www.macromedia.com/go/getflashplayer" \
             flashvars="&%%FLASHVARS%%" /> \
    </object>';

  params += "&eventHandler=GTalk.DataStoreHandler";
  var newString = objString;
  var re = new RegExp("%%SWF%%", "g");
  newString = newString.replace(re, swf);
  re = new RegExp("%%FLASHVARS%%", "g");
  newString = newString.replace(re, params);
  re = new RegExp("%%WIDTH%%", "g");
  newString = newString.replace(re, width);
  re = new RegExp("%%HEIGHT%%", "g");
  newString = newString.replace(re, height);
  document.getElementById(this.objectHolder).innerHTML = newString;
}

GTalk.prototype.init = function() {
  this.insertObject(this.swfPath, 1, 1, 'container=' + this.objectName);
}

Now this happens not always .... but is happening too frequently 4 my liking. :(
Opera is working fine ....
I hv tried disabling OrkutHelper extension .. but the prob remains .,..
Any Ideas ?
OS=WinXP Pro
.
Thnks in advance :)
 
OP
Thor

Thor

Ambassador of Buzz
u mean I will hv to remove all the extensions ? Or shall I remove only the Orkut Helper ?
 

Tech Geek

Wise Old Owl
only orkut thingy
that should work
that happens many times with me
so i switched to orkut
no extensions no tension
 
OP
Thor

Thor

Ambassador of Buzz
Thx 4 replies.
I hv uninstalled Orkut Helper. Restarted firefox . But still the problem persists.
Here is a screen shot of the extensions I hv loaded ...
*img265.imageshack.us/img265/4563/ffextensionscrshotbk7.th.jpg
 
OP
Thor

Thor

Ambassador of Buzz
Here is the Screen Shot.
*img127.imageshack.us/img127/2278/orkuttroubleey1.th.jpg


PS: Try vising the album @ ImgShack ....
 
OP
Thor

Thor

Ambassador of Buzz
switching off Gtalk ? I was not using Gtalk @ that time ...
Also , no such extension is there too...
I am confused...
 
OP
Thor

Thor

Ambassador of Buzz
Ouch!
Using opera that was always working fine.. but FF's Orkut Helper extension was Mighty Fine!
I tried uinstalling all the extension ... but still it refuses to Give up the Hiccups
:(
:(
 
Status
Not open for further replies.
Top Bottom