https://www.duolingo.com/michael.snowden

Don't open profiles in same tab

If I cmd-click (using Mac) on a user's profile in a discussion thread, I expect it to open in a new tab, as per usual with hyperlinks. However, it opens the profile in the same tab, which deletes my progress in the lesson. Please change this!

September 17, 2016

31 Comments


https://www.duolingo.com/psionpete

If you are using Safari, check your settings, it may have been turned off accidentally.

It can be done programmatically in Duolingo but it could be quite a big job AND it is not supported in all versions of HTML so could cause problems with some users.

September 17, 2016

https://www.duolingo.com/michael.snowden

I am using Chrome. It is not in my settings because it works on other links both on Duo and other sites, so it is a Duo-side issue.

September 17, 2016

https://www.duolingo.com/psionpete

Have you tried it with Safari?

September 17, 2016

https://www.duolingo.com/michael.snowden

No. I don't use Safari.

September 18, 2016

https://www.duolingo.com/Rootyjr

Duo changing links to automatically open in a new tab is possible however changing how certain keys you are pressing will affect opening a new tab can't be done without extensive garbage code requiring javascript or something else. However for you to be certain, you could right-click on the user link and if you don't have a mouse use ctrl-click. When you do that, it opens a right-click dialog and you move your mouse down to "open in a new tab" and click.

September 17, 2016

https://www.duolingo.com/michael.snowden

You misunderstand my question. I don't want Duo to automatically open links in a new tab with normal clicks. There is a default behavior for cmd-clicking on hyperlinks, which opens them in a new tab. I am not saying that normal clicks should open in a new tab. Duo has changed the default behavior of their hyperlinks with some weird extra Javascript that they should remove.

September 17, 2016

https://www.duolingo.com/Rootyjr

I don't believe javascript was involved in that. It is possible, but I highly doubt they did that on purpose.

September 17, 2016

https://www.duolingo.com/michael.snowden

I don't think you're right: http://superuser.com/a/927609/291120

September 18, 2016

https://www.duolingo.com/Rootyjr

Interesting, I guess that makes since. However, fixing this problem would be near impossible.

September 19, 2016

https://www.duolingo.com/michael.snowden

All they have to do is change their Javascript a little.

September 19, 2016

https://www.duolingo.com/Rootyjr

Yes, changing Javascript could possibly but not necessarily fix it, because there may be no other way than the way their Javascript currently works. Secondly, a small fix on the scale of a site is actually a very large fix. Last but not least, based on point 2, do we really want Duolingo to practically waste time and resources fixing a relatively small, but very time consuming to fix problem like this. Especially, when they could be improving other parts of the site?

September 23, 2016

https://www.duolingo.com/psionpete

It is your browser that determines the beviour of cmd-clik key press, not Duolingo. In the Safari browser it is configurable. I do not use the Chrome browser on my iMac but I would think that it is configurable in that browser also.

September 18, 2016

https://www.duolingo.com/hughcparker

It's both. Different browsers behave in different ways, and some are better than others at implementing the various standards that make up the web. The Javascript code etc that the browsers are running comes from the websites that the browser is using, though.

September 25, 2016

https://www.duolingo.com/michael.snowden

This is false. Source: I am a web developer.

September 25, 2016

https://www.duolingo.com/Larkspire

If it's as easy a task as you believe it is, perhaps you could re-write the code yourself and submit it to Duo as a suggestion.

September 25, 2016

https://www.duolingo.com/Lilyanne_Matsuda

Thanks for the warning - this actually happened to me last week, and just before I finished the lesson, too! : (

It's discussion posts like these that really matter, not unimportant ones like, "Want to be my friend?", and many others.

Thanks again!!! ^-^

P.S. Here's a lingot. ; )

September 18, 2016

https://www.duolingo.com/Larkspire

I'm not sure this is a Duo-side problem. The usual methods on Windows still work for me, and there's no reason why the site admins would randomly disable a single method of opening new tabs on Macs (if that's even possible).

September 17, 2016

https://www.duolingo.com/KateVinee

No, it's something Duo-y. I'm on Windows, and ctrl-click doesn't open windows in new tabs on Duo as it should for me (and never has). It works fine everywhere else, though.

September 18, 2016

https://www.duolingo.com/michael.snowden

It is a Duo-side issue. This behavior works properly on most other links on this site and others.

September 17, 2016

https://www.duolingo.com/Larkspire

You're both right - it looks like I was wrong and Duo have inadvertently disabled a single method of opening new tabs, probably because ctrl is used in custom hotkeys/shortcuts elsewhere in the site. I don't know much about coding so I don't know if that's fixable - disabling those shortcuts would probably have even more people in even bigger tizzies.

Middle-clicking (if Macs can do that) and right-click-"open in new tab" still work, though.

September 18, 2016

https://www.duolingo.com/hughcparker

Since you're asking for help troubleshooting a problem, could you move this post to the Troubleshooting forum? That's the forum that the troubleshooting folks read, so you're likely to get more and better answers there.

Don't delete it and create a new one, just click edit, and change the topic from Duolingo to Troubleshooting. Here's a guide on how to move a post: https://www.duolingo.com/comment/16609773.

Thanks :)

September 17, 2016

https://www.duolingo.com/michael.snowden

Thanks, changed it.

September 17, 2016

https://www.duolingo.com/WildSage

Have you sent a bug report?

September 18, 2016

https://www.duolingo.com/michael.snowden

I'd like to. Where do I do that?

September 18, 2016

https://www.duolingo.com/michael.snowden

Found it. OK, I submitted a bug report.

September 18, 2016

https://www.duolingo.com/psionpete

I have just Googled about this problem and it appears to have generated a lot of noise on the internet and not just with Duolingo or even Chrome. The problem can be caused by Javascript but I doubt that Duo has done this, although you could open the page and check any Javascript code.

There were a variety of theories ranging from a bluetooth keyboard in the users backpack, the problem being cured by clearing out cookies etc. and downloading a userscript also cured the problem. It might help your problem if you start looking further away for the cause of the problem.

September 18, 2016

https://www.duolingo.com/Lingo6128

Get a 3 button mouse. Middle click on any link and it opens in a new tab, then you will not be at the mercy of these 'bugs'.

September 23, 2016

https://www.duolingo.com/ShreyWalia

Just saying, it could always be a tiny software glitch ;)

September 17, 2016

https://www.duolingo.com/michael.snowden

It most likely is, and they should address it.

September 17, 2016

https://www.duolingo.com/zsl5911

That is sad :(

September 17, 2016

https://www.duolingo.com/Timothyk9

Das ist traurig :'(

;)

September 17, 2016
Learn a language in just 5 minutes a day. For free.