I wanted to make the chat links to proper links so I tried a greasemonkey script called Linkify Plus. With it, the links were white with the white background so I modified the script to make the links red and fixed a few bugs.
Linkify Plus for Quake Live
Userscripts page: http://userscripts.org/scripts/show/96307
Direct link to script: http://userscripts.org/scripts/source/96307.user.js
linkifyforquake.png
Linkify Plus for Quake Live makes the links written to Quake Live chat appear as proper links. All Quake Live links that are not to forums are opened in the same window and the rest will open in a new tab or new window.
Current version:
1.1.9
Last updated:
23.09.2012
Installing
First you need to be able to use userscripts.
Firefox:
Scriptish (recommended) https://addons.mozilla.org/en-US/fir...don/scriptish/
Greasemonkey: https://addons.mozilla.org/en-US/fir.../greasemonkey/
Prism:
KETNAR has a pretty good guide on how to install greasemonkey to Prism.
http://www.quakelive.com/forum/showt...-(late)-xmass.
Internet Explorer:
It is said that sometimes greasemonkey scripts wont work in IE plugin Trixie. I haven't tried it but if you'd like to try, here's the link.
http://www.bhelpuri.net/Trixie/
Chrome:
For Chrome no extensions are needed. Userscripts work without any (thanks to fraggedICE for letting me know), but there is one extension that provides some useful features like offering an easy way to edit the scripts.
https://chrome.google.com/webstore/d...jmpbldmpobfkfo
After installing the plugin, install the script. For Firefox and Chrome, just click the Install button. To install the script in prism, right click the monkey head on the right bottom corner, choose "Download User Script..." and copy paste this:
http://userscripts.org/scripts/source/96307.user.js
Link colors
Since the version 1.1.2 there are no Greasemonkey User script commands. Now changing the color is fairly easy, you just have to choose your desired color from the dropdown list under the chat.
If you don't find the color you want from the list below, ask it in this thread (and possible provide color name + #) and I might add it when I get the time.
Current colors:
red: #FF0000
green: #00FF00
blue: #0000FF
black: #000000
From fraggedICE:
Exact color QL uses for links like the clan tag: #ca3827
If you find any bugs, let me know.
Changelog:
Version 1.1.9
- Replaced /r/ from the links with /#! - if someone gave you a join link or a link to game stats before it could have reloaded QL again but this prevents it
Version 1.1.8
- Compatibility fix - had UI problems with custom map launcher
Version 1.1.7
- Fixed last version and other small fixes
Version 1.1.6
- Changed where links are opened. All Quake Live links that are not to forums are opened in the same window and the rest will open in a new tab or window.
Version 1.1.5
- Rewrote functions that gave the text to linkifycontainer, now the script should be a lot lighter
- Also added Greasemonkey api emulation script for Chrome - No more you need any separate plugin to save color.
Version 1.1.4
- Another bugfix and stopped looking for email addresses.
Version 1.1.3
- Bugfix.
Version 1.1.2
- Removed commands from Greasemonkey "User Script Commands..." menu and added a dropdown selection to change color for better compatibility.
Version 1.0.6 to 1.1.1
- Lagfix.
Version 1.0.5
- Made the color changing work better.
Version 1.0.4
- Added possibility to change color through Greasemonkey "User Script Commands..." menu.
Version 1.0.3
- Limited the use to Quake Live.
Version 1.0.2
- Changed event listener type, now links should appear even after the first message.
Version 1.0.1
- Parenthesis fix
Version 1.0.0
- First version. Changed link color to red.
Original Linkify Plus with white links (does not work properly with Quake Live)
http://userscripts.org/scripts/show/1352


Reply With Quote

