-1

Unsafe JavaScript attempt to access frame with URL http://starproject.galaxy-games.com/content/play-star-project from frame with URL http://spgame.galaxy-games.com/star_galaxy/File/Game_Main.php. Domains, protocols and ports must match.

SO i get two of these when i'm trying to access this site, aswell as event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

How can i solve this?

4

1 に答える 1

0

サイト (おそらく galaxy-games.com) の所有者は、Javascript を修正する必要があります。エンドユーザーとしてできることは何もありません。


具体的には、Javascript は、starproject.x.com のフレームが spgame.x.com のフレーム内の変数やその他のオブジェクトにアクセスすることを許可しません。これは、それらが異なるサイトであると見なされるためです。これにより、クロスサイト スクリプティングまたは「XSS」攻撃が防止されます。window.domainJavascript に一致するステートメントを含めることで修正されます。

WebKit のeventオブジェクトも要求されていることに反対しており、 and を使用しないようにコードを書き直す必要がありlayerXますlayerY

これはいずれも、エンドユーザーの管理下にはありません。

于 2012-06-04T12:05:07.417 に答える