Difference between revisions of "Uri parameters"

From Mibbit Wiki
Jump to: navigation, search
(widget: settings= id)
m (widget)
Line 6: Line 6:
 
* forcePrompt=true  (default: false for irc.mibbit.com)
 
* forcePrompt=true  (default: false for irc.mibbit.com)
 
* settings=id (id taken from a mibbit account's "prefs")
 
* settings=id (id taken from a mibbit account's "prefs")
or
+
or (deprecated)
* deprecated: all "/dset" name=value pairs, see [[widget parameters]]
+
* all "/dset" name=value pairs, see [[dset]]
  
 
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 00:08, 5 May 2008

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

widget

  • server=
  • channel=%23room (only one! Later you can type /j #anotherRoom )
  • nick=prefix_ (plus optional random part)
  • forcePrompt=true (default: false for irc.mibbit.com)
  • settings=id (id taken from a mibbit account's "prefs")

or (deprecated)

  • all "/dset" name=value pairs, see dset

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

http://embed.mibbit.com/?forcePrompt=true&settings=7ca12664887d4b6e7a0fa6552f9e0de6 
http://embed.mibbit.com/?channel=%23mibbit_blog&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