The MU forums have moved to WordPress.org

Java script into text widget (6 posts)

  1. alexandrehaguiar
    Member
    Posted 15 years ago #

    How i enable javascript inside text widgets?

  2. lunabyte
    Member
    Posted 15 years ago #

    You don't. It's removed because it's a security vulnerability.

  3. alexandrehaguiar
    Member
    Posted 15 years ago #

    There are many thinks that require javascript to work(widgets, adsense...). I now there is a security vulnerability but there are many beneficts to.

    You now if there is a way to offer javascript but not php.

  4. lunabyte
    Member
    Posted 15 years ago #

    A site can be hacked just as easy with javascript as with php.

    Is it possible to make it happen? Yes. Would it be responsible to tell someone how to do it? No, it wouldn't. Allowing javascript input by a user is just like opening up full read and write access to your site, or handing the keys over.

    There are other ways to achieve the end result, mostly by creating your own widgets.

  5. andrea_r
    Moderator
    Posted 15 years ago #

    Or looking to see if the wdiget exists already, like for adsense...

  6. tdjcbe
    Member
    Posted 15 years ago #

    Or write a new one. That's what we do.

About this Topic

  • Started 15 years ago by alexandrehaguiar
  • Latest reply from tdjcbe