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
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
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