
11-09-2008, 06:40 PM
|
|
Green Apple
|
|
Join Date: Mar 2008
Device + Firmware: iPhone 1st gen, 2.2
Operating System: Windows XP SP3
Posts: 77
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
|
Override JS "Not allowed to load local resource" error
|
There's an online game called OGame. It supports skins and it also supports local skins. So, to minimize loading speeds, I decided to put local skin to /private/var/mobile/Media/Ogame/reloaded/ and put file:///private/var/mobile/Media/Ogame/reloaded/ as a skin path. Of course, I had file:/// patch installed.
Now, when I load the game I get this error (thanks to debug option in Safari):
JavaScript Error on Line <whatever>:
Not allowed to load local resource: <correct image path>
As I understand, this is Safari's issue or feature. Is there a way to override it?
|
|