Https/http Windows - Same Domain
Jul 15, 2011
- We have a page in http
- a popup is opened in http and the form is submitted to https
- the https windows tries to do various stuff to opener....:
Error: Permission denied for https get property Window.document
Any solution for this? Same domain... makes no sense to me such security...
In our application there is also a similar known error, but we can live with that: when a page is accessed with ssl/https jquery thickbox ajax is not working.
View 3 Replies
ADVERTISEMENT
Jul 23, 2005
What is the difference between HTTP and HTTPS??
View 2 Replies
View Related
Jul 30, 2009
If users click say a home page link on one of my https user login pages they are brought to a https version of my home page. Can I prevent certain pages from being accessed by https. I was looking at [url] but don't know how to implement it in this case.
Is there javascript that detects https and diverts to a http page on refresh or something. ( a bit like the javascript detection script HTTP-EQUIV="refresh" content="0;URL=page.php?page=javascript">)
I have too many links on https pages to create a long url for them all.
View 1 Replies
View Related
Jun 12, 2005
I have a nonsecure page that calls a secure popup window to edit credit card info.
This is my popup code.
function popcc(url)
{
newwindow=window.open(url,'name','height=210,width=430');
if (window.focus) {newwindow.focus()}}
This is what I use to close the popup:
<input name="Close" type="button" id="Close" value="Close" onclick="opener.location.reload(); parent.close()">
The weird thing, is that this works when both pages are normal http. When the popup is is https it doesn't work any more. Ideas?
View 7 Replies
View Related
Jan 13, 2010
I have an http page in html that passes variables to an https page using JS. I get an error message permission is denied.
Is there a way I can pass the variable while avoiding the error? I am looking for a solution in JS not php or asp or any other language.
View 5 Replies
View Related
Aug 27, 2010
How can I change the links for a given domain from http to https? For example: [url] would become [url]
View 2 Replies
View Related
Feb 2, 2010
I am writing JavaScript code that runs inside HTTP page, I need to make XMLHttpRequest to a REST web service. The service is running on the same site but it only accepts HTTPS. I tried to prefix the URL with https:// and Firefox rejected it as cross-site scripting attempt. It's not really cross site as I am calling the same site.
I don't have an option to redirect the entire page to https.
Is there a proper way to implement this request?
View 5 Replies
View Related
Jul 23, 2005
I have a frame in which there are 2 IFrames., both being loaded from
the same domain. One IFrame is loaded from http://test1.xyz.com and the
other IFrame is loaded from https://test1.xyz.com/test
I am getting an error while accessing data in the HTTP IFRAME from the
HTTPS IFRAME.
Is it possible at all to access the data in the other IFrame, when the
protocol is different?
View 1 Replies
View Related
Jun 9, 2009
I have a real problem with an e-commerce site which has worked for years without a hitch but with the uptake of IE8 (it seems) this problem is getting more and more frequent Problem: customer continues through checkout on main site (http:[url]....).
When they have to enter their credit card details, they click on a link to open a window (https:[url]....). The details are verified and if valid, the customer is returned to the confirmation page in the parent screen (http:[url]....) and the payment window is closed . Pop-up blockers are causing problems here but even when pop-up blockers are disabled, the confirmation page loads in a new window.I'm using :
<script language="JavaScript">
<!--
window.opener.location="<?php echo ($main_url);?>thanks.php>";[code].....
But the page always loads in a new window and not the parent window.Is there any way to load the confirmation page in the parent window?
View 1 Replies
View Related
Jun 8, 2009
I have a real problem with an e-commerce site which has worked for years without a hitch but with the uptake of IE8 (it seems) this problem is getting more and more frequent. Problem: customer continues through checkout on main site [URL] When they have to enter their credit card details, they click on a link to open a window ([URL]). The details are verified and if valid, the customer is returned to the confirmation page in the parent screen ([URL]) and the payment window is closed. Pop-up blockers are causing problems here but even when pop-up blockers are disabled, the confirmation page loads in a new window.
[Code]...
View 1 Replies
View Related
Apr 10, 2006
Is it possible to have secured (SSL/HTTPS) and non-secured (HTTP)
content in the same page without breaking the security? I am developing
a secured reservation system in which the user can access Google Maps
(not secured). The map is embedded in the page and does not open in a
separate window.
What solution do you recommend? Use iframes? If so, how?
View 2 Replies
View Related
Jan 4, 2012
I am doing some development using jQuery $.getJson lately and found the following weird scenario.
1. open google chrome without any argument then load a local html file.
2. the local html file will need to have $.getJson[url] .... bla bla bla and jQuery.support.cors = true.
3. data will get loaded
But if you try to load the exact same json data from other domain or localhost, it wouldn't works.
View 1 Replies
View Related
Oct 28, 2011
I need to send data through POST to other domain.
My script is:
But I am still getting the error XMLHttpRequest cannot load [url]. Origin [url] is not allowed by Access-Control-Allow-Origin.
XHR finished loading
I set in the destination
I don't know why it dosen't work.
View 2 Replies
View Related
Jun 7, 2009
Is it possible to capture the domain change event OR domain of the target site in javascript? To elaborate, suppose I am on my site (www.mydomain.com) and if I type www.someotherdomain.com in the address bar, I want to capture the target URL/domain i.e. someotherdomain.com in the javascript code of my site (mydomain.com). I am trying to call sign-off function of my site upon customer navigation to some other site without loggin off. I can not use body/window onUnload function because I have a common layout JSP that would be reloaded for each and every page. So I am trying to capture the URL/domain of target site and check if it is different from teh current domain; Then only I will call my sign-off function to kill the customer session.
View 2 Replies
View Related
Jan 15, 2010
i need to post data from a form to a page on another domain, without leaving the current page.I am using ASP as a server language.
View 9 Replies
View Related
Apr 21, 2007
I'm looking for a while for doc's to understand how to delelop my own
https client to automate some tasks.
The website, I try to use for example, contains a javasript to provide
for login (URL: https://www.cortalconsors.de/euroWebDe/-).
I've attached the part of the code which is supplies the login fields
(probably easier to read when browsing the source code of the page).
I've no idea, how the POST should look like to do the login.....
View 6 Replies
View Related
Apr 6, 2010
below is clickunder code , but it open under windows when visitor click everywhere on the pagei need it be speacial for links , whenever visitor click on speacial link , it opens windows
<SCRIPT LANGUAGE="Javascript">
function PopShow3() {
CookieTest=navigator.cookieEnabled; if(CookieTest)
[code]....
View 5 Replies
View Related
Jul 23, 2005
Basically I have a WinXP machine (SP1 with all web updates don't want to
upgrade to SP2 until this issue is resolved) and IE 6 (all web updates).
If I am on a secure (https) site none of the hyperlinks seem to work. As I
mouseover the relevant links are shown in the status bar (ie another page or
site), but when I click on these links nothing happens at all. Its as if
something is blocking the process of firing these links. NOTE: I can click
on form buttons OK and the exact same links work fine on 3 other machines
that I have.
View 1 Replies
View Related
Jul 8, 2011
I am trying to write a tool (say [URL])The tool contains a list of https urls (say [URL]) given as a hyperlinks (say abc) on clicking the url the http status code of the https page should be displayed in the same page.. Is this possible? I am currently using the following code snippet..
function sendRequest(url){
var client = new XMLHttpRequest();
client.onreadystatechange = function(){
if (this.readyState == 4)
alert(client.status);
} client.open("GET", url, true);
client.send(null);
}
This seems to be working if the url given is http url but I have to get status for https url for a non-secure (http) url.
View 1 Replies
View Related
Jul 23, 2005
I have a parent window that pushes a new window object onto an Array
with the following code :
OpenChild()
{
//totalNumWindowsCreated is global
totalNumWindowsCreated = totalNumWindowsCreated + 1;
childWnds.push(window.open(link, "child" +
totalNumWindowsCreated,"dependent"));
..
..
..
}
This pops up a new window with every call. In the child window I call
a parent function onbeforeunload, appClose() :
function appClose(){
if (window.opener && !window.opener.closed){
window.opener.CloseChild(getQueryString("application"));
}}
This is in my frameset tag of the child code :
<frameset ... onbeforeUnload='appClose()'>
The window.opener.CloseChild() function is called perfectly when I have
one child window open, but as soon as I create another child window
both of the open child windows don't ever call it. They do both go
into the onbeforeunload appClose() function, but do not call the
window.opener.CloseChild() function inside of this routine.
Anyone have any ideas why when I have two child windows open I can't
access the window.opener functions?
I have tried taking each new window out of the array and used the
following code in CloseChild() :
CloseChild()
{
//win and totalNumWindowsCreated are both global
totalNumWindowsCreated = totalNumWindowsCreated + 1;
var win = window.open(link, "child" +
totalNumWindowsCreated,"dependent");
..
..
..
}
View 1 Replies
View Related
Jul 16, 2010
Suppose Server url is : [URL] and it returns json data I want to call this url using Jquery in iphone I wrote this code :
$.ajax { type: "POST",
contentType: "application/json; charset=utf-8",
url: "https://example.com/employee",
data: "{}",
[Code]....
Is this the right way to call this https request or I need to do some other authentication also Currently it does not work in iphone It return's json data in firefox,chorme,IE ,safari but doesn't return it in iphone
It returns valid json when i send request to http
View 1 Replies
View Related
Jan 29, 2006
I am making a site and I have an SSL certificate installed in the hosting. The problem I have is that any body can enter in the site's directories/files with https and also with http protocol :eek: .
I do not know how to do, so when some body try to open the directories/files with http the site is opened only with https protocol. With .htaccess, javasript, php, ??????
View 1 Replies
View Related
Aug 31, 2009
It seems that if I use jquery in https and do an ajax call out and then update the dom with the resulting html I get an HTTPS unsecure content warning. Now the content is all https and there are not http calls any where so I'm wondering if this has been seen before. I've dug very deep looking for the issus and if I take jquery out of the equation it doesn't give me an error. But I've standardized jquery as part of the site and don't want to mix straight old javascript with jquery, if I can avoid it.
View 3 Replies
View Related
May 3, 2010
I'd like to insert an image with fixed position in all https pages. Is it possible? How?
View 3 Replies
View Related
Jul 23, 2005
I'm trying to dynamically set the height of my Iframe. my https: main page
is calling another https in an Iframe. But i get an access denied error
from my javascript trying to call the parent document.
Main https page
<IFRAME APPLICATION="yes" style="width:100%;" id="iframename"
frameborder="no" scrolling="no" SRC="https://www.otherdomain.com">
otherdomain.com html
------------------------------------------------
<script>
function bodyheight() {
x = document.body.scrollHeight
parent.document.all.iframename.style.height = x
}
</script>
View 1 Replies
View Related
Aug 26, 2011
I am developing a mobile web app which communicates with a wcf service that returns data in json format. The way security is handled is the user logins and recieves a token which is added to the http header. The login ajax request which passes the url strings to the service is using https protocol. This works fine. The other 2 ajax requests are also supposed to use https but when I do this the custom header isn't added. If I use http which is the old url, the custom header is added to http header. I have tested this using fiddler2 and firebug and for some reason it doesn't like https in the ajax request url.
function login_service()
{
//$.mobile.pageLoading();
var stringUsername = $('#txtUsername').val();
var stringPassword = $('#txtPassword').val();
[Code]...
View 4 Replies
View Related