1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-05 20:34:07 +02:00

Disable chromium spell check

This commit is contained in:
chylex 2016-04-11 17:43:33 +02:00
parent c89b9af68b
commit 072810a3b5

View File

@ -40,6 +40,13 @@ private static void Main(){
MigrationManager.Run();
Cef.OnContextInitialized = () => {
using(IRequestContext ctx = Cef.GetGlobalRequestContext()){
string err;
ctx.SetPreference("browser.enable_spellchecking",false,out err);
}
};
Cef.Initialize(new CefSettings{
AcceptLanguageList = HeaderAcceptLanguage,
UserAgent = "TweetDick "+Application.ProductVersion,