Bitcoin Forum

Other => Meta => Topic started by: roslinpl on June 04, 2014, 02:24:19 PM



Title: A problem with a link to the Bitcointalk.org forums on my web site.
Post by: roslinpl on June 04, 2014, 02:24:19 PM
Hello!

This is a question to staff members/moderators as I have a little problem.

I am developing a web site, Bitcoin related where I had two links (for now) to Bitcointalk.org forum.

I am working with Unity3D engine to build it up, and links were working very good till last night :)

Now I am getting an error message while trying to open those links to Bitcointalk.org that page should be targeted to open in a separate tab or a window....

Other links related with other pages works OK as before. This happen only to Bitcointalk.org links which must be caused by some changes :)

For me this is a little problem because in  Unity3D  scipting I can make a link to open (like I did for now) in a new window (as it is highly hard or impossible to open  a link in a new tab), but opening a new window is blocked by the web browser.
So now I would need to inform users that they need to enable pop-ups in their browsers  which isn't good :) in this case.

I just want to know:  was there any changes done to the forum to block links from external pages to open in a main window of those pages?
Or something else is causing this?

Thanks in advance for any responses.

Kind regards!



Title: Re: A problem with a link to the Bitcointalk.org forums on my web site.
Post by: theymos on June 04, 2014, 06:04:40 PM
Quote
I just want to know:  was there any changes done to the forum to block links from external pages to open in a main window of those pages?

I don't think so.

Maybe it's because the forum uses https?


Title: Re: A problem with a link to the Bitcointalk.org forums on my web site.
Post by: snarlpill on June 04, 2014, 06:58:17 PM
I just checked my site, I have no problems with my BTCtalk.org links opening in a new tab/window. Have you tried
Code:
<a href="https://bitcointalk.org/index.php" target="_blank">Bitcointalk.org</a>
   ?
Apologies if that seems obvious, I don't know how new you are to writing code.


Title: Re: A problem with a link to the Bitcointalk.org forums on my web site.
Post by: roslinpl on June 04, 2014, 07:03:13 PM
Quote
I just want to know:  was there any changes done to the forum to block links from external pages to open in a main window of those pages?

I don't think so.

Maybe it's because the forum uses https?
Thanks for your response!

I think you are right.

While typing a post I just double checked everything and what I found that indeed my Button linked to Blockchain.info which is https too stopped working as well..

Ok ... so now I do understand that I cannot open htts sites on a main window .. (I could yesterday..)

I didn't change anything to my script while this "error" occured. So this is why I was thinking that there was some change on a Bitcointalk.org.

This script operating a button is:
Code:
// This one below was working till ~yesterday and it was opening a link in a same tab as my web page was
      //Application.OpenURL("https://bitcointalk.org");
[b]//This one I am using right now according to error given while using ^ ^, but it is a window blocked by a most of the browsers by default[/b]
       Application.ExternalEval("window.open('https://bitcointalk.org','_blank')");

In JavaScript or C# with Unity3D there isn't really possible to make it open in a "tab" instead of a "window". Perhaps there is some way to implement a script which will do it but hours of scripting are not worth for this kind of a problem :) as it was working correctly till yesterday.

But perhaps I will need to figure it out somehow well ...


Thank you one more time for your response. I was pretty sure that blockchain.info was loading before but when Bitcointalk.org already wasn't ... perhaps it took some more time for google bots to find it out :)

Well it makes things harder :)


I just checked my site, I have no problems with my BTCtalk.org links opening in a new tab/window. Have you tried
Code:
<a href="https://bitcointalk.org/index.php" target="_blank">Bitcointalk.org</a>
  ?
Apologies if that seems obvious, I don't know how new you are to writing code.

I am writing in a JavaScript in this case. Well it was working great with my script that you can read above but now it isn't :) Like I told somewhere above perhaps this is due to some google bots, or maybe I am wrong - but I dunno other answer as it was working yesterday and it is not working now :)

Kind regards.