8

@dfox Please do target="_blank" or similar thing for links in rants on the website :)

Comments
  • 0
    what if i told you people use window.open too!!!
  • 2
    @4by10 but, but... tabs! :(
  • 0
    Command/Control + Click. target="_blank" has its own security issues
  • 0
    @tytho you don't need to even go near control/command if you have set in browser to open links in a new tab and not in new windos. Browser takes target="_blank" as open in another window or better said "don't open in current one", which leaves your session alone and creates a new one.
  • 2
    @KeyWeeUsr when you do target _blank, the new window has access to window.opener, which is a reference to the source page's window object. It doesn't have to be the same domain, which makes it super vulnerable to phishing and other such exploits. There ways to secure it, but it saddens me that not more people know about this: https://jitbit.com/alexblog/...
  • 0
    @tytho ou shit. +10 if I could!
Add Comment