+ Reply
Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Override JS "Not allowed to load local resource" error

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
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
...
  1. #1
    Green Apple
    Join Date
    Mar 2008
    Posts
    79
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Question 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?

  2. #2
    Green Apple
    Join Date
    Mar 2008
    Posts
    79
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Not a single suggestion? :-/

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