Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load one chrome extension silently doesn't work on first load #3877

Open
max3163 opened this issue Jan 30, 2025 · 0 comments
Open

Load one chrome extension silently doesn't work on first load #3877

max3163 opened this issue Jan 30, 2025 · 0 comments
Labels
bug Bug report

Comments

@max3163
Copy link

max3163 commented Jan 30, 2025

Describe the bug
Try to add a chrome extension silently ( Without user intaraction ) , not working until you restart the application.

To Reproduce
I add the JSON extensions ( retrieve from preference file ) directly on the global request context

 var curExtSettings = (Dictionary<string, Object>)context.GetPreference("extensions.settings");
 curExtSettings[interactId] = interact;
 context.SetPreference("extensions.settings", curExtSettings, out errorString);

It work like a charm but not on the first load... I need to restart one time the application.

Expected behavior
Load the extension on the first start of the application.

Versions (please complete the following information):

  • OS: Windows 10
  • CEF Version: 130 and +

I use CefSharp to develop but it's not a C# issue so I prefere ask here.

@max3163 max3163 added the bug Bug report label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant