On some sites, like in ircspy, there are irc links that when you click on them, will copy the command and open it in the default irc client.
irc://irc.something.com/foo is a typical link and a typical command is /ctcp foobot xdcc send #1
A few changes need to be done in Firefox in order for this function properly.
I assume you are using Firefox as your web browser and Xchat as your IRC client.
To make Firefox copy the irc links (like from ircspy)
Open up Firefox.
Type about:config in Firefox location bar.
Then, in the filter box, type signed.applets
Double click the entry that appears so that it reverts to true.
Make the links open up in Xchat
Next, in the about:config window, right click on an area there, and select New -> String
In the preference name dialog that pops up, type in network.protocol-handler.app.irc
Then for the string value, type in /usr/bin/xchat
You don't have to restart Firefox. Now go to a site and click on an irc link and a dialog will appear saying if it's ok for the link to launch xchat. Just select ok.
Hope that helps.
El Fin.




Bookmarks