Need help? Check out our Support site, then

Widgets and Java apps

  1. I've tried to put different things in my widgets like Feedjit, for example, and whenever I save the changes, it doesn't recognize it and eliminates the code. For example:

    <script type="text/javascript" src=""></script>
    <noscript>Feedjit live traffic feed</noscript>

    After saving it, all I get is the html: Feedjit live traffic feed as if the rest of the code never existed. Is there any way to fix this? Or I can't use any of these apps?

  2. Sorry, WordPress banned all of those scripts.

  3. For security reasons, strips out javascript and embeds. So, you can't use those apps unless they offer a javascript-free form. There's a thread "Codes for WordPress" in the off topic forum that lists widgets that do work here.

  4. Nm.

  5. Thank you very much... that kinda sucks.

  6. yea i know ¬¬

  7. Do you understand why javascript is a security risk on a multi-user blogging platform?

    Let me explain (for those who don’t already know) why hosted WordPress can’t allow javascript.

    Blogs are served from {name} The wordpress cookie is delivered to any site that ends in Any javascript on the page is legitimately allowed to look up cookies that would be sent to the domain it’s served from.

    This means that if you can run javascript on a hosted page, you can retrieve the login cookie from another user, and then pass it to an external site. (Generally by creating an image reference that includes the encoded login cookie.)

    This is just a basic part of the underlying technology of the web browser, and it’s required for sites like gmail, Yahoo! and others to operate. And there are ways a site can avoid this problem (generally by constantly changing the login cookie data with EVERY response, and invalidating the old ones immediately. But (and it's a big BUT) they require more horsepower on the backend than the blogging sites are really able to provide, and there’s still usually a small window of opportunity.

    This is why Livejournal, WordPress, and most other hosted sites disallow Javascript on their pages.

Topic Closed

This topic has been closed to new replies.

About this Topic