Comments by nka on scripts

9 comments

Comment on:
Mailto 2 Webmail

Apr 27, 2008

Thanks, works like a charm with Gmail 2, FF3b5 & WinXP SP2.

Comment on:
Google Docs + Gmail Addons

Apr 26, 2008

@dot: Here is the latest error:

error: unknown output type: 'js',--http://userscripts.org/scripts/review/23304'

Comment on:
Google Docs + Gmail Addons

Apr 26, 2008

@dot: As per your request on the main Gmail+addons page, I am posting my response here.

I have installed the Gmail addons + Documents on multiple computers both Mac and PC's, and am having the very same issue as previously described.

This does not seem to be a one time thing, any suggestions?

Comment on:
GmailAgenda

Apr 22, 2008

This is not working for me.

Comment on:
Add Calendar Feed - GMail

Apr 22, 2008

I can't seem to get this to work either. Will there be a script update any time soon? Thanks!

Comment on:
Gmail Addons

Apr 22, 2008

This is a comment on Gmail Addons + Google Docs

Weirdest thing, first the addon was working, and all of a sudden this pops up in the sidebar when the Documents button is clicked:

/* Copyright 2007 and beyond, Google Inc. To use gadgets on your own site, visit http://www.google.com/webmasters/gadgets. To create your own gadgets, visit http://www.google.com/apis/gadgets */(function(){var c=document.bgColor;var r,g,b;if(c.length!=7){r=g=b=1;}else{c=c.substring(1,c.length);r=parseInt(c.substring(0,2),16)/255;g=parseInt(c.substring(2,4),16)/255;b=parseInt(c.substring(4,6),16)/255;}var bgcolor=((r+g+b)/3<0><>\"]/.test(c)?c.replace(/&/g,"&").replace(//g,">").replace(/\"/g,"""):c};j.prototype.b=function(c){var a="<iframe>"};j.prototype.k=function(c,a){try{return c.frames[a]}catch(b){return null}};j.prototype.e=function(c){var a=document.createElement("iframe");for(var b in c)a.setAttribute(b,
c[b]);return a};j.prototype.h=function(c,a){var b=this;setTimeout(function(){document.body.appendChild(b.e({id:c,name:c,src:a,width:0,height:0,frameBorder:0}))},0)};j.prototype.p=function(c,a){var b=this;document.write(b.b({id:c,name:c,src:a,width:0,height:0,frameBorder:0}))};j.prototype.g=function(c,a){var b=[],f=c.length,d=0;while(d<f><f><3>
window[c]=new a;for(var d=0;d<s>
"_"+(h+k),i+"#"+o[k]);e.c[a]+=s}};g.prototype.n=function(a,b,f){var d=this;d.o(a);d.m[a]=window.setInterval(function(){d.u(a,b)},typeof f=="object"&&f.pollingInterval||IDICommon.IDI_DEFAULT_POLLING_INTERVAL)};g.prototype.o=function(a){var b=this;window.clearInterval(b.m[a]);b.m[a]=0};g.prototype.w=function(a){this.r=a};g.prototype.z=function(a){this.s=a};g.prototype.d=function(a){return this.s||a.replace(/([^:\/]\/).*$/,"$1ig/idi_relay")};g.prototype.u=function(a,b){var f=this,d=window.frames[a];
if(d){var e;while(e=IDICommon.k(d,a+"_"+f.i[a])){try{if(e.location.href=="about:blank")break}catch(h){break}f.f[a]+=IDICommon.j(e.location.href);++f.i[a]}var i=f.f[a].split("$"),m=i.length-1;if(m>0){f.f[a]=i[m];for(var n=0;n<m>
width:f,height:d});h.i[b]=0;h.c[b]=0;h.f[b]="";h.t[b]=a;var t=[];if(typeof o=="object")for(var p in o)t.push(encodeURIComponent(p)+"="+encodeURIComponent(o[p]));if(typeof n=="function"){t.push("idi_hr="+encodeURIComponent(h.r));h.n(b,n,e)}if(t.length){var q=t.join("&");if(i.src.length+1+q.length>IDICommon.MAX_URL_LENGTH){q+="$";var v=h.d(a),z=IDICommon.MAX_URL_LENGTH-1-v.length,w=IDICommon.g(q,z),x=w.length;for(var p=0;p<x>
r.innerHTML+h.e({id:u,name:u,src:y,width:0,height:0,frameBorder:0})}else IDICommon.p(u,y)}h.c[b]+=x;q=""}i.src+="#"+q}if(k){var r=document.getElementById(k);r.innerHTML=r.innerHTML+IDICommon.b(i)}else document.write(IDICommon.b(i))};var l=g.prototype,c=[["setHostRelayUrl",l.w],["setModuleRelayUrl",l.z],["getModuleRelayUrl",l.d],["createModule",l.q],["postMessageToModule",l.v],["registerListener",l.n],["unregisterListener",l.o]];IDICommon.a("IDIHost",g,c)})();
function _idi_decodeArgs(d){var a=d.split("&");for(var b=0;bhttp://www.google.com/ig/modules/docs.xml\x26up...=" + encodeURIComponent(location.href);var hostRelayUrlPath = _idi_getup(iframe_url, "req_idi_hr");if (hostRelayUrlPath != null) {var hostRelayUrl = window.location.protocol + "//" +window.location.host + hostRelayUrlPath;IDIHost.setHostRelayUrl(hostRelayUrl);}IDIHost.createModule(iframe_url, 'iframe_2143218596','320', '500',{callback: _idi_callback,userPrefs: { },pollingInterval: 100,parentDivId: 'idi_2143218596'});})();</x></m></s></f></f></iframe>

Comment on:
Google Docs + Gmail Addons

Apr 21, 2008

Weirdest thing, first the addon was working, and all of a sudden this pops up in the sidebar when the Documents button is clicked:

/* Copyright 2007 and beyond, Google Inc. To use gadgets on your own site, visit http://www.google.com/webmasters/gadgets. To create your own gadgets, visit http://www.google.com/apis/gadgets */(function(){var c=document.bgColor;var r,g,b;if(c.length!=7){r=g=b=1;}else{c=c.substring(1,c.length);r=parseInt(c.substring(0,2),16)/255;g=parseInt(c.substring(2,4),16)/255;b=parseInt(c.substring(4,6),16)/255;}var bgcolor=((r+g+b)/3<0><>\"]/.test(c)?c.replace(/&/g,"&").replace(/</g>/g,">").replace(/\"/g,"""):c};j.prototype.b=function(c){var a="<iframe>"};j.prototype.k=function(c,a){try{return c.frames[a]}catch(b){return null}};j.prototype.e=function(c){var a=document.createElement("iframe");for(var b in c)a.setAttribute(b,
c[b]);return a};j.prototype.h=function(c,a){var b=this;setTimeout(function(){document.body.appendChild(b.e({id:c,name:c,src:a,width:0,height:0,frameBorder:0}))},0)};j.prototype.p=function(c,a){var b=this;document.write(b.b({id:c,name:c,src:a,width:0,height:0,frameBorder:0}))};j.prototype.g=function(c,a){var b=[],f=c.length,d=0;while(d<f><f><3>
window[c]=new a;for(var d=0;d<s>
"_"+(h+k),i+"#"+o[k]);e.c[a]+=s}};g.prototype.n=function(a,b,f){var d=this;d.o(a);d.m[a]=window.setInterval(function(){d.u(a,b)},typeof f=="object"&&f.pollingInterval||IDICommon.IDI_DEFAULT_POLLING_INTERVAL)};g.prototype.o=function(a){var b=this;window.clearInterval(b.m[a]);b.m[a]=0};g.prototype.w=function(a){this.r=a};g.prototype.z=function(a){this.s=a};g.prototype.d=function(a){return this.s||a.replace(/([^:\/]\/).*$/,"$1ig/idi_relay")};g.prototype.u=function(a,b){var f=this,d=window.frames[a];
if(d){var e;while(e=IDICommon.k(d,a+"_"+f.i[a])){try{if(e.location.href=="about:blank")break}catch(h){break}f.f[a]+=IDICommon.j(e.location.href);++f.i[a]}var i=f.f[a].split("$"),m=i.length-1;if(m>0){f.f[a]=i[m];for(var n=0;n<m>
width:f,height:d});h.i[b]=0;h.c[b]=0;h.f[b]="";h.t[b]=a;var t=[];if(typeof o=="object")for(var p in o)t.push(encodeURIComponent(p)+"="+encodeURIComponent(o[p]));if(typeof n=="function"){t.push("idi_hr="+encodeURIComponent(h.r));h.n(b,n,e)}if(t.length){var q=t.join("&");if(i.src.length+1+q.length>IDICommon.MAX_URL_LENGTH){q+="$";var v=h.d(a),z=IDICommon.MAX_URL_LENGTH-1-v.length,w=IDICommon.g(q,z),x=w.length;for(var p=0;p<x>
r.innerHTML+h.e({id:u,name:u,src:y,width:0,height:0,frameBorder:0})}else IDICommon.p(u,y)}h.c[b]+=x;q=""}i.src+="#"+q}if(k){var r=document.getElementById(k);r.innerHTML=r.innerHTML+IDICommon.b(i)}else document.write(IDICommon.b(i))};var l=g.prototype,c=[["setHostRelayUrl",l.w],["setModuleRelayUrl",l.z],["getModuleRelayUrl",l.d],["createModule",l.q],["postMessageToModule",l.v],["registerListener",l.n],["unregisterListener",l.o]];IDICommon.a("IDIHost",g,c)})();
function _idi_decodeArgs(d){var a=d.split("&");for(var b=0;bhttp://www.google.com/ig/modules/docs.xml\x26up...=" + encodeURIComponent(location.href);var hostRelayUrlPath = _idi_getup(iframe_url, "req_idi_hr");if (hostRelayUrlPath != null) {var hostRelayUrl = window.location.protocol + "//" +window.location.host + hostRelayUrlPath;IDIHost.setHostRelayUrl(hostRelayUrl);}IDIHost.createModule(iframe_url, 'iframe_2143218596','320', '500',{callback: _idi_callback,userPrefs: { },pollingInterval: 100,parentDivId: 'idi_2143218596'});})();

Comment on:
Google Docs + Gmail Addons

Apr 21, 2008

I'm with you, as I have had the very same problem. Hopefully someone will figure it out and post an addon.

Comment on:
Gmail Addons

Apr 21, 2008

Thanks for the great script. I'm trying to add Google Docs as an addon, and it works, except for the fact that it auto loads to Google Docs, as soon as I load the Gmail inbox. Why is it doing this? I copied the script for Google Calendar and modified it a bit to open Google Docs. here is what I have inserted:

});
GmailAddons.registerAddon(
{
id: 'tdGDocs',
name: 'Google Documents',
url: 'https://docs.google.com/?tab=mo#not-in-folders',
indicatorLabel: 'Documents'
});

What have I done wrong, and is there a way to ad Google Docs as an addon? Thanks!