CCCP testing page

A thread especially for those sorting through Musrum’s immensely appreciated efforts with his CCCP browser bolt-ons.

For Firefox, install in order:

Firefox
Greasemonkey
cccp

For Chrome:

Google Chrome
Tampermonkey
cccp

Author: William Bowe

William Bowe is a Perth-based election analyst and occasional teacher of political science. His blog, The Poll Bludger, has existed in one form or another since 2004, and is one of the most heavily trafficked websites on Australian politics.

346 comments on “CCCP testing page”

Comments Page 1 of 7
1 2 7
  1. OK, I’ve got the comment box back down the bottom again.

    Numbering is now ordered with lowest at the bottom, highest at the top though. (ie. 3 at the top)

  2. Posting help, that gives info on emoticons etc, is also not showing up.

    The only thing I did to the script after updating it was copy and paste in the line to change the font. I pasted it in right down at the bottom of the script. I have now deleted it but comments are running in the annoying new Crikey way instead of Upside Down Miss Jane way.

  3. So comment box is in the right place, BUT:

    1. comment numbering is reversed
    2. no page numbering
    3. no cccp help link
    4. puke green font still there and can’t change font type.

  4. This line will break on pages where there are only 50 comments or less:

    // Page Numbers at the bottom
    comments.appendChild(getByClass(“numbered-pagination”,comments_list)[0].cloneNode(1));

  5. [Tried pasting in that code Dario. None worked and now comment box is at the top again.]

    Don’t paste that code in, you need to find where it already exists in your cccp script and comment it out by putting // to the left of it

  6. Dario:
    I copied the exact code you put in and then pasted it over the top to replace the existing code, replacing the ‘error’ as it were. I should do something different?

  7. [Dario:
    I copied the exact code you put in and then pasted it over the top to replace the existing code, replacing the ‘error’ as it were. I should do something different?]

    Too hard to explain. I’ll leave it to Musrum to fix up his script.

  8. Hello tech heads & mental patients

    Back on firefox and downloaded Greasemonkey and cccp… what do I do now? All seems the same to me, but I’m good with a hammer and nail!!

  9. [Oops, no, I’m still upside down, but the edit box has moved to the bottom (worse than before; at least it was where the latest post was).]

    Some of the bugs in the script only break pages with less than 50 posts, or if you aren’t logged in, or if you view the main page, so you may find if you go from one page to another you find things stop working and then suddenly work again without changing anything in the script itself.

  10. It’s definitely the case, Dario. I just put the font-change line back in stfu and William’s post reappeared again. 🙂 🙂

    Seriously, it does stop it working. Same for cccp. cccp moved the edit box to the bottom when I removed the font line (so script “working” but still buggy since still upside down).

  11. I’d just like to add that I think Musrum has absolutely kicked ass with cccp, and that my finding bugs is in no way suggesting a bad job! As a coder myself, bugs are totally expected 🙂

  12. [It’s definitely the case, Dario. I just put the font-change line back in stfu and William’s post reappeared again.]

    Hmmm, maybe you don’t have verdana font? Haven’t seen that issue before. Are you using Firefox or Chrome? (not that it should matter)

  13. Musrum, this line breaks in Firefox because rules is IE only:

    // Remove color from elements
    document.styleSheets[2].rules[4].style.color = “”;

  14. I have tried everything. Changed from Chrome to Firefox, installed cccp, greasemonkey and still the comments are upside down, there is no cccp or show help. In fact I have nothing. Any ideas?

  15. Ian, there are a few bugs in the cccp script at the moment which are causing it not to work on certain pages and with certain browsers. Just hold tight till Musrum comes back around and can get it fixed up.

  16. The getByClass on the numbered-pagination element should just need an if not null check before appending, and I think Firefox uses cssRules instead of rules

  17. [I think I might need to feature freeze now and tackle some of the bugs]

    Needless to say you’ve done a brilliant job! Have been using it to silence the spam for a long time now 🙂

    I don’t mind pitching in if you need to farm out anything. Just let me know.

  18. Musrum@38

    OK. should be OK now.

    Err. no it’s not. Doesn’t work for threads like this with < 51 comments.

    Dario@37

    I think I might need to feature freeze now and tackle some of the bugs

    Needless to say you’ve done a brilliant job! Have been using it to silence the spam for a long time now

    I don’t mind pitching in if you need to farm out anything. Just let me know.

    Thanks! It’s nice to know that it still works!

    What do you know about Javascript dev environments? What I’d love to do is edit in my favoured text editor and be able to deploy into Tampermonkey (for testing) and then release into userscripts from the command line.

  19. [What do you know about Javascript dev environments? What I’d love to do is edit in my favoured text editor and be able to deploy into Tampermonkey (for testing) and then release into userscripts from the command line.]

    I don’t do a lot of JS (C++/Java is my staple), but generally just use the Firebug console when I do

  20. [I don’t do a lot of JS (C++/Java is my staple), but generally just use the Firebug console when I do]

    To be honest I’m a bit of a JS novice myself. STFU was my first script (bob1234 was my inspiration :devil:).

    Do you have an account on Usercripts? If so: I see that they have Groups so I assume we can collaborate trough there. What do you want to call it?

  21. Pretty good for a first effort! 🙂

    I don’t have an account, but can certainly make one. How about ‘Better Bludging’ or something similar?

  22. Dario@41

    Seems to work for me on this page? What did you still think was broken?

    Just fixed it a minute or so ago.

    The Pagination fix doesn’t work too well without a Pagination div.

    Actually that reminds me: the biggest bug I have is unreported: This thing will crash completely without a logged in account, so all the lurkers are not in a happy place right now.

  23. Dario@43

    Pretty good for a first effort!

    I don’t have an account, but can certainly make one. How about ‘Better Bludging’ or something similar?

    Sound good.

    Let me know when you have an account setup.

  24. Also, the latest cccp 3.12 has a bug:

    if ( numbered_paginations != undefined && numbered_paginations.length > 0 ) {

    should be:

    if ( numbered_pagination != undefined && numbered_pagination.length > 0 ) {

Comments Page 1 of 7
1 2 7

Leave a Reply

Your email address will not be published. Required fields are marked *