Large

Facebook Old Chat Sidebar

By rockihack Last update Mar 6, 2014 — Installed 100,530 times.

Suggestions

in
Subscribe to Suggestions 24 posts, 4 voices



p1nky User
FirefoxWindows

1. When we click outside the chatbar, it will automatically minimize itself (now we have to click the blue bar to close it)
2. Add the standard smileys/emoticons and also Bold, Italic, and Underline options. Well more like this script: http://userscripts.org/scripts/show/114248. Sorry I don't mean to compare but what is the use of a script that's not updated, right? So yours is still way more awesome ^^

 
rockihack Script's Author
FirefoxWindows

hey, thanks for your suggestion.

1: I prefer that the chat wont close if you're clicking on a link,
but there is a simple fix ;)

just as easy as edit one param ;)
from: w.Toggler.createInstance(c.root).setSticky(true);
to: w.Toggler.createInstance(c.root).setSticky(false)
and the 'Sticky' feature is disabled.

# I already started a discussion about simple user customization

2: Custom smileys/emoticons or bbcode is a good idea,
I've already seen a lot scripts for the new chat sidebar ;)

looking forward to more awesome updates :P

 
p1nky User
FirefoxWindows

Oh, yes, I didn't quite understand on how to customize a script so usually I will just take it as is :)p

One more, I've just found a bug, I can't stay offline. When I go offline and then close Facebook, next time I open it, I will go online again :(
Can you pls fix that? Because I prefer to be online only when I want it, not to be the default.

Thank you so much for your response :)

 
rockihack Script's Author
FirefoxWindows

Thanks ;)

here is the fix (for now):
comment out the line:

c.show();

like this =>

//c.show();

TODO => Add isOnline check before open buddylist

EDIT:

script updated => if(c.chatVisibility.isOnline()) c.show();

 
p1nky User
FirefoxWindows

Hello, it's me again. I want to report a bug, actually, this has been a bug since the script first launched.
When I'm online but I have no online contacts (0) when I click the option (the gear button), it will only show Chat Sounds and Advanced Settings. The 'Go offline' button will be obscured. Can you pls fix this?
Also, I see that you add setting for the script, where can I access it?

Thank you so much!

 
rockihack Script's Author
FirefoxWindows

hi,

it's rather a design error,
than a bug :)

pro:
- no free space in buddylist ( especially when you use TypeAheadSearch )

contra:
- menu is buggy if there are not enough friends ( Sorry bro :P )

Edit Settings:
At first, when you run firefox & greasemonkey, open the monkey menu and right click the script to edit.
This script contains a settings javascript object ( settings = { ... } ).
You can set Sticky, Mobile to true/false or define CSS styles.
You definitely need some previous knowledge, but its not to hard ;)
Other simpler ways to let you modify settings like an user interface require persistent storage and a lot more code :P

Settings =>

Old (what I prefer):
MinHeight: '0px'

Fix:
MinHeight: '140px'

Updated the script!

 
SUPER_KEG Scriptwright
FirefoxWindows

It would be awesome if you could fix lists like they were in old chat, so you can switch them on/off with one click, like in this script http://userscripts.org/scripts/show/114248 but it stopped working, also make name in top of chat clickable, so you can go to friends profile just by clicking on name, thanks, your script rocks, keep up the good work!

 
rockihack Script's Author
FirefoxWindows

hi,

yes indeed it would be awesome to get the friendlist design back...
but facebook stopped completely supporting the old chat and removed ChatBuddyList javascript so all the other userscripts stopped working ( since Facebook deleted the popout chat ), it's no longer possible to receive friendlist information through facebook intern functions. later perhaps I'll add Open Graph support.

- I'm really busy at the moment, because of my college exams -

TODO: Add profile links

script updated => Added profile links

 
bmn Scriptwright
FirefoxWindows

Amazing script, please keep it updated and add new awesome features, gl on you exams!

 
rockihack Script's Author
FirefoxWindows

Thanks :)

