MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Which external javascript libraries are allowed?

Last post 09-07-2009 1:18 AM by killer10. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 09-17-2008 5:45 AM

    Which external javascript libraries are allowed?

    I remember there was a post a while ago about now allowing external libraries like jquery, but I can't find it anymore. Can someone provide a link? What libraries are allowed?

  • 09-23-2008 7:07 PM In reply to

    Re: Which external javascript libraries are allowed?

     I'm not sure if this is what you're referring to or not, but do you mean MySpace's planned implementation of Caja (http://code.google.com/p/google-caja/) to scrub / sanitize user generated javascript?  Caja would have a problem with all of the major libraries at the current time (YUI, JQuery, Prototype, Dojo...) in that they will not Cajole (compile sanitary code using Caja).  Caja will usually blow your code up to about 2-3 times the size and has some trouble with those heavy libraries.  The Google engineers are working towards whitelisting these libraries and will hopefully have that ready if MySpace decides to implement it.  From what I hear, prototype was at a point where it cajoled...whether it worked or not was another story Big Smile.  

     Anyways...enough with me going on about that, MySpace isn't currently implementing it (see: http://developer.myspace.com/Community/forums/p/746/3128.aspx#3128) so you don't have too much to worry about right now :)...we just implemented a very JavaScript heavy application using numerous YUI components and had no issues. Even if implemented, the OpenSocial JavaScript API will be whitelisted so no worries about that one either.

    Here is a slight backgrounder on it: http://blogs.zdnet.com/security/?p=847

    I'm sure the nice MySpace engineer's will correct me if I'm going way off on this one :)

    Filed under: ,
  • 09-24-2008 5:18 PM In reply to

    Re: Which external javascript libraries are allowed?

    When the platform launched, no external javascript was allowed.

    A while ago they decided to whitelist certain libraries. I can't find the post listing these.

  • 09-24-2008 5:44 PM In reply to

    Re: Which external javascript libraries are allowed?

     Here you go:

    http://developer.myspace.com/community/blogs/devteam/archive/2008/08/02/application-guidelines-terms-of-service-updated.aspx

     

  • 01-30-2009 3:05 PM In reply to

    • Egg
    • Top 50 Contributor
    • Joined on 02-05-2008
    • Posts 73

    Re: Which external javascript libraries are allowed?

    Chad, Is the MySpace hosted jQuery library going to be updated any time soon? Erik
    Filed under:
  • 01-30-2009 3:25 PM In reply to

    Re: Which external javascript libraries are allowed?

    Hey there, I followed up with Chad and he explained that we don't host jQuery but we allow you to use the Google Ajax libs - so whatever google hosts is what is available as a resource for you.

  • 09-07-2009 1:18 AM In reply to

    Re: Which external javascript libraries are allowed?

     site:google.com inurl:jquery google that

Page 1 of 1 (7 items)