PDA

View Full Version : Orkut Trouble ... or is it FF kinks ?


Thor
24-03-2007, 10:33 AM
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

// Copyright 2006 Google Inc. All Rights Reserved.

function GTalk() {
this.swfPath = "http://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="http://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="http://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).innerHT ML = 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 :)

Tech Geek
24-03-2007, 04:49 PM
trouble with ff extension
try to remove it

Thor
24-03-2007, 05:55 PM
u mean I will hv to remove all the extensions ? Or shall I remove only the Orkut Helper ?

Pathik
24-03-2007, 06:02 PM
remove orkut helper only,.

Tech Geek
24-03-2007, 06:03 PM
only orkut thingy
that should work
that happens many times with me
so i switched to orkut
no extensions no tension

Thor
24-03-2007, 06:16 PM
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 ...
http://img265.imageshack.us/img265/4563/ffextensionscrshotbk7.th.jpg (http://img265.imageshack.us/my.php?image=ffextensionscrshotbk7.jpg)

Tech Geek
24-03-2007, 06:20 PM
can you give the screenshot of error also
it would become easy

Thor
24-03-2007, 06:33 PM
Here is the Screen Shot.
http://img127.imageshack.us/img127/2278/orkuttroubleey1.th.jpg (http://img127.imageshack.us/my.php?image=orkuttroubleey1.jpg)


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

Tech Geek
24-03-2007, 06:37 PM
try switching of gtalk

Thor
24-03-2007, 07:44 PM
switching off Gtalk ? I was not using Gtalk @ that time ...
Also , no such extension is there too...
I am confused...

Tech Geek
24-03-2007, 07:53 PM
No idea
use opera

Thor
24-03-2007, 08:18 PM
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
:(
:(