Links open in same tab/window when new tab option is enabled
-
Yeah, the title pretty much says it all.
Here's a post with an offending link for testing:
https://what.thedailywtf.com/post/1017589
The link itself:
Here's what my settings look like:
Tried a refresh, no luck.
-
@abarker Reported to GitHub:
-
@boomzilla said:
It's a link inside an iFramely iframe. I'm not sure there's a way to do anything about this.
-
@boomzilla It's a one-box. Why is it in an iFramely? Is that just how NYTimes presents it?
-
@abarker
< >
"Onebox" is a discourse plugin. But the name stuck here. iFramely is the rough equivalent plugin for NodeBB. Depending on how the target site responds to the oEmbed request, you can get a simple link, some html that's injected into the page or an iframe, which as I understand it is kind of separate from "normal" page content. I don't believe that the source page can change the links inside of an iframe to make them open in another tab / window.
</ >
-
@boomzilla said in Links open in same tab/window when new tab option is enabled:
@abarker
< >
"Onebox" is a discourse plugin. But the name stuck here. iFramely is the rough equivalent plugin for NodeBB. Depending on how the target site responds to the oEmbed request, you can get a simple link, some html that's injected into the page or an iframe, which as I understand it is kind of separate from "normal" page content. I don't believe that the source page can change the links inside of an iframe to make them open in another tab / window.
</ >
FWIW, I think you can catch the navigation via JS and handle it via hacky, hacky shit. But that's a hacky, hacky solution and probably isn't worth it.
-
@boomzilla said in Links open in same tab/window when new tab option is enabled:
@abarker
< >
"Onebox" is a discourse plugin. But the name stuck here. iFramely is the rough equivalent plugin for NodeBB. Depending on how the target site responds to the oEmbed request, you can get a simple link, some html that's injected into the page or an iframe, which as I understand it is kind of separate from "normal" page content. I don't believe that the source page can change the links inside of an iframe to make them open in another tab / window.
</ >
so what you are saying is we should disable the iframely plugin?
i'm pretty sure that's what i'm hearing.
-
@accalia said in Links open in same tab/window when new tab option is enabled:
so what you are saying is we should disable the iframely plugin?
i'm pretty sure that's what i'm hearing.
-
@boomzilla said in Links open in same tab/window when new tab option is enabled:
@accalia said in Links open in same tab/window when new tab option is enabled:
so what you are saying is we should disable the iframely plugin?
i'm pretty sure that's what i'm hearing.Dir Sir and/or Madam,
I have considered your image meme response carefully and I have come to the following conclusion:
I hope this missive finds you in good health, and i wish you the luck you deserve in future endeavors.
- Accalia de Elementia, Esq.