Uri parameters

From Mibbit Wiki
Revision as of 21:19, 18 April 2010 by Havvy (talk | contribs) (Widget)
Jump to: navigation, search

API | URI Parameters | Auto Connect

You can control the look/behavior of mibbit by calling it with various parameters in the uri (like .../?param1=value1&param2=value2&..., see examples):


don't use "& amp ;" (w/o spaces) instead of "&". It is not valid for uri parameters and might stop working in the future.
  • authmethod (default: nickserv, alternatives: auth or pass)
  • autoConnect (true bypasses the nick prompt if an op enabled it, use only after users indicated that they really want to chat, e.g., if they clicked a link to get onto a chat page, see Autoconnect, must read!).
  • channel (%23yourChat, even a comma separated channel list like %23ch1,%23ch2%20key1,key2 is possible)
  • charset (default: UTF-8, see Character Sets)
  • customloading ( e.g., maybe%20you%20need%20to%20close%20other%20Mibbit%20windows%20first...)
  • customprompt (e.g., Welcome%20To%20MyChat)
  • debug (default: false); true opens a Log-tab
  • delay (default: 2 seconds after entering the page, if Autoconnect is on)
  • nick (e.g., prefix_%3F%3F%3F%3F , %3F=? representing a random digit)
  • noServerNotices (default: false)
  • noServerTab (default: true)
  • PromptBackground (default: light gray, %23eee)
  • PromptColor (default: dark gray, %23222)
  • PromptImage (only for premium widgets)
  • promptChannelKey (true: prompt for a channel password, overrides autoConnect)
  • promptPass (true: prompt for a password, see authmethod, overrides autoConnect)
  • server (default: irc.mibbit.net)
  • settings (id taken from a widget-manager-account: last line in "Prefs")
  • showMotd (default: true - overrides Prefs > chat data > MOTD)
  • WaitingBackground (defauilt: black, %23000)
  • WaitingColor (default: light gray, %23ccc)
  • WaitingImage (only for premium widgets)

examples (just right-click and open in a new window for testing):

http://miburl.com/wGcgqD (new css parameter example for the start screens)

You can use the Widget-manager to create/preview a skin and the URI creator to create an iframe code snippet.

other valid entries:

  • 0 / 1 are also allowed for false / true

Main Client

these will only result in a pre-filled connect form:

  • nick (if empty a random nick like "mib_3Zh5F4" will be presented)
  • channel (you even can submit a comma separated channel list like %23chat,%23test)
  • server (both server and channel must be provided!)

alternatively you can use:

  • mibbit.com/chat/#channel (defaults to: @irc.mibbit.net)
  • mibbit.com/#channel@your.server.blah
  • mibbit.com/#channel@Network (as saved in our database)

Note: this doesn't work on some pages like twitter.com



or (used for the Firefox IRC handler):

  • url=<urlencoded irc://server/#channel>



Note: this will not work if networks allow mibbit only on certain servers/ports, e.g., EFnet: irc.umich.edu

other valid parameters:

  • debug=(default: false); true opens a Log-tab (/debug as command works as well)