Page 1 of 1

"onclick="window.open(this.href);return false;" on links

Posted: Mon Aug 11, 2008 10:01 am
by scottybt
Hi. When I just paste a link into a post without the URL bbcode, and go to edit the same post later on, I get this on the link:
http://www.somewebpage.com" onclick="window.open(this.href);return false;

How do I get rid of this problem? I have the latest version of phpBB3.

Thanks.
Scott

Re: "onclick="window.open(this.href);return false;" on links

Posted: Mon Aug 11, 2008 10:03 am
by karlsemple
It looks to me like you have incorrectly applied the change in this KB article http://www.phpbb.com/kb/article/links-o ... w-windows/ to open links in a new window.

Re: "onclick="window.open(this.href);return false;" on links

Posted: Mon Aug 11, 2008 10:48 am
by scottybt
Thank you! I followed your link and did it over again. Don't know quite what was wrong, but it works perfect now.

CASE SOLVED

Scott

Re: "onclick="window.open(this.href);return false;" on links

Posted: Wed Jun 01, 2011 3:55 pm
by zulater
I'm having this issue now.
I followed the instructions and it worked fine previously. I have since added "Advanced Double Activation Pack" and "Advanced Block Mod"
I have gone back through the "open links in a new window" mod and everything is correct but I am still getting the extra wrapping upon an edit.
Any insight?
Any help greatly appreciated.