Thursday, September 23, 2010

Disable Facebook Chat FOREVER! [ Chrome ]

Well it happened to me that sometimes the Facebook chat would enable itself out of nowhere in Google Chrome and it was very bothersome [ I think it's something around this line in the FB script: Event.listen(DOM.find(this.buddyListPanel,'#buddy_list_panel_settings_control a'),'click',c);},_clickVisibilityToggle:function(){chatOptions.toggleVisibility();this.closeOpenFlyout();} ], so I made the above script to disable it once and for all. You'd first need to disable it manually, close that window [ without logging out ], install the above script and that's it, you should NEVER see your chat enable itself magically.

If you're half as paranoid as I am [ HAH! ] you might want to take a look at the script and see for yourself that it's not storing anything from your account, all it does is check if you are on facebook, have the chat and if you have it KEEP IT DISABLED [ like you did manually ]:

// ==UserScript==
// @match http://**
// @match*
// ==/UserScript==
alert("No chatOptions!");

that's all it does so... well I hope somebody might find it useful, I know I did! :P here's the link again in case you missed it:
You'll need to have Chrome 4 at least.