Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Safari doesn't get opener.parent.location.href
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="blbirajdar" data-source="post: 1304446" data-attributes="member: 216879"><p><strong>Resolved</strong></p><p></p><p>[CODE]</p><p><script language="javascript"></p><p> function loadinparent(url){</p><p> opener.parent.location.href = url;</p><p> self.close();</p><p>return false; :Shouting:</p><p> }</p><p></script></p><p></head></p><p><body></p><p><a href="javascript:loadinparent('http://www.apage.com', false);" > Open a page</a></p><p>[/CODE]</p><p></p><p>You need to specify the 'return false;' in this code or wherever opener.parent.location.href is used. This is the safari specifc fix. Not required for other browsers.</p><p></p><p>I have updated your code. I faced the same issue in the Adam's browser i.e. Safari. Its the most non-standard browser on the planet. It works only for Apple products. </p><p></p><p>So next time you want to visit google , use any other browser other than Safari, otherwise you may land on to Bing. <img src="/mac_images/images/smilies/Lips-Are-Sealed.png" class="smilie" loading="lazy" alt=":Lips-Are-Sealed:" title="Lips Are Sealed :Lips-Are-Sealed:" data-shortname=":Lips-Are-Sealed:" /></p></blockquote><p></p>
[QUOTE="blbirajdar, post: 1304446, member: 216879"] [b]Resolved[/b] [CODE] <script language="javascript"> function loadinparent(url){ opener.parent.location.href = url; self.close(); return false; :Shouting: } </script> </head> <body> <a href="javascript:loadinparent('http://www.apage.com', false);" > Open a page</a> [/CODE] You need to specify the 'return false;' in this code or wherever opener.parent.location.href is used. This is the safari specifc fix. Not required for other browsers. I have updated your code. I faced the same issue in the Adam's browser i.e. Safari. Its the most non-standard browser on the planet. It works only for Apple products. So next time you want to visit google , use any other browser other than Safari, otherwise you may land on to Bing. :Lips-Are-Sealed: [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Safari doesn't get opener.parent.location.href
Top