There are 3 previous versions of this script.
// ==UserScript==
// @name WoW Forums clickable links
// @namespace http://dani.tac-ops.net
// @description Makes links clickable even if BLizzard disabled that.
// @include http://forums.wow-europe.com/thread.html?topicId=*
// @include https://forums.wow-europe.com/thread.html?topicId=*
// @include http://forums.worldofwarcraft.com/thread.html?topicId=*
// @include https://forums.worldofwarcraft.com/thread.html?topicId=*
// ==/UserScript==
//regex = /(https?:\/\/([-\w\.]+)+(:\d+)?(\/([\w\/_\.\%-\@\#~]*(\?\S+)?)?)?)/gi;
regex= /(https?:\/\/([-\w\.]+)+(:\d+)?(\/([-=\w\.\%\@\#~;\/\+]*(\?[^<>\s]+)?)?)?)/gi;
for( var i = 0; i < document.getElementsByTagName('div').length; i++ ) {
if( document.getElementsByTagName('div')[i].className == "message-format" ) {
document.getElementsByTagName('div')[i].innerHTML = document.getElementsByTagName('div')[i].innerHTML.replace( /<a .*>(.*)<\/a>/gi, '$1' );
document.getElementsByTagName('div')[i].innerHTML = document.getElementsByTagName('div')[i].innerHTML.replace( regex, '<a href="$1">$1</a>' );
}
}
