mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-29 11:34:07 +02:00
Disable chromium spell check
This commit is contained in:
parent
c89b9af68b
commit
072810a3b5
@ -40,6 +40,13 @@ private static void Main(){
|
|||||||
|
|
||||||
MigrationManager.Run();
|
MigrationManager.Run();
|
||||||
|
|
||||||
|
Cef.OnContextInitialized = () => {
|
||||||
|
using(IRequestContext ctx = Cef.GetGlobalRequestContext()){
|
||||||
|
string err;
|
||||||
|
ctx.SetPreference("browser.enable_spellchecking",false,out err);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
Cef.Initialize(new CefSettings{
|
Cef.Initialize(new CefSettings{
|
||||||
AcceptLanguageList = HeaderAcceptLanguage,
|
AcceptLanguageList = HeaderAcceptLanguage,
|
||||||
UserAgent = "TweetDick "+Application.ProductVersion,
|
UserAgent = "TweetDick "+Application.ProductVersion,
|
||||||
|
Loading…
Reference in New Issue
Block a user