Thank you so much ma liang... it worked perfectly Following your sugestion I made what I wanted. Now I can share the same APE with multiple websites.
I owe you a beer!!! :) Cordialmente, Adilson Carvalho --- Vida?! Não, é intervalo de superfície. Vida mesmo, só debaixo d'água. Tá de bobeira? Venha conhecer o meu blog em http://adilsoncarvalho.com.br/blog/ 2011/1/5 ma liang <[email protected]> > try the JSONP method, load client like: > > var client = new APE.Client(); > client.load({ > identifier: o.aname, > transport: 2, // JSONP method > complete: function(ape) { > new liveCS(ape).initialize(opts); > > } > }); > > > > 2011/1/4 Adilson Carvalho <[email protected]> > >> Thanks for the advice! >> >> Here we send to the client some javascripts (like google analytics) to >> perform several tasks on their pages and we wanted to do something like that >> with APE, so our clients would not need to install anything. >> >> This way of work (iframe) is common to all comet servers or just APE's? >> >> Do you see any possibility of doing this? >> >> Cordialmente, >> >> Adilson Carvalho >> >> --- >> Vida?! Não, é intervalo de superfície. Vida mesmo, só debaixo d'água. >> >> Tá de bobeira? Venha conhecer o meu blog em >> http://adilsoncarvalho.com.br/blog/ >> >> >> 2011/1/4 blueklein76 <[email protected]> >> >> APE uses a hidden iframe for cross-frame scripting, and the domain >>> must match with your website. So you can either move your APE setup >>> to comet.e7r.com.br, or you will need to move your web page to >>> site.ebehavior.com.br >>> (either change the DNS so they match, or maybe use a web server and >>> define a virtual host instead) >>> >>> More info on cross-frame scripting here: >>> http://msdn.microsoft.com/en-us/library/ms533028%28v=vs.85%29.aspx >>> >>> >>> On Jan 4, 1:49 pm, Adilson <[email protected]> wrote: >>> > Hi folks, >>> > >>> > I installed APE and it was really easy to put it to work. >>> > >>> > I want to use APE to notify clients that will be at other websites >>> > that belong to the company, but when I try to do that I get the >>> > folowing error: >>> > >>> > Uncaught Error: SECURITY_ERR: DOM Exception 18 >>> > 4533Unsafe JavaScript attempt to access frame with URLhttp:// >>> 0.comet.ebehavior.com.br/?[{%22cmd%22:%22script%22,%22params%22:{%22domain%22:%22site.e7r.com.br%22,%22scripts%22:[%22http://comet.ebehavior.com.br:6969/jsf/Source/mootools-core.js%22,%22...]}}] >>> > from frame with URLhttp://site.e7r.com.br/comet.html. Domains, >>> > protocols and ports must match. >>> > >>> > Any idea how to solve it? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "APE Project" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected]<ape-project%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/ape-project?hl=en >>> --- >>> APE Project (Ajax Push Engine) >>> Official website : http://www.ape-project.org/ >>> Git Hub : http://github.com/APE-Project/ >>> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "APE Project" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected]<ape-project%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/ape-project?hl=en >> --- >> APE Project (Ajax Push Engine) >> Official website : http://www.ape-project.org/ >> Git Hub : http://github.com/APE-Project/ >> > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<ape-project%[email protected]> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
