Is there any way to detect HTTP or HTTPS and then force usage of HTTPS with JavaScript?  I have some codes for detecting the HTTP or HTTPS but I can't force it to use https: .  I'm using the window.location.protocol property to set whatever...
Is it possible to detect, on the client side, whether the user is using an encrypted page or not?  Put another way -- I want to know if the URL of the current page starts with http or https....
My website has complete https and its using outer jquery resource which is http.  In IE 8, when I'm redirecting the site it giving me  "do you want to view only the webpage content that was delivered securely" warning How to avoid this?...
I've been doing a lot of research and could not find a way to handle this. I'm trying to perform a jQuery ajax call from an https server to a locahost https server running jetty with a custom self signed certificate. My problem is that I cann...
Leaving out the http seems to make it connect using HTTP, but I don't have a site with HTTPS enabled to test whether its true for HTTPS also.  Does using //www.example.com/test.js automatically pick the protocol based on the main document's p...
I have a node.js app, that uses socket.IO. It works fine on http, but when trying to connect to the socket through https - nothing happens. Here's some part of the code:    var fs = require('fs');    var ioHttp = require('socket.io...
I have a web page that loads in an IFRAME, that runs correctly in IE and Firefox but not in Opera.  Which I hate, because I've been an Opera user for years.  And I wrote this thing. :-)  The problem is that Opera is not loading some of the JavaSc...
I need to test an API served via HTTPS with mocha and super test (the certificate are not expired)  This is a gist of the server :   ... var app = express(); var _options = {     key: fs.readFileSync('my-key.pem');,     cert: fs.readFileSync(...
I am facing a strange issue after the popup is created onclick. The popup opens up but hangs immediately on IE8 (works fine on all the other browsers including IE6). But on adding the alertbox as show in the JavaScript code, the popup works fine....
When developing client side javascript applications, the developer network panel is invaluable for debugging network issues:    How does a developer creating a NodeJS application monitor the network traffic from the nodejs application to a http/https...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.