Right now the target="_blank"
attribute is hardcoded in the plugin, so the next best approach would be to overwrite that element’s target
attribute using JavaScript.
Example JavaScript for your “Additional Options” box in AddToAny settings:
a2a_config.callbacks.push({
ready: function() {
jQuery('a[title="Escape Button"]').attr('target', '_top');
}
});
This waits for the AddToAny “ready” event.
Thread Starter
Lisa
(@candeeg)
Lovely – this did just what i needed it to do. Thank you very much! C