Skip to content

Instantly share code, notes, and snippets.

@larsth
Created December 19, 2016 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsth/201b3f88819cdbf4c0035c403159f615 to your computer and use it in GitHub Desktop.
Save larsth/201b3f88819cdbf4c0035c403159f615 to your computer and use it in GitHub Desktop.
dulingo,com Discussion Stream: Cannot open another discussion stream in a new pane.
# Problem description
By default I, and I assume every one else, cannot open another "Discussion Stream" in a new pane.
# Expected behaviour
I can open a "New" Discussion Stream and/or a "Followed" Discussion Stream in a new browser pane from a "Popular" Discussion Stream.
The action is known as following a link on a HTML page.
# What I got / Erroneous behaviour
I can't follow the link.
If I copy the link, and paste it into the address line of a newly opened pane , I get ";".
## An example
Example link:
Open https://www.duolingo.com/topic/2
Try to open Discussion Stream "New" or "Followed" in **an a new browser pane**.
# Where
I discovered the error in the "Spanish Discussion Stream", and it seems that all discussion streams are affected by this error.
# What is the error
A JavaScript function doesn't work.:
hint:
<a href="javascript:;">Followed</a>
### CSS selector:
#following > a:nth-child(1)
# JavaScript blocker
JavaScripts - and those included from other web sites - are **not** blocked on Duolingo.com
# Something works:
Following a link to another Discussion stream *replaces* the web page, that is, normal behaviour - but I don't want to do that: I want to open that link in a new pane.
# Browser
Firefox 50.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment