Difference between revisions of "Uri parameters"

From Mibbit Wiki
Jump to: navigation, search
(widget now allows channel list)
(widget: promptPass)
Line 4: Line 4:
 
* 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)
 
* nick=prefix_ (plus optional random part)
 
* nick=prefix_ (plus optional random part)
* forcePrompt=true   (default: false for irc.mibbit.com)
+
* forcePrompt=true (default: false for irc.mibbit.com)
 +
* promptPass=true (ask for a password, NickServ auth only at the moment)
 
* settings=id (id taken from a mibbit account's "prefs")
 
* settings=id (id taken from a mibbit account's "prefs")
 
or (deprecated)
 
or (deprecated)
Line 10: Line 11:
  
 
examples (just right-click and open in a new window for testing):
 
examples (just right-click and open in a new window for testing):
  http://embed.mibbit.com/?forcePrompt=true&settings=7ca12664887d4b6e7a0fa6552f9e0de6  
+
  http://embed.mibbit.com/?forcePrompt=true&promptPass=true&settings=7ca12664887d4b6e7a0fa6552f9e0de6  
  http://embed.mibbit.com/?channel=%23mibbit_blog&forcePrompt=true&nick=MibBlog_chgThis
+
  http://embed.mibbit.com/?channel=%23test,%23mibbit&forcePrompt=true&nick=MibBlog_chgThis
 
  http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true
 
  http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true
  

Revision as of 08:32, 7 May 2008

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

widget

  • server=
  • channel= (you even can submit a comma separated channel list like %23chat,%23test)
  • nick=prefix_ (plus optional random part)
  • forcePrompt=true (default: false for irc.mibbit.com)
  • promptPass=true (ask for a password, NickServ auth only at the moment)
  • settings=id (id taken from a mibbit account's "prefs")

or (deprecated)

  • all "/dset" name=value pairs

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

http://embed.mibbit.com/?forcePrompt=true&promptPass=true&settings=7ca12664887d4b6e7a0fa6552f9e0de6 
http://embed.mibbit.com/?channel=%23test,%23mibbit&forcePrompt=true&nick=MibBlog_chgThis
http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true

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)

example:

https://www.mibbit.com/?server=irc.freenode.net&channel=%23mibbit,%23test