Archived

This topic is now archived and is closed to further replies.

Imanerd

Classic Gtalk [success]

Recommended Posts

edit: got it, see my 2nd post.

I've finally found a way to get back the gtalk talkgadget panel, not the new hangouts without the need of an API (like a google talk extension that someone had made for Maxthon ages ago and then removed because of said api issues), and I would add it to the sidebar, but I'm thinking something more along the lines of a bookmarklet that opens an iframe with this html code in it:

https://dl.dropboxusercontent.com/u/91871785/talkgadget.html

here's the source code: https://pastebin.com/sJpL8rUK

https://pastebin.com/d3cYGFfA

I know how to make an iframe at bare minimum, but I can't get it to work. The only iframe example that fits what I am looking to do is the dropmark extension, available here: http://bbs.maxthon.com/forum.php?mod=viewthread&tid=585&highlight=dropmark

edit: I've gotten an iframe to work as its own html document, but that doesn't help making it a bookmarklet: https://imanerd11.kd.io/temp1.html (source code: https://pastebin.com/yK622ZFb)

please help?

edit; okay got it somewhat, just need better poisitoning...: see image:

4210

here's the code:javascript:var%20ifra=document.createElement('iframe');ifra.src="https://imanerd11.kd.io/temp1.html";ifra.setAttribute("width","194");ifra.setAttribute("height","750");ifra.setAttribute("left","0");ifra.setAttribute("borders","no");ifra.setAttribute("scrollbars","no");ifra.setAttribute("top","0");void(document.body.appendChild(ifra));

post-11018970-14315113652628_thumb.png

Share this post


Link to post
Share on other sites

edit: darn, it won't work as an addon.

but, YAY got the bookmarklet:javascript:var%20ifra=document.createElement('iframe');ifra.src="https://imanerd11.kd.io/temp1.html";ifra.setAttribute("width","194");ifra.setAttribute('style', 'position: fixed; top: 25px; left: 0px;');ifra.setAttribute("height","750");ifra.setAttribute("borders","no");ifra.setAttribute("scrollbars","no");void(document.body.appendChild(ifra));4214

post-11018970-14315113655296_thumb.png

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-14 20:50 back.gif

edit: darn, it won't work as an addon.

but, YAY got the bookmarklet:

Hi,

here is your addon. I changed this 2 attributes

ifra.setAttribute('style', 'position: fixed; top: 15px; left: 0px;');

ifra.setAttribute("height", "570");

your original was:

ifra.setAttribute('style', 'position: fixed; top: 25px; left: 0px;');

ifra.setAttribute("height", "750");

I set

"entryPoints": ,

you can delete sidebar. Toolbar is compatible only for MX3

Classic Gtalk.mxaddon

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 19:07 back.gif

Hi,

here is your addon. I changed this 2 attributes

very nice, thanks. Submitting it to the extension site, thanks, buddy.

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-15 01:40 back.gif

darn it, it won't accept the GUID.

either way, here's a modded version of your extension. thanks ...

Now all is ok, with changed GUID?

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 19:47 back.gif

Now all is ok, with changed GUID?

actually it won't accept the GUID, regardless of which one it is.

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-15 02:00 back.gif

actually it won't accept the GUID, regardless of which one it is.

have you formatted your PC? If yes. Install Net Framework and check you updates

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 20:04 back.gif

have you formatted your PC? If so. Install Net Framework and check you updates

umm...no...

actually dawns on me I might not have been clear: sorry I had meant the extension center won't accept it. works finely as an extension.

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-15 02:06 back.gif

umm...no...

actually dawns on me I might not have been clear: sorry I had meant the extension cen ...

yes I understand, GUID problem is caused by "Net Framework" and "Visual C". Install too "msxml4"

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-15 02:06 back.gif

umm...no...

actually dawns on me I might not have been clear: sorry I had meant the extension cen ...

as an extension will work perfectly another case is the extension center

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 20:09 back.gif

yes I understand, GUID problem is caused by "Net Framework" and "Visual C". Install too "msxml4"

but it's not local...so how would .NET frameworks affect it...?

if it's something software-related, then it's server-side....

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 20:13 back.gif

as an extension will work perfectly another case is the extension center

I still don't understand what I have to do to make the extension center accept it, since installing software locally on my computer wouldn't affect the site's acceptance, especially since it's worked in the past, every time I've submitted an extension, without installing software locally...it's not a local problem...

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-15 02:14 back.gif

but it's not local...so how would .NET frameworks affect it...?

if it's something software-relate ...

ok you can do nothing, but make an other extension and try whether it is accepted

Share this post


Link to post
Share on other sites

Imanerd replied at 2013-10-15 02:17 back.gif

I still don't understand what I have to do to make the extension center accept it, since installin ...

Updated today without problem

post-11090790-14315113656891_thumb.png

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 20:41 back.gif

Updated today without problem

I'm gonna try that tomorrow. Sorry, some stuff....I need to rest...and think, sorry.

Share this post


Link to post
Share on other sites

Positronis replied at 2013-10-14 20:41 back.gif

Updated today without problem

seems I've overlooked one particular thing: I didn't code the frame to properly open chat message boxes for individual chat, for once you click on a person's name.

also Koding is having some stability issues, kinda.

Share this post


Link to post
Share on other sites