adding javascript to wordpress

  • Author
    Posts
  • #37093

    raincoaster
    Member

    If you read the thread, you’ll see the reasons for it, and they’re good reasons. This is the kind of thing you should check out before starting with any service. WP.com is not for everyone, that’s for sure.

    #37094

    timethief
    Member

    @adadminsane
    Unlike the freestanding software usually downloaded from wordpress.org by self hosting bloggers our software is different. WordPress.com is a multi-user blogging platform.

    Blogs are served from {name}.wordpress.com. The WordPress cookie is delivered to any site that ends in wordpress.com. 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 WordPress page, you can retrieve the login cookie from another WordPress 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.

    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 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.

    http://faq.wordpress.com/2006/05/07/javascript-can-i-use-that-on-my-blog/

    Summary of differences bewteen wordpress.com and wordpress.org https://en.forums.wordpress.com/topic.php?id=3700

    I hope that helps. :)

    #37095

    flexindesign
    Member

    timethief: there must be a way, what about creating a group of independent developers working on finding a solution to accommodate for everything WP is currently disallowing and therefore is undermining the global effort which is, one more time, clearly standing out the crowd of hosted blogging service: adult material policy that does not violate the first amendment, public stats, fast service, etc…

    #37096

    timethief
    Member

    That way is the second option become part of the wp.org open-source community download the free software from option http://wordpresss.org

    #37097

    raincoaster
    Member

    The adult material policy here does not in any way violate the First Amendment. It would be illegal if it did.

    #37098

    flexindesign
    Member

    raincoaster: I was giving a thumb up to WP for a policy that does not violate the 1st, you probably misinterpreted the other way around. I was saying the issues discussed are undermining all the good stuff about WP and took adult policy and public stats are examples of the good stuff.

    #37099

    timethief
    Member

    Sheesh … blog it – please blog it. We volunteers have been previously asked not to discuss wordpress.com policy on the support forums. Our role is to answer questions about how to use wordpress.com technology. Staff and management make policy decisions just like in any other corporation. When it comes to policy they are who you need to contact during support hours tomorrow. :) http://wordpress.com/contact-support/

    #37100

    trent
    Member

    There are many that like certain policy of staff and don’t like others. Nothing is perfect, but it is a good system that the masses agree with. Since this is just hosted wordpress, it is simple to move to your own hosting of wordpress if you have issues with policy that will hinder your blogging experience. As timethief mentions though, staff are the ones that make the policy since this is their baby and discussing it in the forums will not change anything about it!

    Trent

    #37101

    katsarov
    Member

    is this can be added as winget? http://www.widgetbox.com

    #37102

    trent
    Member

    If the widgets you want to use iframes, embeds, javascript or other scripting languages, then most likely not. Specific widget would help determine if it is or not.

    Trent

    #37103

    biasonus
    Member

    Could someone at WordPress please explain this to me. I’ve seen in this blog and one other, that no javascript is allowed. Fine. I joined John Reese’s BlogRush, and have discovered that since it uses java, I can’t put it on my WordPress blog. However, just today, I opened the blog of an internet marketer I receive emails from and voila, there was the BlogRush widget on his WordPress page. Exactly how is that? In one other forum referring specifally to the BlogRush widget, I read that since it’s a viral marketing tool and uses java, that it wasn’t possible. Appparently, it is.

    #37104

    raincoaster
    Member

    WordPress.com and WordPress.org are two different things. There’s a thread at the top of the forum that explains this.

    #37105

    What is the URL of his blog? I would suspect that it may be a self-hosted blog using the wordpress software from wordpress.org. Here at wordpress.com javascript cannot be used.

    #37111

    clear2go
    Member

    I have read through this whole thread. What disappoints me the most is the hard stance of “We don’t support Javascript” from the “Staff”. Also, there unwillingness to even discuss it. They keep suggesting it be discussed individually via the “support” link, or in your “own blog”.

    I just moved over to wordpress from blogger. I liked what I saw. Unfortunately I didn’t realize that JavaScript was not allowed. My fault for not reading through everything in detail I guess. I am a security researcher, and I understand your concern about Java script. However, I’d suggest you need to seriously consider looking into ways to implement it — I think it is here to stay and with services like blogrush coming online, people will want to use them. Sure they can go to ‘blogger’ or whatever, but over time others will come online as well. There is obviously a userbase that wants some form of javascript. Just because the staff choose to ignore this and bury their heads in the sand doesn’t mean it will go away.
    -mike.

    #37112

    raincoaster
    Member

    No, but because people who don’t research their moves complain doesn’t mean they will change it. Automattic doesn’t make money from WP.com as far as I can tell; it’s solely a showpiece. There is no compelling reason to allow security risks, since security is one of the things it’s showing off. You’ve got to give them a good enough reason and “lots of people who aren’t using you want it” isn’t enough. Obviously.

    #37113

    clear2go
    Member

    “No, but because people who don’t research their moves complain doesn’t mean they will change it”
    I think you missed my point. I did research it, just not every little detailed item. I for example didn’t research if html was supported, I typically assume that in todays world. However, that is just how I ended up here, not my main points.

    My points were:
    – Staff seems to want to quash the conversation by moving it off the forums, to individual conversations, or peoples own blogs. Don’t know if they are just sick of the topic, want to reduce visibility or all of the above. Whether or not javascript is on wordpress, I dislike the tone and attitude of some of the responses. It is very “we are not doing it and screw you” kind of attitude. Not very professional, especially if they are staff of WordPress.

    – Is anyone looking into Javascript? Do you keep up to date with it? Do you evaluate it at regular intervals? Maybe parts of it are ok to be implemented. I’m not a Javascript expert, but I would expect some discussion on the topic with useful information coming from WordPress staff besides “It’s a security risk”. You users obviously want to discuss it.

    #37114

    atthe404
    Member

    @raincoater: WP is not making any money? LOL. They are making out like bandits. :)
    And apropos the last post NO. html is not *supported*.

    #37115

    wank
    Member

    I dislike the tone and attitude of some of the responses. It is very “we are not doing it and screw you” kind of attitude. Not very professional, especially if they are staff of WordPress.

    Somebody should probably clarify that there has not been a single post by any member of staff in this thread. The people telling you to shut up and go away are just volunteers who are tired of people saying ‘can we have this feature? can we have that feature? why can’t we have it? you suck for not letting us have it!’ when nobody in this forum has any more say in how wordpress.com is run than you do. That is to say, none whatsoever.

    Not being staff, I don’t know why javascript isn’t supported here, but I’m guessing it’s because it’s quicker and easier to block it entirely than to implement it safely. Trust me when I tell you that complaining about how things work here changes nothing. If javascript is that important to you, there are other free hosts which allow it, just as there are hosts who allow you to edit your html and add any Flash widget you want. OK, so you might lose out on some other features, but them’s the breaks. You’re not going to get a perfect setup unless you do it yourself.

    #37116

    raincoaster
    Member

    Rut, how much is Automattic making from WP.com?

    Wank: we are as of one mind. I think they just said, “oh, it’s not worth the hassle of administrating properly” and said No. If it were worth their while, you’d have a different answer.

    #37117

    atthe404
    Member

    Well they do not make money at org thats for sure. Well not since the spam scandal anyway:). They run a huge server farm with the hardware / bandwidth costs. And they now have 14 highly paid gurus on the books plus a CEO. Add the bi annual junkets to Mexico with flights – that is a lot of cashflow.

The topic ‘adding javascript to wordpress’ is closed to new replies.