6

Currently I'm using Disqus on my site. It's great, but the only downfall is that when users posts links in their comments and it's clicked on then it sends traffic away from my site.

I want the links to open in a new window/tab. I've emailed Disqus support, and they replied with - "While we don’t currently offer this functionality, we’ve forwarded this as a suggestion to our team for consideration."

From doing a lot of research I am starting to think it's not possible, but if anyone has any suggestions/solutions I would be most grateful.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Geblord
  • 63
  • 4
  • 1
    Considering this isn't anything you can control, it's probably not a great question to post here. That said, we're making a change on our end that will open links in new tabs/windows, which should address your question. – Ryan V Dec 10 '13 at 20:58
  • Thanks alot Ryan, it was a last resort question, and my hours of googling really gave me no choice. – Geblord Dec 11 '13 at 01:34
  • Glad you got your answer then :-) – Ryan V Dec 11 '13 at 08:21
  • @Ryan-v are the changes made? I don't see the option in the admin panel, although I did find some other cool stuff :) – David Silva Smith Oct 09 '15 at 10:26

1 Answers1

0

From http://giuseppecaruso.tumblr.com/post/9135404514/how-to-make-links-in-disqus-comments-open-in-a-new-windo

Solution? Use jQuery to set target value to _blank.

$('.dsq-comment-text a').live('mouseover', function() {
    $(this).attr('target', '_blank');
});
kwerle
  • 2,225
  • 22
  • 25
  • 2
    This isn't a viable solution because Disqus loads in an iframe, therefore we cannot access/modify it's contents. (Besides, this wouldn't work with modern versions of jQuery, since the [live()](http://api.jquery.com/live/) was removed in 1.9.) – Stephen M. Harris Jan 21 '15 at 19:42