Uri parameters

From Mibbit Wiki
Revision as of 15:39, 4 May 2009 by Havvy (talk | contribs) (main client)
Jump to: navigation, search

You can control the look/behavior of mibbit by calling it with various parameters in the uri ("GET"):

widget

  • authmethod=nickserv (default, /auth or /pass)
  • autoConnect=false (new as of 2008-10-26, see Autoconnect).
  • channel= (default: %23chat, even a comma separated channel list like %23ch1,%23ch2%20key1,key2 is possible)
  • charset= (default: UTF-8)
  • customloading=maybe%20you%20need%20to%20close%20other%20Mibbit%20windows%20first...
  • customprompt=Welcome%20To%20MyChat
  • debug=(default: false); true opens a Log-tab
  • nick=prefix_%3F%3F%3F%3F (%3F=?, representing a random digit)
  • noServerMotd= (default: false)
  • noServerNotices= (default: false)
  • noServerTab= (default: true)
  • promptChannelKey= (true: prompt for a channel password)
  • promptPass= (true: ask for a nickserve password)
  • server= (default: irc.mibbit.net)
  • settings=id (id taken from a widget-manager-account: "My Prefs", see Skins)

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

http://widget.mibbit.com/?promptPass=true&settings=ccfb0b22251ba27444e43fa1b9997c6f
http://widget.mibbit.com/?channel=%23test&noServerTab=false&forcePrompt=true&nick=MibWid%3F%3F%3F
http://widget.mibbit.com/?server=irc.freenode.net&channel=%23test

You can use the Widget-manager to create the URI and a skin and the URI creator to create an iframe code snippet. 0 and 1 are allowed for false and true, case is not important.

main client

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

  • server= (both server and channel must be provided!)
  • channel= (you even can submit a comma separated channel list like %23chat,%23test)
  • nick= (if empty a random nick like "mib_3Zh5F4" will be presented)
  • debug=(default: false); true opens a Log-tab (/debug as command works as well)

example:

https://www.mibbit.com/?server=irc.mibbit.net&channel=%23mibbit,%23chat&nick=yourNickHere


or (used for the Firefox IRC handler):

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

example:

https://www.mibbit.com/?url=irc%3A%2F%2Firc.freenode.net%2f%23defocus