Cocomment now works in opera too!!

May 10, 2006

Image and video hosting by TinyPicI’m really fond of cocomment, but was a bit disappointed when I found out that its quick bookmarklet didn’t work with Opera. But, wait there’s hope. With a little bit of hack you can make the bookmarklet work in Opera. I found it out while browsing thorugh the “browser bugs” section o cocomments support forum. This guy called adas explained how to make the bookmarklet. Here’s how to do that:

Image and video hosting by TinyPic

The original javascript snippet looks like this:

javascript:void((function()%20{if(self.cocomment_toggle)%20cocomment
_toggle();%20else%20{var
%20element=document.createElement(’script’);%20element.setAttribute
(’src’,'http://cocomment.com/js/cocomment.js?3-’ + new%20document.body.appendChild(element)}%20window.set
Timeout(’if(!self.cocomment)%20alert
(\’The%20coComment%20script%20could%20not%20be%20loaded!\\n\\n
Please%20try%20again%20later%20or%20check%20on%20www
.cocomment.com%20for%20possible
%20maintenance.\’);’,10000);})())

Now what you got to do is to remove all the “%20” and replace them with a space, so that the new code looks like this now:

javascript:void((function() {if(self.cocomment_toggle) cocomment_toggle(); else {var element=document.createElement(’script’); element.setAttribute(’src’,'http://cocomment.com/js/cocomment.js?3-’ + new Date().getDate()); document.body.appendChild(element)} window.setTimeout(’if(!self.cocomment) alert(\’The coComment script could not be loaded!\\n\\nPlease try again later or check on www.cocomment.com for possible maintenance.\’);’,10000);})())

You can just copy this code and use it in Opera. It works wonders

Comments »

The URI to TrackBack this entry is: http://naser.blogsome.com/2006/05/10/cocomment-now-works-in-opera-too-2/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome | Theme designs available here