Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7964305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:51:14+00:00 2026-06-04T05:51:14+00:00

Scenary A Cocoa application with a WebView element that loads file:///index.html A local resource

  • 0

Scenary

  • A Cocoa application with a WebView element that loads file:///index.html
  • A local resource file:///index.html that has an editable iframe with src=”javascript:;”
  • The editable iframe contains another iframe with src=”file:///resource.html”

Problem

It seems that WebView does not allow loading local resources (resource.html) inside documents that are not local (iframe with src=”javascript:;”).

This is the exact message from the Error Console of Safari for MacOSX:

Not allowed to load local resource: file:///resource.html

Question

Do you know any way to bypass this security check? I can modify all the javascript and Cocoa code, but I preffer to modify only the Cocoa code.

Thanks guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:51:16+00:00Added an answer on June 4, 2026 at 5:51 am

    Finally I downloaded the source code of WebKit, inserted a return true in the certain place to disable these security measures and compiled it.

    It seems that it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm trying hard to load comboBox items from an xml file. Here is my
I'll eat my hat if I get a good answer to this...I suspect that
i have the following scenary: <div class=maindiv> <div class=msg>some text</div> ... <div class=msg>some other
I have this scenery: 1 ScrollPane 1 UILoader. And i do that: myScrollPane.source =
I just created a sample MVC3 application to learn validation. It is using DataAnnotations.
I start an activity in my class Locator.java which starts a locacionListener Service. That
In Windows cmd batch, I try to call a batch file: call .\%%R\scenery\list bgl.bat
I'm looking for an code example/algorithm to do an action if the user has
My scenary: I am trying to develop a service which will query different databases.
I have a legacy web application php4/mysql4 (MyISAM, db contains some cms, some user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.