Quick Embed Code to Add Comments To Any Site
by Nick Gonzalez on November 29, 2006

It may not be a multi-million dollar venture-backed startup, but Lev Walkin has an elegant solution to a common feature of the social web, commenting. JS-Kit is an entirely free little javascript embed that allows you to add threaded comments to any web page in one line:

"<script src="http://js-kit.com/comments.js"></script>"

JS-Kit works by running Lev’s javascript code, which along with the website’s referral, fetches the appropriate comment data from his server. The comments are fully customizable by CSS and multiple comment instances can be displayed on the same referring URL by changing the “path” attribute of the comment. That way you could have a photo page with unique comment threads for each picture. However, while JS-Kit allows for a lot of customization, it still lacks some of the more advanced administrative features of fully integrated comments, such as those of our Wordpress blog.

Lev Walkin is a Cisco Security Engineer out of Santa Clara, and originally came up with the idea as a way to help he wife, a web designer, easily add comments to her sites.

Feel free to test the script after the jump…

Note: JS-Kit will forward comments from your thread to your email if you provide it.

Advertisement

Responses

Comments rss icon

  • I like that you dont even have to register, it does everything automatically by referal data. Nice idea :)

  • hmmm……this makes a :-D Great Idea :-D for an Instant, Embedable GuestBook -

  • really good..

  • And this is different from HaloScan how?

  • No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.

  • I’m starting to read between the lines here….There is a lot of Nepotism and In Group bias going on at techcrunch…you scratch my back, and I’ll scratch yours type off stuff

    techcrunch is getting less and less objective all the time and is starting to become real superficial in their reviews

    check this statement in an earlier post today about yahoo answers “but isn’t it possible that community asking services such as these will become extinct as people learn to better navigate the Web themselves?”

    I just think techcrunch has the power to make or break a site, and should therefore start exercising a bit more objectivity in their reviews, and a little less back scratching of mates and friends

    mkay

  • This is incredibly cool!

    I see only one major downside. If his site goes down / is slow / whatever, then your site is also slow. If the JavaScript include lags, your page could take a long time to load. This is a problem with all JavaScript include-esque services though, and so far this one seems very fast. Nice job!

  • This one was designed to load the static script (no server taxing), then this script would pull in the comments asynchronously. No database lags will ever affect your site drastically.

  • This is very nice Lev. Congratulations.

  • Beautiful , really beautiful idea and service , i wish he gets funding so the services becomes reliable and scalable.

  • By the way , after playing with it a pit , i found its missing some basic features :

    1- Comments moderation

    2- Comments SPAM filter

    3- Distinguished admin comments (Like techcrunch green comments:) )

    4- Commenter site (link the site to the name)

    5- Option to show total number of comments on top , or under the post summary.

    This is what came to my mind.

  • 1. Comments moderation is there. Just create your own website and try it out. It’ll treat you as boss and you’ll have more features than the visitors.
    2. SPAM filter is under way.
    4. Is really related to #2.
    3. Need to think about it. Easy to do.
    5. Good idea, thank you!

    I am still developing bits and pieces, so feel free to email your suggestions directly to me.

  • And what happens if and when this site goes OOB? You loose all your comments

    • The Largest digital music storage. Legal, secure mp3 service with well-ordered mp3 content.

      http://globaltotalpage.net/

      mp3 download,
      free mp3 downloads,
      free mp3 music download,
      download song,
      download free song,
      mp3 music download,
      buy download mp3 music,
      free download mp3 song,
      mp3 song, free mp3 song,
      free download hindi song,
      free download english mp3 song,
      download mp3 song,
      tamil mp3 song,
      download indi mp3,
      tamil song free download,
      bounce download kreesha mp3 turner,
      free hindi mp3 download,
      free mp3 player download,
      download mp3 player,
      download free hindi mp3 song,
      download free mp3 music player,
      free download mp3 latest indian song,
      mp3 free music download legal,
      free chinese mp3 song download
      download song,
      free song,
      mp3 music,
      song search,
      karaoke song,
      free mp3 song,
      irish song,
      listen to song,
      rap song,
      the whisper song,
      gratis mocedades mp3,
      crazy frog song,
      top love song,
      top 10 song,
      mp3 musica,
      car mp3 stereo,
      billboard top 100 song,
      music song,
      60 70 80 love song,
      beatles song,
      indie mp3,
      eminem song,
      midi mp3,
      cd mp3,
      arabic mp3
      music download,
      download online music,
      free mp3 music download,
      limewire free music download,
      free legal music download,
      download free music video,
      download music video, free music download site,
      free kazaa music download,
      music download site,
      free ares music download,
      wal mart music download,
      digital music download,
      ares music download,
      how to download music to psp,
      totally free music download,
      legal music download,
      download christian music,
      winmx free music download,
      download free music psp,
      free music download for mac,
      free ipod music download,
      free ipod music download,
      free music download program,
      dance music download

      The Largest digital music storage. Legal, secure mp3 service with well-ordered mp3 content.

      http://globaltotalpage.net/

  • What happens if Google goes OOB? You loose all your email, which is a bit worse.

    Comments is not content, it has a bit lower expectation of availability.

  • Nice script, Lev!
    I think you should release the script under open source licence while continuing seving script from you site. Sooner or later
    someone will come up similar open source script. Now you have firstcomer advantage an all the buzz is yours. Exploit this attention to become another WordPress of comments.

  • The script is already open source.

  • What are the options for the webmaster Lev? I tried it at one of my German pages http://web4heal...-bulim-adhd.htm and I really would like to have it at more pages to allow a very very easy kind of discussion / comment.

    I really like the idea !!!!!

    Martin

  • Just add it to every web page of your site. It’ll just work.

  • Congratz I love this idea. Just shows you don’t needs a large amount of money to implement a good idea.

  • Super Idea! Great stuff. You’ve been added to the web2.0jump.in index!

  • Hey Lev!

    Awesome idea! How do I delete inappropriate comments / spam from the list on my site?

  • Lev, I really really dig this. I just wanted to comment on something you said though:

    “Comments is not content, it has a bit lower expectation of availability.”

    Comments are most definitely content. There are many times where the thread of comments on a post or a website or a picture that are 10 times more interesting than the original posted content itself. And even if it’s not as interesting, it’s an important compliment and also validation.

    Again, great work on this, can’t wait to see it grow!

  • Jason, you can delete inappropriate comments by just clicking the “remove” link. You’ll have this link for every message, since you’re the webmaster of your own site (the system knows this).

  • Hi Lev,

    I’m curious…_HOW_ does the system know who the webmaster is? Is it by IP or is there some special login for the webmaster? I’m just curious because I worry that someone else could be mistaken for webmaster if your code is a little “too clever” :)

  • Lev – “Comments is not content, it has a bit lower expectation of availability” – I disagree completely. Many, many TechCrunch readers have told me they have no interest in what we write, and they come to the blog only for the discussion in the comments. :-)

  • I don’t think I would use this for ‘mainstream’ commenting on a site but this is superb for allowing designers/clients to share their thoughts on a website or app in production.

  • Why why why – when just about every content management system has a commenting system built-in?

    Also – your comments are dependent on a third party and they won’t get indexed by search engines.

    Ease of implementation isn’t worth reduced search engine visibility, more spam comments and the risk of relying on a third party.

  • I think the OpenID argument works here rather well. Not everything needs a fully indexed, search engine visible, super powered comment engine. Sometimes all you needs is a quick threaded comment system. This enables that. You know the code is open source, you can always download it, modify it to your needs and deploy it from your own server. Think long tail here. Imagine all of the static web pages out there that are not designed by web programers but could benefit from a simple threaded discussion system.

  • omg wtf cool saucE>!>>!>?!?!?

  • “No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.”

    Haloscan.com requires a 20 second registration. Oh my goodness. You spent more time typing out that comment than it would take to register at Haloscan.

    Haloscan uses two lines of code and you can have an unlimited amount of separate comment pages in one page.

    And Haloscan has a ton more features and has a full-featured admin section–edit/delete comments, ban visitors, comment moderation, trackback support, (extremely good) spam filters. And haloscan has been around for years unlike this startup and I’d trust them with my comments than this amateur looking thing.

  • PrettyDamn Sweet, love when someone pays for the hosting of free JavaScript.

  • Just checking this out. Seems pretty cool.

  • JonD,

    Haloscan is easier in some ways and a bit more complicated in others.
    It has tons of features. Js-Kit has a nice mascot.

    But that’s besides the point.

    Are you jealous, or what? Why there can’t be TWO systems, with one of them younger than the other? I don’t understand your position.

    When google started, there was already Yahoo and Altavista around, established pretty deeply. I am not trying to compare the substance, only reminding you that diversity is good.

  • Lev Walkin: I wasn’t trying to insult you and am definitely not jealous but was simply pointing out some facts to “Tom” since “Media Blog” asked how its different from Haloscan (comment #4) and “Tom” (comment #5) replied that:

    “No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.”

    My comment above simply addressed those points by Tom and I agree diversity is good. I just don’t see how the js-kit site warranted any attention from Techcrunch considering it doesn’t bring anything new to the table.

  • Understood.

    By the way, what did Google bring to the table? Besides a bit greater relevance to the user’s needs?

  • Michael,

    Regarding [“Comments is not content, it has a bit lower expectation of availability” - I disagree completely. Many, many TechCrunch readers have told me they have no interest in what we write, and they come to the blog only for the discussion in the comments.].

    The comments might be something that attracts the users, but it is not the particular comment that does it. It is the possibility to share thoughts.

    In this respect, there is no much difference between some comments and some other comments. Provided the large enough user base, the comments will be generated if they don’t exist, and will be re-generated if they are lost somewhere due to a technical glitch, or temporarily unavailable because of network problems.

    That is why I think of them as having “a bit lower expectation of availability”. That is, given the hard choice, what would you rather offload to a third-party JavaScript based service: the display of articles or the commenting engine?

    I think latter is a bit more acceptable candidate for that.

  • What is it they put in bleach that makes it taste so funny?

  • Nice, but it is a security risk. You need to be sure that the domain you are adding the script from is trusted. Otherwise you open your site up for Cross Site Scripting (XSS). By imbedding this code, the trusted domain could manipulate any page which has it embedded. With that said, it is a great way to add third party services to a site – like AdSense.

  • This is a pretty nifty idea. I think it might just catch on.

  • HMMMM how it works?

  • Dev, have you figured out how to solve the problem of Google not being able to index the DHTML generate comments? An important part of people’s site is comments and want google to be able to index them, so I’d think that this is a big issue.

    • YOUR A BIG FAGGET I HHATE YOUR LIFE PUSSY

    • QUEER LIKE SERIOUSLY GET A FUKIN LIFE on the blog allnight trynig to get some you should go on a date not chill at home jerkin off and being a bitch…holy shit plus everyone knows that people who use blogs are pussies and retatrd fortunatl your both dumbfuck..pretty much blogs suck the dick just like you BITCH and if you ever wanna get a life you should get outta your mommas basement and stop fuckin the dog in the ass!! DUMBFUCK

  • I think, it may be interesting for sites on free hosting without PHP.

Leave Comment

Commenting Options

Enter your personal information to the left, or sign in with your Facebook account by clicking the button below.

Alternatively, you can create an avatar that will appear whenever you leave a comment on a Gravatar-enabled blog.

Trackback URL

RealTime CrunchUp Sponsors:

bugbugbugbug
Techcrunch on Facebook