View Single Post
ישן 13-07-12, 12:09   # 8
IgalSt
מנהל פורום, עסק רשום
 
IgalSt's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: המרכז
גיל: 38
הודעות: 1,432
Send a message via Skype™ to IgalSt

IgalSt לא מחובר  

ציטוט:
נכתב במקור על ידי Tomer צפה בהודעה
מה שכן, מצאתי תגובה ב- Stack Overflow שמדברת על האפשרות לעקוף את העניין בצורה קצת מכוערת:

http://stackoverflow.com/questions/1...ith-javascript

you can circumvent the same origin policy by having doubling up on iframes. Your main page embeds an iframe to a shim page on your own server. The shim page in turn just embeds an iframe of the foreign page. The master page can scroll the shim page since they're in the same origin
וואלה, פתרון יפה שלא הכרתי. אבל כשחושבים על זה - הוא כ"כ פשוט

תודה!
  Reply With Quote