Thanks for your reply. I implemented the provider but it still didn't work. When I view the source of the preview, it shows the link and target blank, but clicking still doesnt do anything.
I found out what the problem is though. You have added an onclick='return false;' statement to the links. So if I extend the custom provider like below, things will work again:
Added:
link.removeAttribute(
"onclick"
);
Added:
link.setAttribute(
"onclick"
,
"return false;"
);