Difference between revisions of "Uri parameters"

From Mibbit Wiki
Jump to: navigation, search
m (params sorted)
Line 1: Line 1:
 
You can control the look/behavior of mibbit by calling it with various parameters in the uri ("GET"):
 
You can control the look/behavior of mibbit by calling it with various parameters in the uri ("GET"):
 
==widget==
 
==widget==
* server= (default: irc.mibbit.com)
+
* authkey= (default: empty, see [[Widget#Securing_your_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)
 
* 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)  
 
* nick=prefix_%3F%3F%3F%3F (%3F=?, representing a random digit)  
* autoConnect=false (new as of 2008-10-26, see [[Autoconnect]]).
+
* noServerMotd= (default: false)
 +
* noServerNotices= (default: false)
 +
* noServerTab= (default: true)
 
* promptPass=true (ask for a password)
 
* promptPass=true (ask for a password)
* authmethod=nickserv (default, /auth or /pass)
+
* server= (default: irc.mibbit.com)
* authkey= (default: empty, see [[Widget#Securing_your_widget]] )
 
* noServerTab= (default: true)
 
* noServerNotices= (default: false)
 
* noServerMotd= (default: false)
 
* customprompt=Welcome%20To%20MyChat
 
* customloading=maybe%20you%20need%20to%20close%20other%20Mibbit%20windows%20first...
 
* charset= (default: UTF-8)
 
 
* settings=id (id taken from a mibbit full account: "prefs", see [[Skins]])
 
* settings=id (id taken from a mibbit full account: "prefs", see [[Skins]])
* debug=(default: false); true opens a Log-tab
 
  
 
examples (just right-click and open in a new window for testing):
 
examples (just right-click and open in a new window for testing):

Revision as of 10:36, 4 November 2008

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

widget

  • authkey= (default: empty, see Widget#Securing_your_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)
  • promptPass=true (ask for a password)
  • server= (default: irc.mibbit.com)
  • settings=id (id taken from a mibbit full account: "prefs", see Skins)

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

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

You can use the Widget-Creator to create a link or an iframe code snippet now.

full version

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.com&channel=%23mibbit,%23chat&nick=yourNickHere


or (used for the new Firefox 3 irc handler):

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

example:

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