tip off

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

346
  • 1
    Dario
    Posted Thursday, September 27, 2012 at 3:02 pm | Permalink

    testing 123

  • 2
    Dario
    Posted Thursday, September 27, 2012 at 3:02 pm | Permalink

    upside down anyone?

  • 3
    Puff, the Magic Dragon.
    Posted Thursday, September 27, 2012 at 3:04 pm | Permalink

    http://blogs.crikey.com.au/pollbludger/2012/09/24/essential-research-55-45-to-coalition-6/?comment_page=2/#comment-1420806

    A link to the scripts, plus discussion where people are installing it.

  • 4
    Puff, the Magic Dragon.
    Posted Thursday, September 27, 2012 at 3:04 pm | Permalink

    Yes, upside down.
    Did the green font change? Mine is still green.

  • 5
    Fiz
    Posted Thursday, September 27, 2012 at 3:05 pm | Permalink

    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)

  • 6
    Puff, the Magic Dragon.
    Posted Thursday, September 27, 2012 at 3:07 pm | Permalink

    ok, if i disable udmj my comment box goes to the top. This is telling me that cccp is not installing properly.

  • 7
    Posted Thursday, September 27, 2012 at 3:07 pm | Permalink

    Are the CCCP links constant, or do they change every time there’s an update?

  • 8
    Fiz
    Posted Thursday, September 27, 2012 at 3:08 pm | Permalink

    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.

  • 9
    scorpio
    Posted Thursday, September 27, 2012 at 3:09 pm | Permalink

    Blimey, this is funny!

    The comments box is at the bottom but the numbering is still reverse order and no page number at the bottom either.

  • 10
    Fiz
    Posted Thursday, September 27, 2012 at 3:10 pm | Permalink

    Right, I think I will delete all those scripts and start again.

  • 11
    Dario
    Posted Thursday, September 27, 2012 at 3:13 pm | Permalink

    Ok, I’ve found two possible bugs in the latest cccp script. Try commenting out the following lines and refreshing:

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

    and…

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

  • 12
    Fiz
    Posted Thursday, September 27, 2012 at 3:14 pm | Permalink

    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.

  • 13
    Fiz
    Posted Thursday, September 27, 2012 at 3:17 pm | Permalink

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

  • 14
    Dario
    Posted Thursday, September 27, 2012 at 3:18 pm | Permalink

    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));

  • 15
    Dario
    Posted Thursday, September 27, 2012 at 3:20 pm | Permalink

    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

  • 16
    Fiz
    Posted Thursday, September 27, 2012 at 3:23 pm | Permalink

    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?

  • 17
    triton
    Posted Thursday, September 27, 2012 at 3:23 pm | Permalink

    Both scripts (cccp & stfu) working now except the font change. In fact, adding the font-change line was what stopped the scripts working.

  • 18
    Dario
    Posted Thursday, September 27, 2012 at 3:23 pm | Permalink

    Are the CCCP links constant, or do they change every time there’s an update?

    Constant I believe

  • 19
    Fiz
    Posted Thursday, September 27, 2012 at 3:23 pm | Permalink

    Oh, sorry, nevermind. I misunderstood you.

  • 20
    triton
    Posted Thursday, September 27, 2012 at 3:24 pm | Permalink

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

  • 21
    Dario
    Posted Thursday, September 27, 2012 at 3:25 pm | Permalink

    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.

  • 22
    Dario
    Posted Thursday, September 27, 2012 at 3:25 pm | Permalink

    In fact, adding the font-change line was what stopped the scripts working.

    I find that very difficult to believe ;-)

  • 23
    Gecko
    Posted Thursday, September 27, 2012 at 3:29 pm | Permalink

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

  • 24
    Dario
    Posted Thursday, September 27, 2012 at 3:30 pm | Permalink

    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.

  • 25
    triton
    Posted Thursday, September 27, 2012 at 3:30 pm | Permalink

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

  • 26
    triton
    Posted Thursday, September 27, 2012 at 3:31 pm | Permalink

    Have to go. Continue later.

  • 27
    Dario
    Posted Thursday, September 27, 2012 at 3:32 pm | Permalink

    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 :)

  • 28
    Dario
    Posted Thursday, September 27, 2012 at 3:35 pm | Permalink

    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)

  • 29
    Dario
    Posted Thursday, September 27, 2012 at 3:45 pm | Permalink

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

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

  • 30
    Ian
    Posted Thursday, September 27, 2012 at 4:02 pm | Permalink

    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?

  • 31
    Dario
    Posted Thursday, September 27, 2012 at 4:06 pm | Permalink

    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.

  • 32
    Musrum
    Posted Thursday, September 27, 2012 at 4:59 pm | Permalink

    Are the CCCP links constant, or do they change every time there’s an update?

    They are constant.

  • 33
    Dario
    Posted Thursday, September 27, 2012 at 5:12 pm | Permalink

    Hi Musrum, if you get a chance to look at posts 14 & 29, there’s a couple of bugs that are causing some grief for the unwashed ;-)

  • 34
    Dario
    Posted Thursday, September 27, 2012 at 5:24 pm | Permalink

    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

  • 35
    Musrum
    Posted Thursday, September 27, 2012 at 8:30 pm | Permalink

    New Version up.

    // Ver 3.11
    // Revert to old Pagination

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

  • 36
    Musrum
    Posted Thursday, September 27, 2012 at 8:36 pm | Permalink

    Actually don’t try 3.11 yet

  • 37
    Dario
    Posted Thursday, September 27, 2012 at 8:47 pm | Permalink

    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.

  • 38
    Musrum
    Posted Thursday, September 27, 2012 at 8:49 pm | Permalink

    OK. should be OK now.

  • 39
    Musrum
    Posted Thursday, September 27, 2012 at 9:06 pm | Permalink

    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.

  • 40
    Dario
    Posted Thursday, September 27, 2012 at 9:19 pm | Permalink

    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

  • 41
    Dario
    Posted Thursday, September 27, 2012 at 9:30 pm | Permalink

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

  • 42
    Musrum
    Posted Thursday, September 27, 2012 at 9:37 pm | Permalink

    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?

  • 43
    Dario
    Posted Thursday, September 27, 2012 at 9:39 pm | Permalink

    Pretty good for a first effort! :)

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

  • 44
    Musrum
    Posted Thursday, September 27, 2012 at 9:39 pm | Permalink

    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.

  • 45
    Musrum
    Posted Thursday, September 27, 2012 at 9:40 pm | Permalink

    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.

  • 46
    Dario
    Posted Thursday, September 27, 2012 at 9:48 pm | Permalink

    Just signed up as DarioPB

  • 47
    Dario
    Posted Thursday, September 27, 2012 at 9:54 pm | Permalink

    Ok, the crash is from this, because the comments box element isn’t there if you havent logged in:

    comments.appendChild(respond);

  • 48
    This little black duck
    Posted Thursday, September 27, 2012 at 9:56 pm | Permalink

    3.12 upside down and green.

  • 49
    Musrum
    Posted Thursday, September 27, 2012 at 9:57 pm | Permalink

    To revert back to 3.10:
    http://userscripts.org/scripts/version/66745/511353.user.js

  • 50
    Dario
    Posted Thursday, September 27, 2012 at 9:58 pm | Permalink

    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 ) {

Womens Agenda

loading...

Smart Company

loading...

StartupSmart

loading...

Property Observer

loading...