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:
parent
c89b9af68b
commit
072810a3b5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user