Difference between revisions of "Link"

From Mibbit Wiki
Jump to: navigation, search
(Direct Channel Linking: temp page until chat.mibbit.com/#ch(@srv) is fixed)
m (typo)
 
(5 intermediate revisions by the same user not shown)
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 <nowiki>http://(chat/widget).mibbit.com and https://(chat/widget).mibbit.com</nowiki>.
 
 
Be default, the URLs for [[Sounds]] use protocol autoselect.
 
 
 
== Direct Channel Linking ==
 
== Direct Channel Linking ==
 
 
There are two methods for linking directly to an IRC Channel.
 
There are two methods for linking directly to an IRC Channel.
 +
=== Direct to Main Client ===
 +
<code><nowiki>http://mibbit.com/?channel=%23<channel_name (w/o "#")>&server=<server_address></nowiki></code>
 +
Examples:
 +
<code><nowiki>http://chat.mibbit.com/?channel=%23chat&server=irc.mibbit.net</nowiki></code>
 +
or (HTML for your web page):
 +
<code><nowiki><a href="http://mibbit.com/?server=irc.blah.net&channel=%23yourCh" target="_new_win">open Web Chat</a></nowiki></code>
 +
See [[Uri_parameters#main_client|URI Parameters - Main Client]] for details.
  
=== Direct to Mibbit Client ===
+
Note: Doesn't work for users who are logged into a Mibbit account and have checked any [[Autoconnect|"Auto connect"]] in "Channels".
  
* Standard Parameters:  
+
=== IRC:// URLs ===
  <nowiki>http://mibbit.com/?channel=%23<channel_name>&server=<server_address></nowiki>
+
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 <nowiki>http://mibbit.com/?server=<SERVER>&channel=<CHANNEL></nowiki> 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.
(''example: http://mibbit.com/?channel=%23chat&server=irc.mibbit.net''). See [[Uri_parameters#main_client|URI Parameters - Main Client]] for details.
+
----
 +
For '''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".
  
* Mibbit.net as default:
+
(the third method, <code><nowiki>http://mibbit.com/#<channel_name>@<server_address></nowiki></code> should '''not''' be used since it doesn't work for IE users)
<nowiki> http://mibbit.com/#<channel_name> </nowiki>
+
== Protocol Autoselect ==
uses default mibbit server and selected channel_name (''example: http://mibbit.com/#chat'')
+
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 necessaryNote 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.
* Cannot accept a channel keyTo do so, use channel and server URI Parameters.
 
  
 +
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 <nowiki>http://(chat/widget).mibbit.com and https://(chat/widget).mibbit.com</nowiki>.
  
=== IRC:// ULRs ===
+
Be default, the URLs for [[Sounds]] use protocol autoselect.
 
 
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 [[Widget:Autoconnect|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".
 
 
[[Category:Commands]][[Category:How To]][[Category:IRC]]
 
[[Category:Commands]][[Category:How To]][[Category:IRC]]

Latest revision as of 09:17, 25 December 2012

Direct Channel Linking[edit]

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

Direct to Main Client[edit]

http://mibbit.com/?channel=%23<channel_name (w/o "#")>&server=<server_address>

Examples:

http://chat.mibbit.com/?channel=%23chat&server=irc.mibbit.net

or (HTML for your web page):

<a href="http://mibbit.com/?server=irc.blah.net&channel=%23yourCh" target="_new_win">open Web Chat</a>

See URI Parameters - Main Client for details.

Note: Doesn't work for users who are logged into a Mibbit account and have checked any "Auto connect" in "Channels".

IRC:// URLs[edit]

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.


For 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".

(the third method, http://mibbit.com/#<channel_name>@<server_address> should not be used since it doesn't work for IE users)

Protocol Autoselect[edit]

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 https://(chat/widget).mibbit.com.

Be default, the URLs for Sounds use protocol autoselect.