Closed (works as designed)
Project:
AddToAny Share Buttons
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2011 at 12:42 UTC
Updated:
16 Mar 2012 at 10:19 UTC
AddToAny by default opens a new window when a service is selected. This is great.
For me, the original window, containing my Drupal site page and the AddToAny button, ALSO opens/switches to the service selected.
So I end up with 2 windows with the service selected and my original site page is gone.
Please help.
Comments
Comment #1
medrupalfan commentedTo try and debug this, I added a target="_blank" attribute to an anchor link in my site and my browser behaved correctly: A new window opened with the linked page and my original window stayed the same, with the original page.
So I would say that my browser is responding correctly to a link that opens a new window .
I am not a programmer or expert in any way, but this leads me to believe it is something in the module?
Any further help would be much appreciated.....
Comment #2
medrupalfan commentedThanks to the help of another Drupal user, the problem was identified as being caused by the Google Analytics module.
See http://drupal.org/node/1075294#comment-4189202
and http://drupal.org/node/1057914
Comment #3
JGO commentedHi is that true? I am using the latest GA dev module and also experiencing the problem :(
Comment #4
JGO commentedComment #5
drakythe commentedJGO,
I just tested this and was unable to reproduce. However GA was not installed on my test site. GA might be the problem though I was under the impression that that particularly bug had been squashed. You might try adding a target="_blank" to a link on your site and making sure that works. If it does not work, just any sort of htmlpurifier settings you might have. I had a site once that refused to open links in a new window because something kept stripping out the _blank tags.
Comment #6
micropat commentedAs pointed out in #1075934-2: Original and new window both open with the service - It's an issue with another misbehaving module, Google Analytics:
#1057914: Custom outbound link tracking with outdated link targets or javascript is broken
Seems that the workaround is to configure the G.A. module to not track outbound links.