Difference between revisions of "Link"

From Mibbit Wiki
Jump to: navigation, search
m (IRC:// ULRs)
(Protocol autoselect)
Line 1: Line 1:
 +
== Protocol Autoselect ==
 +
 +
Whenever you link to a web resource that is opened in Mibbit, you can omit the "http[s]:" from the URL.  Mibbit will automatically re-add it as necessary.  Note that this only happens when Mibbit deals with the URLs internally.  If will not automatically add the protocol when you send a message through the server.
 +
 +
This is useful because it prevents browsers from complaining about mixed protocols when a resource is loaded over SSL and another resource is not, and for allowing you to use both http://(chat/widget).mibbit.com and htts://(chat/widget).mibbit.com.
 +
 +
Be default, the URLs for [[Sounds]] use protocol autoselect.
 +
 +
== Direct Channel Linking ==
 +
 
There are three methods for linking directly to an IRC Channel.
 
There are three methods for linking directly to an IRC Channel.
  
== Direct to Mibbit Client ==
+
=== Direct to Mibbit Client ===
  
 
* Default: '''<code><nowiki> http://mibbit.com/#<channel_name> </nowiki></code>''' - uses default mibbit server and selected channel (''example: http://mibbit.com/#chat'')
 
* Default: '''<code><nowiki> http://mibbit.com/#<channel_name> </nowiki></code>''' - uses default mibbit server and selected channel (''example: http://mibbit.com/#chat'')
Line 11: Line 21:
 
* Cannot accept a channel key.  To do so, use channel and server URI Parameters.
 
* Cannot accept a channel key.  To do so, use channel and server URI Parameters.
  
== IRC:// ULRs ==
+
=== IRC:// ULRs ===
  
 
This standard is actually used in links.  For instance, the Mozilla developer wiki gives links that might be useful.  For Mibbit, it is implemented by placing the URL http://mibbit.com/?server=<SERVER>&channel=<CHANNEL> in the address bar or placing IRC://irc.server.net/channel in as a link.  It is simple in and of itself, and while there are other parts, they have yet to be used in a practical manner.  If the person makes Mibbit their default IRC Client in Firefox, any IRC:// link on the web goes to Mibbit.  The Chatzilla extension overwrites this unless the user changes specific about:config preferences, and other clients can open the links, if they support IRC:// links.  Thus, the IRC:// method is preferred over others.
 
This standard is actually used in links.  For instance, the Mozilla developer wiki gives links that might be useful.  For Mibbit, it is implemented by placing the URL http://mibbit.com/?server=<SERVER>&channel=<CHANNEL> in the address bar or placing IRC://irc.server.net/channel in as a link.  It is simple in and of itself, and while there are other parts, they have yet to be used in a practical manner.  If the person makes Mibbit their default IRC Client in Firefox, any IRC:// link on the web goes to Mibbit.  The Chatzilla extension overwrites this unless the user changes specific about:config preferences, and other clients can open the links, if they support IRC:// links.  Thus, the IRC:// method is preferred over others.

Revision as of 11:46, 25 March 2011

Protocol Autoselect

Whenever you link to a web resource that is opened in Mibbit, you can omit the "http[s]:" from the URL. Mibbit will automatically re-add it as necessary. Note that this only happens when Mibbit deals with the URLs internally. If will not automatically add the protocol when you send a message through the server.

This is useful because it prevents browsers from complaining about mixed protocols when a resource is loaded over SSL and another resource is not, and for allowing you to use both http://(chat/widget).mibbit.com and htts://(chat/widget).mibbit.com.

Be default, the URLs for Sounds use protocol autoselect.

Direct Channel Linking

There are three methods for linking directly to an IRC Channel.

Direct to Mibbit Client

  • Default: http://mibbit.com/#<channel_name> - uses default mibbit server and selected channel (example: http://mibbit.com/#chat)
  • Specify Different Server: http://mibbit.com/#<channel_name>@<server_address> - You can include the IRC server after an @, with an optional port. (example: http://mibbit.com/#chat@irc.mozilla.org )

Note: the methods above do not work in IE.

IRC:// ULRs

This standard is actually used in links. For instance, the Mozilla developer wiki gives links that might be useful. For Mibbit, it is implemented by placing the URL http://mibbit.com/?server=<SERVER>&channel=<CHANNEL> in the address bar or placing IRC://irc.server.net/channel in as a link. It is simple in and of itself, and while there are other parts, they have yet to be used in a practical manner. If the person makes Mibbit their default IRC Client in Firefox, any IRC:// link on the web goes to Mibbit. The Chatzilla extension overwrites this unless the user changes specific about:config preferences, and other clients can open the links, if they support IRC:// links. Thus, the IRC:// method is preferred over others.

Note: Any autoconnect set in your Mibbit account overrides the URI parameters.

Main Client users: Ready to use links are provided if you click "Menu" when you are in your channel tab. There is an entry "Link to channel".