diff options
| author | Quentin Rameau <quinq@fifth.space> | |
|---|---|---|
| 2019-03-04 11:43:25 +0100 | ||
| committer | Quentin Rameau <quinq@fifth.space> | |
| 2020-11-01 16:59:12 +0100 | ||
| commit | 6850365d7c91e6cf873ac722c705c55905de143a (patch) | |
| tree | 094058c2a7b631935cf530d2181c0ef14031fe78 /surf.c | |
| parent | 8d5e2b3a40a86d463d666cbf61906cf22febde34 (diff) | |
| download | surf-6850365d7c91e6cf873ac722c705c55905de143a.tar.gz surf-6850365d7c91e6cf873ac722c705c55905de143a.tar.bz2 surf-6850365d7c91e6cf873ac722c705c55905de143a.zip | |
Add support for configuring plugins directories
@@ -1161,6 +1161,10 @@ newview(Client *c, WebKitWebView *rv) webkit_web_context_set_cache_model(context, curconfig[DiskCache].val.i ? WEBKIT_CACHE_MODEL_WEB_BROWSER : WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER); + /* plugins directories */ + for (; *plugindirs; ++plugindirs) + webkit_web_context_set_additional_plugins_directory( + context, *plugindirs); /* Currently only works with text file to be compatible with curl */ webkit_cookie_manager_set_persistent_storage(cookiemanager, |