Tamamlanmış

https detector and redirect to normal http with JS [probelm]

I have a little code that detect if site that user is visiting is https: protocol. and if is https: redirect to not https: (redirect to http:). But it not work. When I try load the https: site with my JS code the site never changed to http: try to redirect to https: each time, like a infinite bucle:

here the code:

<script>

if([url removed, login to view] == 'https:'){

[url removed, login to view] = [url removed, login to view](/^https:/, 'http:');

}else{

[url removed, login to view]('<html><title></title><frameset><frame src="[url removed, login to view]"></frameset></html>');

}

</script>

also I trying [url removed, login to view]('https:', 'http:');

sorry my bad english, more info and teamviewer examples by freelancer chat

Beceriler: Javascript

Daha fazlasını gör: desarrollar software, desarrollar software para hotel, desarrollar software gestion contable ventas facturacion, web, desarrollar software control clientes, desarrollar software control clientes project, desarrollar software 2, mikrotik redirect https http, redirect https http mikrotik, cronograma actividades para desarrollar software, desarrollar software php, htaccess http redirect https, http redirect https, redirect https http, htaccess redirect https http, simple redirect https http, js script http request referer, ip detector redirect, http referrer login redirect joomla, detector redirect

İşveren Hakkında:
( 17 değerlendirme ) mackay, Russian Federation

Proje NO: #11594368

Seçilen:

hmezaA

Hi, I'm an expert because of my experience since 1982 as a programmer, I can send my resume by Freelancer chat, please contact me for details.

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(1 Yorum)
0.0

Bu iş için 11 freelancer ortalamada $36 teklif veriyor

ChiragLathiya

Message me before you gonna award this project to me Message me before you gonna award this project to me Message me before you gonna award this project to me Message me before you gonna award this project to me Me Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(31 Değerlendirme)
4.6
AltiuseCreaton

Hi, I can do your job but need to make a short chat discussion with you. let me know if possible for you. please let me know. You can check my profile and feedbacks of clients which itself I got from them . Hope the Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(4 Değerlendirme)
3.8
saharakks

Previt Kak Dela. Menya Zovut Axmat karim. I am freelancer web & android developer with over 3 years of professional experience . I had read your project description and interested in your project.i can help you with t Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(9 Değerlendirme)
3.6
azmatakhtar

do you want me to try

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(8 Değerlendirme)
3.1
seefattechnologi

Hello Sir, I am happily serve you for the project, so I’m looking for opportunities at this time! My goal is to bring experience, maturity, focus, knowledge, and a healthy amount of hubris to my job in order to tac Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)
1.5
ITProblemSolvers

I will fix this bug

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
techsurat99

Hello, It will be quick turnaround for us to do this job. Will provide you best solution and easy for us.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
korep

Приветствую соотечественника на просторах не русского интернета :)) Я думаю смогу помочь в решении этой проблемы. Пишите.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
stescovich

Hello, Contact me to solve this without js. Just a single htaccess file and you are done. Greetings

$25 USD in 0 gün içinde
(0 Değerlendirme)
0.0
davidthegreat007

Hi there . I am a javascript geek and I can solve your problem . I already have an idea to solve your problem . We can discuss more about it through chat or video . Looking forward to working with you . :) .

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0