Would be cool if anyone has a solution for my problem. Thanks in advance!
I have a similar problem but can’t get it to work with the provided example. I would like to open ALL shares in a new tab in addition to scripted urls and share titles. I have tried different approaches including just using the provided example, but none of them worked. Could you please help me how I have to extend my code so that the share open in a new tab? Thank you in advance!
a2a_config.callbacks.push({
share: function(share_data) {
var new_url = '…';
var new_title = '… ';
if (window.location.href.indexOf("/de/") > -1) {
new_title = '…';
new_url= '…';
}
if (window.location.href.indexOf("/es/") > -1) {
new_title = '…';
new_url= '…';
}
return {
url: new_url,
title: new_title,
};
},
});
-
This reply was modified 3 years, 7 months ago by janado.
-
This reply was modified 3 years, 7 months ago by janado.