Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2004, 04:04 AM
Authorized User
 
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default By pass Scripting Restriction

hey i want to access one html page(from frame or iframe) which is residing on another domain
(for e.g. http://www.google.com)and after that i am reading contents of the page
by using following code
myFrame.document.body.innerHTML
which is giving access denied error
microsoft document says this is not possible if you are accessing
page from another domain
(http://msdn.microsoft.com/library/de...g_security.asp)
may i know how to handle this?
my requirement is to read some contents from third party html page(we have understanding with those people) and put into our site
please suggest some ideas

thanks
hrishikesh musale






 
Old July 16th, 2004, 12:43 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If you need to include data from someone else's site, why not use an iFrame in the first place?

AFAIK, there is no way around the "access denied" warning.

HTH,

Snib

<><
 
Old July 18th, 2004, 11:48 PM
Authorized User
 
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well snib we are using iframe only (in first page,as u said) but things are stopped at 'ACCESS DENIED WARNING'
can you suggest any other alternative to achieve this functionality

Thanks
hrishikesh musale






Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Access Restriction directly vinod_yadav1919 Javascript How-To 9 November 2nd, 2011 06:33 AM
Restriction to certain applications PankajGarg10 General .NET 0 April 13th, 2007 01:08 AM
xsd:restriction zas XML 0 November 1st, 2005 10:43 PM
Search restriction Snib Forum and Wrox.com Feedback 0 August 13th, 2004 11:02 AM
Oracle table name length restriction pankaj_daga Oracle 1 May 12th, 2004 11:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.