Difference between revisions of "Uri parameters"

From Mibbit Wiki
Jump to: navigation, search
(Main Client: /#ch doesn't work for IE users)
m (Main Client: be aware of autoconnect)
Line 50: Line 50:
 
{{notice|In old links/bookmarks please replace "'''www.'''mibbit.com/'''chat'''" or "mibbit.com/'''chat'''" respectively with "'''chat.'''mibbit.com".}}
 
{{notice|In old links/bookmarks please replace "'''www.'''mibbit.com/'''chat'''" or "mibbit.com/'''chat'''" respectively with "'''chat.'''mibbit.com".}}
  
Passing parameters will result in a [[pre-filled]] connect form:
+
Passing parameters will result in a [[pre-filled]] connect form (if not connected already to the network via [[autoconnect]] etc):
 
* [[nick]] (if empty a random nick like "mib_3Zh5F4" will be presented)
 
* [[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)
 
* [[channel]] (you even can submit a comma separated channel list like %23chat,%23test)

Revision as of 15:34, 12 December 2013

Wiki Home | FAQ | Features | IRC Commands | IRC Modes | Widget Information | Widget: WebIRC Server Setup | URI Parameters | Wish List | Registration Information | Mibbit Staff

Home | Quick Start Guide | Live Mibbit Help


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):

Widget

don't use "&" instead of "&". It is not valid for uri parameters and might stop working in the future.

the following options don't seem to work any longer:

  • PromptBackground (default: light gray, %23eee)
  • PromptColor (default: dark gray, %23222)
  • WaitingBackground (defauilt: black, %23000)
  • WaitingColor (default: light gray, %23ccc)

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=0&nick=MibWid%3F%3F%3F
http://widget.mibbit.com/?server=irc.rizon.net&channel=%23test
https://widget.mibbit.com/?channel=%23yourCh&autoConnect=true

Please use the Widget-manager to create a skin and an iframe code snippet.

other valid entries:

  • 0 / 1 are also allowed for false / true

Main Client

In old links/bookmarks please replace "www.mibbit.com/chat" or "mibbit.com/chat" respectively with "chat.mibbit.com".

Passing parameters will result in a pre-filled connect form (if not connected already to the network via autoconnect etc):

  • 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!)

Examples:

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

or (used for the Firefox IRC handler):

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

example:

https://chat.mibbit.com/?url=irc%3A%2F%2Firc.ircstorm.net%2f%23lobby

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

other valid parameters:

  • debug=<anything> opens a Log-tab (/debug as command works as well)
  • noWebSocket=true forces the browser not to use a websocket to circumvent instabilities; default is false)