I thought about how to implement open graph support, but there is one major design problem :(

It's not possible to access Facebooks access_token with ajax ( found here => https://developers.facebook.com/docs/reference/... ) from content scope,
because ajax was designed to asynchronously load data from the same host!
You see that the url is pointing to a file hosted on the developers subdomain ( = not possible; actually you can use GM_xmlhttpRequest, but this ends in no more cross browser support )

Of Course there is the given api ( https://connect.facebook.net/en_US/all.js ),
but therefor you have to grant my script access to all of your friendlists and friends...

The fql itself is no problem ( https://developers.facebook.com/docs/reference/... ) ;)

SELECT uid, flid FROM friendlist_member WHERE flid IN (SELECT flid FROM friendlist WHERE owner=me())

You can play with the open graph api at https://developers.facebook.com/tools/explorer
Remember get your access token from the url mentioned above ;)

If you have any ideas let me know it ;)

 
bmn Scriptwright
FirefoxWindows

Of Course there is the given api ( https://connect.facebook.net/en_US/all.js ),
but therefor you have to grant my script access to all of your friendlists and friends... 

I wouldn't mind doing that, as long as it works like it should work :)

 
rockihack Script's Author
FirefoxWindows

I'll do that later...

Recently Facebook updated the chat once again.
The changes were not so deep, so this userscript works quite well ;)
I want to mention that they have added a new privacy menu.
It's a good approach ;)

Group friends by lists is still missing :(

 
bmn Scriptwright
FirefoxWindows

I hope you'll fix it soon, many of my friends would enjoy it :) Thanks!

 
rockihack Script's Author
FirefoxWindows

I'll write my last exam on 27 Feb, until then I have to review engineering mechanics.
Believe me it's damn hard to study engineering, economics and management (Wirtschaftsingenieurwesen) in germany...

I'll not forget it ;)

 
bmn Scriptwright
FirefoxWindows

Do your thing, just don't forget us ;)

 
rockihack Script's Author
FirefoxWindows

Finally facebook chat got pwned completely :)
It took less time than I thought!

NEW:

  • Friendlists support
  • Works with Firefox, Chrome, Opera
  • https://code.google.com/p/lenni/downloads/list

    Test it and share your opinion ;)

     
    p1nky User
    FirefoxWindows

    Thank you for your hard work!
    Can you pls add emoticons bar to the chatbar too? Nothing fancy, just the standard Facebook emoticons, you don't have to put all the memes like other scripts...

     
    rockihack Script's Author
    FirefoxWindows

    I don't have to ;) because my userscript is compatible with e.g.

    http://userscripts.org/scripts/show/50826

    ;)

     
    bmn Scriptwright
    FirefoxWindows

    Awesome job, one suggestion though, you should add like some settings options, where you can choose what lists are shown, for instance- I don't want custom lists that facebook made by itself ( close friends, family, city area, acquaintances etc..), I just want lists that I made myself. Also I think that friends that are not in any list are not shown at all in chat (only if you type their name you can see them with green circle next to), and they should be in 'Other' category... One more thing missing is a toggle for them, other than that, everything is perfect, keep up the good work!

     
    rockihack Script's Author
    FirefoxWindows

    1) Friendlists with 0 members will never be shown! Just empty the unintended lists :)
    This is the best way, because it is permanently stored at facebook servers.

    2) You're right unlisted friends are not visible yet.

    3) Toggle button is also not implemented yet. Why do you want to hide your online activity?

    #Note: The lists are shown in order of their creation date.

    Just wait a couple of days ;) I already solved the worst problem ;)

     
    bmn Scriptwright
    FirefoxWindows

    The thing is that if one friend is on more than one list, he/she is shown multiple times because facebook put them automatically in lists like city area, highschool, university, etc, plus list i made myself. So if user choose what lists are shown in chat, or just ones user made himself, it would be much easier :) Hope you understand... :)

     
    rockihack Script's Author
    FirefoxWindows

    Second solution (that not require any script changes):

    1) navigate to your friendlists overview then choose one.
    2) click on "Manage List"
    3) "Archive List" (Can be restored)
    4) Refresh

    This is a workaround for all lists that will be shown besides from "Close Friends", "Acquaintances" and "Restricted".

    For these:

    1) Open chat options
    2) "Advanced Settings"
    3) Add exception

    Or empty the list.

     
    p1nky User
    FirefoxWindows

    Hello, which one do you need to edit to customize the script so that when I click outside the chatbar, it will close by itself? Thank you!

     
    rockihack Script's Author
    FirefoxWindows

    edit userscript (settings):

    Sticky: true
    =>
    Sticky: false