Skip to content

Commit 6ded700

Browse files
committed
1 parent 6d7e21b commit 6ded700

File tree

5 files changed

+46
-1
lines changed

5 files changed

+46
-1
lines changed

CefSharp.Example/CefSharp.Example.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
<Content Include="Resources\FramedWebGLTest.html" />
151151
<Content Include="Resources\PopupTest.html" />
152152
<Content Include="Resources\DraggableRegionTest.html" />
153+
<Content Include="Resources\Recaptcha.html" />
153154
<Content Include="Resources\ResponseFilterTest.html" />
154155
<Content Include="Resources\SchemeTest.html" />
155156
<Content Include="Resources\ScriptedMethodsTest.html" />

CefSharp.Example/CefSharpSchemeHandlerFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ static CefSharpSchemeHandlerFactory()
4747
{ "/ResponseFilterTest.html", Resources.ResponseFilterTest },
4848
{ "/DraggableRegionTest.html", Resources.DraggableRegionTest },
4949
{ "/CssAnimationTest.html", Resources.CssAnimation },
50-
{ "/CdmSupportTest.html", Resources.CdmSupportTest }
50+
{ "/CdmSupportTest.html", Resources.CdmSupportTest },
51+
{ "/Recaptcha.html", Resources.Recaptcha }
5152
};
5253
}
5354

CefSharp.Example/Properties/Resources.Designer.cs

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CefSharp.Example/Properties/Resources.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,7 @@
196196
<data name="beach" type="System.Resources.ResXFileRef, System.Windows.Forms">
197197
<value>..\Resources\assets\images\beach-2089936_1920.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
198198
</data>
199+
<data name="Recaptcha" type="System.Resources.ResXFileRef, System.Windows.Forms">
200+
<value>..\Resources\Recaptcha.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
201+
</data>
199202
</root>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
3+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
4+
<head>
5+
<meta charset="utf-8" />
6+
<title>CefSharp Recaptcha Test</title>
7+
<script src='https://www.google.com/recaptcha/api.js'></script>
8+
</head>
9+
<body>
10+
<h1>Recaptcha Test</h1>
11+
<form>
12+
<div class="g-recaptcha" data-sitekey="6Lce2hoUAAAAALGrg1Z7075o6a3TqHE1N5KX2og0"></div>
13+
14+
</form>
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)