WebSite X5Help Center

 
Antonio D.
Antonio D.
User

Auto redirect to a new page  en

Autor: Antonio D.
Besucht 4497, Followers 1, Geteilt 0  

I have added HTML for a payment system with a redirect tag but why dose it work in google chrome and not in Internet explorer?

Gepostet am
11 ANTWORTEN
Adrian B.
Adrian B.
User

Can you post the redirect?

Adrian

Mehr lesen
Gepostet am von Adrian B.
Antonio D.
Antonio D.
User
Autor
Antonio D.
Antonio D.
User
Autor

target="_blank"rel="nofollow"> at added when i posted it on here, so that part is not part of the tag

Mehr lesen
Gepostet am von Antonio D.
John S.
John S.
User

The link/redirect ( with or without the target) functions in IE - 11.407.17134.0

Mehr lesen
Gepostet am von John S.
Antonio D.
Antonio D.
User
Autor

Its a custom code on the paynow function, could be something with the code being inbed in the final page?

i see im also having the problem with Firefox

Mehr lesen
Gepostet am von Antonio D.
Antonio D.
Antonio D.
User
Autor

Thanks KolAsim

The JavaScript option works very well.

I read up about Meta redirect and in one of the forums it was discussed that it does not work with all browsers

Mehr lesen
Gepostet am von Antonio D.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats ESNutzer des Monats PT
Antonio D.
... ... ... I read up about Meta redirect and in one of the forums it was discussed that it does not work with all browsers

... in fact, ... the redirect with the target _blank  is blocked by the "PopUp"  protections of the browser ... hello

ciao

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
David L.
David L.
User

‪@KolAsim ‪ ‪
@Antonio D.

" The JavaScript option works very well. "

"... for redirect JavaScript no! target _blank ..."

Can you please indicate where i need to place the code .and do you have a working example of the code.

David

Mehr lesen
Gepostet am von David L.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats ESNutzer des Monats PT
David L.
‪@KolAsim ‪ ‪ ... ... ...  "... for redirect JavaScript no! target _blank ..." Can you please indicate where i need to place the code .and do you have a working example of the code. David

"... for redirect JavaScript ... or PHP ... no! target _blank ..."

OK ... >> redirect PHP(_parent)

NO! ... >> redirect PHP (_blank)  >> img:

PHP YES ... <?php header('Location: https://www.google.com'); exit(); ?>
PHP NO!! ... <?php echo '<script>window.open("http://www.google.com");</script>'; ?>

HTML META YES ... <meta http-equiv="refresh" content="0; url=https://www.google.com" />

HTML +JS YES ... <script> location.href="http://www.google.com";</script>
HTML +JS NO!! ... <script> window.open('http://www.google.com');</script>
HTML +JS YES ... <script> window.open('http://www.google.com' '_parent');</script>
HTML +JS NO!! ... <script> window.open('http://www.google.com' '_blank');</script>

.

ciao

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Antonio D.
Antonio D.
User
Autor

hi David sorry about the late reply.

What is the idea you have with the code, in other words what do you want to do with it?

Mehr lesen
Gepostet am von Antonio D.