Coder Social home page Coder Social logo

webkitdotnet's Introduction

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].

webkitdotnet's People

Contributors

lanwin avatar madcowherd avatar mtscout6 avatar observerherb avatar peterdn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webkitdotnet's Issues

Printer settings not set on PrintDocument

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;
       }

Problem with bat file to build Webkit.Interop.dll

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:)

Inspector not accessible

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

dead?

is this project dead?

Download

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?

Transparent window?

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.

Não mostra o site

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

local file does not run javascript

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?

KeyDown, KeyUp, KeyPress event is not fired

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?

Errors using WebKit.NET and recompiling in VS 2010, 64-bit system

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?

webBrowser cannot load page

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");

How can i embed youtube videos ?

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 ?

Self Signed SSL not working

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.. ..

how to add css rules ?

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;

NuGet package

A NuGet package would be great. There is not one that I can see.

Upgrading to Latest WebKit

If I build the latest version of WebKit what steps do I need to take to update this library to use it?

Disable web security

Is there a way I can disable web security i.e. cross-domain-origin-policy?

Thanks.

Can't build on c#

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

How to build for .net 2.0

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.

AJAX Calls with HTTP verbs PUT and DELETE

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

Support for window.print()

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

Passing "this" object to EvaluateScript

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.

Features and one more thing

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

Compiled Library

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

sockets and ssl certificate

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

A client certificate is not transmitted from webkitdotnet/WebKitBrowserTest Sample.

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

Downloading

The DownloadBegin event is still not fired.
Downloading files does not work (in WebKitBrowserTest also not)

No Support for WebP Images

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.

Building on Windows

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.