Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

CB sidebar auto-expansion problem

by LanX (Bishop)
on Mar 27, 2017 at 16:41 UTC ( #1186092=monkdiscuss: print w/replies, xml ) Need Help??

For a week now I'm experiencing problems with the chatterbox-sidebar and Firefox.

When I hit return or click talk, my message (if expandable) becomes expanded to an older one form my chat history.

For instance I just tried to say *me but posted .oO( *you* don't exist, I'm only messaging to *me* self), something I wrote weeks ago.

Anyone else with this problem? Suggestions how to solve it, like deleting history?

I tried to use the CB sidebar with chrome, but this doesn't seem to be easily possible.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re: CB sidebar auto-expansion problem
by shmem (Chancellor) on Mar 28, 2017 at 00:08 UTC

    Well, you could, with a bit of dom manipulation JS snippet in the Free Nodelet, set the autocomplete attribute of the entry box to 'off':

    document.childNodes[0].childNodes[2].childNodes[3].contentDocument.get +ElementById('talkbox').autocomplete = 'off';

    This is just for chatterbox sidebar. For other instances of a chatterbox entry box, e.g FullPage Chat, the path to the element may be different. Welcome to the hell of DOM and JavaScript.

    For instance, the code to disable autocompletion in the Chatterbox Nodelet of any page, the code is much shorter:

    document.getElementById('talkbox').autocomplete = 'off';

    Tested with Firefox 45.6.0 on debian 8.

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
      Thanks but. ...

      I'm not sure how this would work, since the cb sidebar is minimalistic and doesn't show any nodelets, hence no nodelet hacks.

      Though probably it's possible to tunnel this into the CSS settings in Display Settings. ..

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        Though probably it's possible to tunnel this into the CSS settings in Display Settings...

        Tried setting this attribute via CSS:

        #talkbox { autocomplete: "off"; }

        Nope. I can set it via the firebug console or via JS, but this attribute doesn't show up in the style tab in firebug. It is present in the DOM though. So, this property cannot be set via CSS, it would seem, otherwise than with some hack -which is sensible, since this attribute is not about style, but behavior of some element. Shoehorn JavaScript into CSS... uh.

        perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
Re: CB sidebar auto-expansion problem
by beech (Vicar) on Mar 27, 2017 at 22:57 UTC


    I don't understand the description of the problem

    What do you mean "if expandable"?

    I tried testing chatterbox sidebar to see what you're seeing, but I don't see anything that matches that description, and yes, I'm using firefox

      > What do you mean "if expandable"?

      Typed text is substring of older/expanded text

      See example in OP.

      I just updated FF to 52.x before the trouble started, please check your version.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!


        Oh you're talking about autocomplete/formfill/form completion , I usually turn that off (browser.formfill.enable false)

        I have older version of firefox (45...) and I dont get that problem with the chatterbox form

        I assume you've ruled out plugins by testing in -safe-mode?

        update: I just fired up brand new 52.0.1, cannot replicate the issue

        Do you experience phantom key presses with any other program?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1186092]
Approved by Eily
[choroba]: Corion One day, you'll implement the support for window functions in SQLite.
[Corion]: choroba: I admit I've thought about it ;) But I think I'll sooner hack up the Pg parser library to spit out a good parse tree and then hack that up to create Perl code :)
[Corion]: But back when I last looked at the VM of SQLite it seemed way to basic to me to implement anything in it....

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2018-03-22 12:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (274 votes). Check out past polls.