Create .webarchive in Windows without Safari? - safari

Is there any way to convert a web site to to Safari's .webarchive using Windows and without using Safari?
I know it's an odd request, but I need to create .webarchive files and load them into a UIWebView, and (for various reasons beyond my control) using Safari or Mac is not an option.
I was thinking that Webkit may have some available methods for it, but wasn't having much luck.

Here are alternatives from unrelated questions:
Converting HTML pages to dataURIs
Using HTML5 Canvas to take Screenshots

Related

App has dynamic JS files, unable to debug in Safari Remote Web Inspector

I have a sapui5 app that I'm trying to test on mobile Safari using remote web inspector. Since it loads javascript files dynamically (uses MVC), it only lists these files under XHR. Apparently, because it's XHR, I can't add a breakpoint to these files.
Is there any way for me to debug this? Or force web inspector to load these files some place else? It seems a bit useless otherwise.
I have the latest version of iOS and Safari on my iPad.
I know this question has been asked previously but nobody answered it. So I'm hoping this one will gain a bit more traction.
Thanks!

Inconsistent rendering results with Mobile site in IE10

I'm in the process of developing a Mobile version of some websites using the MVC4 *.mobile.cshtml system.
Everything is working great except when I try and view the sites on my HTC 8x. I get an outrageously large viewport, no javascript executing, offline touch regions and all-around incomplete pageload such that it doesn't function at all. I'm trying to diagnose/debug and not having any luck.
Using IE10 locally with a User Agent string for Windows Phone 8 doesn't show the same behavior. Further, using my exact UA string in any browser locally does not replicate the behavior. I've tried the various viewport workarounds posted on the internet and those have had no impact either.
I'm not on a Windows 8 machine, so I can't install the SDK/Emulator, but I suppose I could upgrade if no other options present themselves.
Anyone have any additional ideas as to how to test/diagnose/replicate this? I've been Googling for days and haven't been able to find any significant resource about this sort of thing.
This was a combination issue with Output Caching and the MVC DisplayModes bug.

vb.net + webbrowser/webkitbrowser + collada viewer

I am currently working on a vb.net application (winforms) and my task is to somehow import collada files(.dae) files and make them viewable from inside the application.
What worked for me is this: In a simple html5 webpage, I used three.js, colladaloader.js and I was able to view the animation in my web browser.
So I thought I can just import this into the vb.net application using the webrowser/webkotbrowser toolbox component. But alas, what worked in a normal html browser did not inside the application.
The browser that we import in the application doesn't support webgl (even the webkit version doesn't support it).
This is what I get instead of the animation
Again, it works fine inside a web browser like Chrome or Safari, but not IE.
Any help to make this possible in vb.net is highly appreciated.
You will probably have to use a NON-IE based web browser control, see this post:
What is the best web browser control to use on Windows Form Application?
his geckoFX link is outdated I think...
http://webkitdotnet.sourceforge.net/
https://bitbucket.org/geckofx/
This one costs money:
http://awesomium.com/

Simple Desktop Shell for HTML Apps

I am looking for a simple desktop application shell to display an HTML and Javascript application. The web code will be bundled with the app and the app won't need network access. Basically all I need is a window with a webkit view in it I can point to a file on the user's computer.
I thought this would be simple, but I can't find a quick solution to it. What I have looked at so far:
Adobe Air - Fails due to some crazy security choices that break my web framework.
Titanium Desktop - Fails due to some strange page loading sequences that result in dom weirdness.
Chromeless - Looks perfect but discontinued and their download code no longer works.
PhoneGap - No desktop component.
XULRunner - Looks very complex for my needs.
Various others - not cross-platform (I need Windows and Mac), discontinued.
All I want is a simple shell around to display my HTML and run my JS. Please tell me my only solution isn't to use the WebKit view in something like Qt.
Thank you!
See this: http://code.google.com/p/chromiumembedded/
There are also bindings for using this from other languages like Python.
AppJS have served me well in creating desktop shells for html5 apps. I think you should give it a try. It's quite easy to tinker with.

External PDF highlighting with Safari browser not working!

We have been facing a weird problem with PDF documents displayed in Safari. This problem is reproducible in many of our machines. The problem is like this..
Adobe Reader has support for hit highlighting in PDF documents when it is being viewed in any browser. For example,
http://www.mysite.com/myfile.pdf#xml=http://www.somesite.com/words.txt
This URL should highlight the words specified in words.txt file. But, unfortunately many of our Safari browsers (on Windows machines) don't highlight any text in opened pdf file. The same URL works fine in rest of the browsers (IE, Firefox and Chrome). I could not figure out where the problem is!
Can anybody please help me on this?
Thanks in advance,
Safari uses a built-in PDF plugin exclusive to safari (even on iPhone)
This is different from the Adobe's plugin and the API is different too.
Most of the things that work with the Adobe plugin won't work with the one inside Safari.
you may be able to find information about forcing Safari to use the Adobe Reader plugin (Google is your friend) but that would be a per user setting, something you cannot control on everybody's machine.
I'm also looking for help on this to control pdf files inside safari using javascript.