<div dir="ltr"><div>Hi,</div><div><br></div><div>I am Google Summer of Code participant, and I am developing an application for reading eBooks using WebKit. At the moment I&#39;m working with the .epub file format which is just compressed eBook content (html, css, ncx files).</div>

<div><br></div><div>My application is suppose to read the local files and present them in WebKit preview, preferably without running a server. I used custom URI scheme to work around the cross origin issue.</div><div>E.g. <i>&lt;script src=&#39;book:epub.js/build/epub.js&#39;&gt;&lt;/script&gt;</i></div>

<div><br></div><div>This works fine. But if I need to load many html files I don&#39;t want to specify URI scheme in every request. </div><div>E.g. In .html files there are requests for stylesheets and images.</div><div>
<div>
<i>&lt;link rel=&quot;stylesheet&quot; href=&quot;css/stylesheet.css&quot; type=&quot;text/css&quot;/&gt;</i></div></div><div><i><br></i></div><div>I would like to know if there a way I could redirect all the requests to use predefined URI scheme? Or maybe you know of some other solution that might work.</div>

<div><br></div><div>Thank you very much,</div><div><br></div><div><br></div>-- <br>Marta Milaković
<div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px; max-height:0px;" src="https://mailfoogae.appspot.com/t?sender=abWFydGEubWlsYWtvdmljQGdtYWlsLmNvbQ%3D%3D&amp;type=zerocontent&amp;guid=88464b3e-f120-4522-b444-a44369d7b0ea"><font color="#ffffff" size="1">ᐧ</font></div>

</div>