Forums » Bugs » Bookmarklet not working


  • Bookmarklet not working
  • New posts in this topic

#1 2007-08-13 00:56:01

Sondosia
New member
Registered: 2006-02-06
Posts: 1

Bookmarklet not working

I'm using Opera 9.10 on Windows XP and I've just installed the bookmarklet. On many sites, when I want to add a comment and I press the bookmarklet button, absolutely nothing happens. Other times, the cocomment bar appears like it's supposed to, but when I try to submit the comment, I'm told that I need to enable cookies, even though they're already enabled (I checked several times).

Offline

 

#2 2007-08-13 17:16:46

tgn
Junior Member
Registered: 2007-05-07
Posts: 27
Website

Re: Bookmarklet not working

Hi,

Could you please write URLs where your bookmarklet doesn't work?
What about cookies, may be you need to sign in on the blog (this actually happens with Blogger).

Regards,
Tanya

Offline

 

#3 2008-10-15 20:36:58

MsVibe
New member
Registered: 2008-10-14
Posts: 1
Website

Re: Bookmarklet not working

In Opera 9.60 on OS X 10.4.11 clicking the bookmarklet does absolutely nothing for YouTube. I haven't tried it elsewhere.
The userscript http://www.cocomment.com/forum/viewtopic.php?id=427 does nothing either.

Offline

 

#4 2008-10-23 11:26:32

Galinka
coComment Team
Registered: 2008-03-26
Posts: 100
Website

Re: Bookmarklet not working

Hi,
Opera 9.60 is not supported yet, that's why bookmarklet doesn't work for it.
I think it will be supported in the nearest future.
I let you know after our developers resolve this issue.

Thanks for patience,
Galina.

CoComment team.

Offline

 

#5 2009-07-19 13:01:20

QuarterToHappiness
New member
Registered: 2009-02-26
Posts: 1
Website

Re: Bookmarklet not working

Hi,
I'm posting this here in case someone else finds it useful: I found a nice script by Brian Benzinger ( http://www.solutionwatch.com/313/commen … cocomment/ ) that can be used with Opera, and I made some changes to make it up-to-date with changes in coComment and Opera since 2006 (when it was first released). Here follows my modified version:

Code:

// ==UserScript==
// @name Automatic coComment for Opera
// @author QuarterToHappiness
// @version 0.1
// @description Based on a greasemonkey script by Brian Benzinger to automatically enable the coComment script when a comment had been detected
// ==/UserScript==

(function(){
    if (
        document.getElementById("commentForm") || 
        document.getElementById("comment-form") || 
        document.getElementById("FinalPublish") ||
        (document.getElementById("permalink") && document.getElementById("txtComment")) ||
        (document.getElementById("sform") && document.getElementById("btnSubmit"))
        ){
            var element=document.createElement('script'); 
            element.setAttribute('src','http://www.cocomment.com/js/handler.js?3-' + new Date().getDate()); 
            document.body.appendChild(element);
    }
})();

It's main advantage over the coComment bookmarklet is that it loads automatically when it detects a comment form in a page, so the user doesn't have to click on the bookmarklet. In order to use it just place it in the User Javascript directory (you can find where it is by looking in the opera:about page) and restart Opera. It may also be necessary to enable the use of Javascript in secure pages ( opera:config#UserPrefs|UserJavaScriptonHTTPS ). This last step is somewhat risky, I admit, and you should only do it if you trust completely the scripts that you are putting in the User Javascript directory. In this case, just look at the code and decide for yourself.

Offline

 
  • Bookmarklet not working
  • New posts in this topic