Hi Vision Jinx, >From what I can tell, the injected code you've highlighted isn't actually the issue. That code gets inserted in most gadgets without issue. What is happening, is an additional chunk of code is being inserted in the _vjpop function, causing a cascading failure. The interpreter seems to think that the <html><head><title> tags are the start of a page, and some extra code is being inserted causing an unterminated string literal. If you remove those tags, the page should load fine. (In my testing I eliminated the two writes that emit the open and close <html>...<body> etc.)
Best, Dan On Oct 8, 1:08 am, "Vision Jinx (Guru)" <[EMAIL PROTECTED]> wrote: > I still have issues with some gadgets in the sandbox. This one is due > to Google injecting code into my javascript causing problems. > > Throwing the following errors > > Error: gadgets is not defined > Source > File:http://251.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w... > Line: 1303 > > Error: a.jstiming is undefined > Source > File:http://251.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w... > Line: 1303 > > Error: L is undefined > Source > File:http://260.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w... > Line: 188 > > The gadget that has broken code being displayed in it is > > http://www.visionjinx.net/gg/feedticker/feedticker_v1.xml > > Code being injected into my javascript functions > > <script>(function(){ > var a=window;function b(){this.t={};this.tick=function(c) > {this.t[c]=(new Date).getTime()};this.tick("start")}var d=new > b;a.jstiming={Timer:b,load:d};if(a.external&&a.external.pageT)a.jstiming.pt=a.external.pageT;})(); > > </script> > > I haven't checked out the sandbox in a while but seems things have not > changed since my last posts regarding these breaking gadgets issues. :- > ( --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
