I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
Why inform someone that activating a link might open a new window or a third-party site?
I think
Why have a link that opens a new window?
This is something that's already covered by the user's browser. They can open links in new windows if they want, why force it on them at all? Personally, I find it annoying when sites do that, and I know my parents struggled with not noticing that sites had opened a new tab and thinking that sometimes the back button just didn't work.
I think a perfectly valid solution to your question is to just not do it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My question goes one level back. Instead of
I think
This is something that's already covered by the user's browser. They can open links in new windows if they want, why force it on them at all? Personally, I find it annoying when sites do that, and I know my parents struggled with not noticing that sites had opened a new tab and thinking that sometimes the back button just didn't work.
I think a perfectly valid solution to your question is to just not do it.