I have a javascript kind of feed, its more like a widget which displays dynamic content (that content is syndicated from other site). This is what I have:
<div id="previewWidget"></div>
<script type="text/javascript" src="https://api.something/hlwidgetcommon.js">
<script type="text/javascript" src="https://api.something/hlwidgetcommon.js"></script>
<script type="text/javascript" src="http://api.something/latestDiscussion.js"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
hl.latestDiscussion('previewWidget', {
discussionKey:'d06c3624-210e3-4a2b-a303-003f7ed66e038', <---------- random letters
maxToRetrieve:'3',
subjectLength:'50',
contentLength:'160',
moreUrl:'https://www.something.com',
showLoginStatus:'0',
loginUrl:'https://www.something.com',
domainUrl:'https://www.something.com',
cbUseBioBubble:'0',
includeStaff:'1',
HLIAMKey:'d06c3624-210e3-4a2b-a303-003f7ed66e038' <---------- more random letters
});
});
</script>
(http://www.pastebin.ca/3030247)
What I would like to do is that each link that feed generates is opened in a new tab.
There is no <a href="#">
for me to go and add target=_blank
.
Example: This is what the feed generates (its a forum feed): https://i.stack.imgur.com/p0kHJ.jpg