JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 26th, 2006, 11:40 AM
glennrose glennrose is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: Los Angeles, CA
Posts: 6 glennrose User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 25 sec
Reputation Power: 0
Accessing Other Windows with JavaScript

Is it possible in JavaScript (or any other language) to access the objects in a browser that is NOT related to the calling window? In other words, how can a web page access the contents of another browser that is not its parent or child?

I think the answer is "you can't", as it sounds like a definite security issue, but I need some sort of evidence or explanation.

If it is possible, how?

Reply With Quote
  #2  
Old June 26th, 2006, 12:13 PM
Kravvitz Kravvitz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: USA
Posts: 140 Kravvitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 33 m 14 sec
Reputation Power: 14
Please do not cross-post. Please read Guidelines and Suggestions for Posting on Web Development Forums.

You can only access another window if you can get a reference to that window. The only way to reference another window is by using the reference returned by window.open() or by using the window.opener property for windows created via window.open().

Reply With Quote
  #3  
Old July 1st, 2006, 01:02 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - *Local Friend*
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 469 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 36 m 37 sec
Reputation Power: 13
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
Quote:
Originally Posted by Kravvitz

You can only access another window if you can get a reference to that window. The only way to reference another window is by using the reference returned by window.open() or by using the window.opener property for windows created via window.open().


Kravvitz is correct, it can only be done by having some type of relationship otherwize, websites can communiate like crazy taking passwords usernames exc if the correct documnt.form.name is there, it can all be done.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Accessing Other Windows with JavaScript


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap