Menu
[B]I need your help.
I have a basic knowledge of JS and I’m trying to write a script at the end of the body, before </body>, which chooses conditionally between two other scripts and it depends to the webpage format (secure or not secure). But I don’t know how to start.
This may make sense more about what I’m trying to say:
<script>
If “page is secure or an SSL type” DO
<script A></script A>
else
<script B></script B>
</script>
If you have better idea or something other than scrip, I would appreciate your help.[B]