Bitcoin Forum

Other => Meta => Topic started by: theymos on April 23, 2016, 04:20:34 PM



Title: Links no longer open in a new window/tab
Post by: theymos on April 23, 2016, 04:20:34 PM
Previously, user-generated links would often open in a new window/tab. However, kcud_dab found out that there are security issues (https://mathiasbynens.github.io/rel-noopener/) with this, so I removed it. You'll have to middle-click links if you want them to open in a new tab.

If people find this disruptive, I could add rel=noreferrer to some of the target=_blank links, but then referrer info would never be sent, which might be undesirable.


Title: Re: Links no longer open in a new window/tab
Post by: mcb1221 on April 23, 2016, 04:31:38 PM
Very good example made by kcud_dab to show the vulnerability live. I have been using target=_blank in many of my sites and will now take care of thins , but still the right clicking in link and selecting open in new tab will prevent this?


Title: Re: Links no longer open in a new window/tab
Post by: kcud_dab on April 23, 2016, 04:36:55 PM
I'm not the author of the blog post (it's @mathias on twitter).
This was submited / discussed here today -> https://news.ycombinator.com/item?id=11553740


Title: Re: Links no longer open in a new window/tab
Post by: theymos on April 23, 2016, 04:42:16 PM
the right clicking in link and selecting open in new tab will prevent this?

Yeah, that's fine. The issue seems to be that when there's a target="_blank" link, the browser considers the new window/tab to be a "child" of the original page. This is a holdover from an era when popup windows were commonly used for all sorts of things, and the "target" attribute was used to affect the child pop-ups of a website.


Title: Re: Links no longer open in a new window/tab
Post by: Mitchell on April 23, 2016, 04:47:00 PM
Thanks for looking out for us kcud_dab!


Title: Re: Links no longer open in a new window/tab
Post by: twister on April 24, 2016, 02:51:34 PM
How about if I click Ctrl+Click? I usually always do that, hate opening links in same tab. Thanks Kcud_dab (first time I've seen you btw, greetings! :) )


Title: Re: Links no longer open in a new window/tab
Post by: Quickseller on April 24, 2016, 05:35:11 PM
Would it be possible to have the "rel=noreferrer" option be a user setting (it would be essentially if a link will open in a new tab or not)?

I personally do not mind that my referrer info will not be sent (I believe this actually somewhat increases privacy), and I do find it annoying that links do not open in a new tab as I often need to come back to where the link was posted in order respond to the post containing the link.


Title: Re: Links no longer open in a new window/tab
Post by: Chris! on April 25, 2016, 03:57:09 PM
Aha! I wondered if links had always opened in the same tab and I just didn't notice! Well, if it's a security risk then I'm glad it's a simple fix. Thanks kcud_dab!


Title: Re: Links no longer open in a new window/tab
Post by: xaker74 on April 27, 2016, 10:55:37 AM
as well I have wont to press the middle mouse button, and not angry out all around me good


Title: Re: Links no longer open in a new window/tab
Post by: Spoetnik on April 28, 2016, 07:03:54 PM
I was already using middle click of course but thanks for the news.


Title: Re: Links no longer open in a new window/tab
Post by: Gleb Gamow on April 29, 2016, 04:45:36 AM
Would it be possible to have the "rel=noreferrer" option be a user setting (it would be essentially if a link will open in a new tab or not)?

I personally do not mind that my referrer info will not be sent (I believe this actually somewhat increases privacy), and I do find it annoying that links do not open in a new tab as I often need to come back to where the link was posted in order respond to the post containing the link.

I know a friend of a friend of a friend paid through me that would be more than happen to hard-code this in the new forum for ONLY U$225K.

Seriously, so that's what the right side of the mouse/pad (in my case) is used for. I'm learning all kinds of neat stuff on this laptop this week. Last week I learnt that I could use the numbers on the right side as well as the numbers on the top row to embed numbers.

https://cdn.meme.am/instances/500x/66687873.jpg

EDIT: I just found another ENTER key on this keyboard. I wonder what it does.


Title: Re: Links no longer open in a new window/tab
Post by: ZOOM007 on April 29, 2016, 02:35:42 PM
yeah that is right that links are not opening in new tab because it changed but i think if any one want to open that link in new tab then ctrl and click then that link will open in new tab.
but this good that you have changed that setting it is good with that mode.


Title: Re: Links no longer open in a new window/tab
Post by: thoth-Atlantian on May 05, 2016, 11:55:33 AM
Would it be possible to have the "rel=noreferrer" option be a user setting (it would be essentially if a link will open in a new tab or not)?

I personally do not mind that my referrer info will not be sent (I believe this actually somewhat increases privacy), and I do find it annoying that links do not open in a new tab as I often need to come back to where the link was posted in order respond to the post containing the link.

I know a friend of a friend of a friend paid through me that would be more than happen to hard-code this in the new forum for ONLY U$225K.

Seriously, so that's what the right side of the mouse/pad (in my case) is used for. I'm learning all kinds of neat stuff on this laptop this week. Last week I learnt that I could use the numbers on the right side as well as the numbers on the top row to embed numbers.

https://cdn.meme.am/instances/500x/66687873.jpg

EDIT: I just found another ENTER key on this keyboard. I wonder what it does.



LOLZZZZZ

Ah good so it's not just me, Figured I must have changed something in browser.

Super annoying