Bitcoin Forum
May 14, 2024, 12:59:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A problem with a link to the Bitcointalk.org forums on my web site.  (Read 416 times)
roslinpl (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
June 04, 2014, 02:24:19 PM
Last edit: June 04, 2014, 05:24:58 PM by roslinpl
 #1

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 Smiley

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 Smiley

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 Smiley 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!

1715648356
Hero Member
*
Offline Offline

Posts: 1715648356

View Profile Personal Message (Offline)

Ignore
1715648356
Reply with quote  #2

1715648356
Report to moderator
1715648356
Hero Member
*
Offline Offline

Posts: 1715648356

View Profile Personal Message (Offline)

Ignore
1715648356
Reply with quote  #2

1715648356
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715648356
Hero Member
*
Offline Offline

Posts: 1715648356

View Profile Personal Message (Offline)

Ignore
1715648356
Reply with quote  #2

1715648356
Report to moderator
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12985


View Profile
June 04, 2014, 06:04:40 PM
 #2

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?

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
snarlpill
Hero Member
*****
Offline Offline

Activity: 910
Merit: 530


$5 24k Gold FREE 4 sign-up! Mene.com/invite/h5ZRRP


View Profile WWW
June 04, 2014, 06:58:17 PM
 #3

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.

roslinpl (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
June 04, 2014, 07:03:13 PM
 #4

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 Smiley 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 Smiley

Well it makes things harder Smiley


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 Smiley 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 Smiley

Kind regards.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!