webkitdotnet / webkitdotnet Goto Github PK
View Code? Open in Web Editor NEW.NET control library wrapper for WebKit
Home Page: http://webkitdotnet.sourceforge.net
License: Other
.NET control library wrapper for WebKit
Home Page: http://webkitdotnet.sourceforge.net
License: Other
WebKit.NET README ***************** WebKit.NET is a control library wrapper for WebKit written in C#. Currently the source code is licensed under a BSD open source license, see LICENSE.txt for details. This package currently contains several Visual Studio 2010 projects and a build of the WebKit and JavaScriptCore libraries (including dependencies). The solution is organised into the following folders: include\ WebKit and JavaScriptCode header files used in JSCore. JSCore\ C++/CLI wrapper for JavaScriptCore. JSCore.Tests\ Test suite for JSCore. lib\ Intermediate and miscellaneous libraries. tools\ Build tools. webkit WebKit, JavaScriptCore libraries and dependencies. WebKitBrowser\ C# WinForms control library front-end. WebKitBrowser.Tests\ Test suite for WebKitBrowser. WebKitBrowserTest\ A simple application that uses the WebKit.NET control to display web pages. WebKitCore\ C# wrapper for WebKit. Tutorials & documentation can be found at http://webkitdotnet.sourceforge.net. Latest source code can be found on GitHub at https://github.com/webkitdotnet. Please send any questions or feedback to [email protected].
can i get a fully compiled library, i am having problems compiling using the express version of visual basic
i think it would be much better if we have a compiled version
thank you
I've found a bug with document printing in webkitdotnet. The PrintDocument.PageSetings are copied to the new document, those contain PrinterSettings, but those settings are never assigned to the PrintDocument.PrinterSettings object.
I'm not sure how you prefer patches to be submitted, and I've never done a pull request on github before, but I can give you the diff:
index 4fbe65f..5a86cf2 100644
--- a/WebKitCore/WebKitBrowserCore.cs
+++ b/WebKitCore/WebKitBrowserCore.cs
@@ -1058,6 +1058,7 @@ namespace WebKit
doc.DocumentName = this.DocumentTitle;
doc.DefaultPageSettings = PageSettings;
doc.OriginAtMargins = true;
- doc.PrinterSettings = PageSettings.PrinterSettings;^M
return doc;
}
Using the openwebkitsharp example I navigate to a site with a self signed server cert does nothing. I don't get an error , security warning or anything else of the sort.. ..
There doesn't seem to be support for the selector APIs. Am I missing something?
Google release a new image format called WebP a bit ago, it greatly reduces the size of files and lessens the load on the webserver. It would be a nice feature to have included the library is opensource which you can add into the project and I think Moz made a script that can prob be changed for webkit to render the files.
Visiting http://stackoverflow.com/network-login-help/ shows that cookies are not working.
Not sure if there is a more up to date version of this project but at this point I'm thinking this project is pretty much dead in the water.
Am I right?
Hi
I found out that there are some events about key processing.
that is KeyDown, KeyUp, KeyPress.
I've defined event handlers with the events above,
but nothing happened.
Is this a bug? or Does anyone know the solution?
Whenever I try to make a PUT or DELETE HTTP calls through AJAX it arrives to a server as a GET request. Do I need to set any configuration or it is not supported?Thank you, Jiri
some one tell me to use pepflashplayer, but I don't know how to do?
thanks for help.
Step by step build the master branch with vs2010(sp1) according to the Building WebKit.NET with Visual Studio 2010 Express: A Visual Step By Step Guide, but still failed with the strong name signing of JSCore.dll.
Anyone test it and how to do it?
I loaded a local file (file:///C:/test/html), but the script did not run, just like the most simple alert function does not run, what is the reason?
Hello,
Try to access http://app2.safemobile.com:9100/com.SfmbMapsMain/SfmbMapsMain.html via webkit.net.
After the markers are loaded (you must wait ~20seconds to process some data), if I try to zoom in/out around the markers then the RAM goes crazy and the .NET application eventually crashes.
If I test in Chrome everything is alright.
Thank you,
Florin
Hi guys.
I have two forms A and B, A is parent form ( MDI form ) and B is child form which contains webkitbrowser. At the first time when I open form "A" then I open form "B" with code of loading page on browser it was ok, but when I closed form "A" and re-open it again and and open form "B" it cannot load page. The blank show on the pannel. My html page only contains some simple text not include javascript. I donnot know why browser cannot load the page . Can you help me to deal with this problem.
My code is only simple statement like that
this.webKitBrowser1.Navigate("file:///C:/ihis/OCSO/abc.html");
Hi,
I need your advice.
I am trying to transmit the client certificate using webkitdotnet.
https://github.com/webkitdotnet/webkitdotnet/tree/develop/webkitdotnet-develop.zip
However, although WebServer sends to Client Certificate Request Message, A client certificate is not transmitted from webkitdotnet/WebKitBrowserTest Sample.
I'm searching a sample program.
But there is no sample program which transmits a client certificate to somewhere.
Isn't someone known?
upanandah
Hi,
I looked through the docs, but could not find a way to enable the Inspector. The files are there, but not the functionality.
How do I show it?
Yvan
Ao usar o comando webKitBrowser1.Navigate("www.google.com"); em casa abre normal, mas no meu serviço não abre, fica a tela toda em branco. Há alguma restrição de proxy, rede, alguma coisa?
Abçs
Looks like this bug has been around for a while (at least since late 2010) -- any progress or update on it?
SF forums link for reference: https://sourceforge.net/projects/webkitdotnet/forums/forum/939856/topic/3772184?message=8511856#topic-reply
I don't know if this only hapens to me, but the webkit test does not download is it not developed yet or is it an error of mine?
很多错误,编译无法进行
Is it possible to build the library with new Webkit version included? How to do this?
How can we create css rules for webKit browser ?
I was doing it like this on default browser...
IHTMLDocument2 currentDocument = (IHTMLDocument2)webBrowser1.Document.DomDocument;
int length = currentDocument.styleSheets.length;
IHTMLStyleSheet styleSheet = currentDocument.createStyleSheet(@"", length + 1);
TextReader reader = new StreamReader(Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "cssFile.css"));
string style = reader.ReadToEnd();
styleSheet.cssText = style;
The bat file to build Webkit.Interop.dll uses the default framework version to build Webkit.Interop.dll
This is not good for who uses vs2010 like me, the framework version is 4.0, then WebKitBrowser can't be build successfully.
We need to build Webkit.Interop.dll on vs2008, then remove the pre-build scripts on vs2010. This is not good.
Hope you could fix this issue, thanks:)
Where can i find a list of features for this great wrapper.
also if its possible, can u write a tutorial on how to implement features from webkit
There is any way to no go back to previus page when delete button (or any button) is pressed?
Hi,
I am new to webkit.net. I am trying to create a embedded web browser control in my c# winforms application using webkit.net. My requirements also requires for it to support socket connection and ssl certificate. I would like to know if it supports both which is the essential part of my application.
Thanks
If I build the latest version of WebKit what steps do I need to take to update this library to use it?
attempting to access https://panopticlick.eff.org/index.php?action=log&js=yes via the webkit.net but it appears to cause my simple web browser. Anyone else getting a similar error? anyone know why this might be? Thanks Phil
Hey,
Really great work on this project!
I'm looking especially at the JS integration, and I have run into the following issue:
JSContext ctx = (JSContext)browser.GetGlobalScriptContext();
JSValue val = ctx.EvaluateScript("var t = { testFnc: function(t){ return t+1;} }; t;");
var result = ctx.EvaluateScript("this;", val.ToObject());
This should return my "t" object in the, but instead result is set to the DOMWindow object.
It seems like it ignores the values I pass in?
What I really want to do is this:
var result = ctx.EvaluateScript("testFnc(5);", val.ToObject());
This should return 5+1= 6. But instead it returns null, because the "this" context is still the DOMWindow, which of course does not have a testFnc function.
Any help is greatly appreciated.
rt
Hi, I get the following errors when trying to use WebKit.NET:
Could not load file or assembly 'WebKitBrowser, Version=0.5.0.0, Culture=neutral, PublicKeyToken=b967213f6d29a3be' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Some suggest this might be because of 64-bit operating system. Then I tried cloning the repository and compiling with Visual Studio 2010. I get errors like
Error 22 The project file "..\JSCore\JSCore.vcproj" is in the ".vcproj" file format, which MSBuild no longer supports. Please convert the project by opening it in the Visual Studio IDE or running the conversion tool, or use MSBuild 3.5 or earlier to build it. WebKitCore
and all references to JSCore have exclamation mark. Trying to convert JSCore project, it throws heaps of additional errors, like
Error 1 error TI1001: Unable to locate input type library: 'C:\Hg\Lib\webkitdotnet\JSCore\webkit\webkit.tlb' C:\Hg\Lib\webkitdotnet\JSCore\TlbImp JSCore
Error 2 error CS2001: Source file 'C:\Hg\Lib\webkitdotnet\JSCore\tools\TypeNormalizer.cs' could not be found C:\Hg\Lib\webkitdotnet\JSCore\EXEC JSCore
Error 4 error : File 'C:\Hg\Lib\webkitdotnet\JSCore\webkit\WebKit.Interop.dll' not found or not a PE file C:\Hg\Lib\webkitdotnet\JSCore\EXEC JSCore
and a few more. What am I doing wrong?
Hello,
Try this link on webkit.net to see the cursor and scroll wheel problem: https://google-developers.appspot.com/maps/documentation/javascript/examples/full/polygon-arrays . This link is an official example of Google maps V3.
What can I do?
Thanks,
Florin
The DownloadBegin event is still not fired.
Downloading files does not work (in WebKitBrowserTest also not)
webkitdotnet do not navigate the url which starts with "https://~"
Will it be fixed?
Please how verificate that exists the support to window.print() or any print event in HTML, in this moment dont occurs nothing when i click print in html
I can't embed youtube videos. Inside webkitdotnet youtube player gives an error "flash player required" then i use html5 player but i think it not supports html5 video tags it's not works also.
Do you have any ideas to play video inside webkitdotnet ?
Hi there, Was just wondering if there was a reason why the WebURLRequest parameter needs to be done manually and not pushed to master? Does it affect builds under VS 2008 or something?
Thanks!
Is there a way I can disable web security i.e. cross-domain-origin-policy?
Thanks.
I'm wondering that whether your control (webkitdotnet) can support transparent background? It means: when the background of the page inside is transparent, only content can be visible.No white box or borders.
is this project dead?
A NuGet package would be great. There is not one that I can see.
Hi, I want to build for .net 2.0
I change the the build setting to .net2.0 and rebuild, but get lots of errors.
I need to translate some C++ classes to C#/WebKit.NET, one of them inherited from QWebPage. What's the equivalent of it in WebKit.NET version 0.5 pre-release 1 ?
I have followed twice this tutorial : Building WebKit.NET with Visual Studio 2008 Express: A Visual Step By Step Guide
the c++ bit worked well, but when i try to build in c# it gives over 300 erros, saying that the references used (webkit.Interop, webkitCore and JScore) can't be found.
help? :S
Upload file not working?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.