can any zennoposter verion run chrome extension?

coolbb

Client
Регистрация
06.09.2013
Сообщения
95
Благодарностей
0
Баллы
6
i need to know can the chrome extension run in zp 5 or zp 7??
 

Roman48

Client
Регистрация
28.02.2016
Сообщения
2 058
Благодарностей
742
Баллы
113

Roman48

Client
Регистрация
28.02.2016
Сообщения
2 058
Благодарностей
742
Баллы
113
C#:
https://zennolab.com/discussion/threads/uluchshaem-ehmuljaciju-profilej-zennoposter.79074/

//Генерация плагинов для f98ba1457738b341
var PluginList = instance.GetPlugins().ToList();
for (int i=0; i < PluginList.Count; i++){
   instance.HidePlugin(PluginList[i]);
}

List<PluginMimeType> lstMimes = new List<PluginMimeType>();
PluginMimeType mime1 = new ZennoLab.CommandCenter.PluginMimeType("application/x-nacl", "Native Client Executable", "");
PluginMimeType mime2 = new ZennoLab.CommandCenter.PluginMimeType("application/x-pnacl", "Portable Native Client Executable", "");
lstMimes.Add(mime1);
lstMimes.Add(mime2);
var plugin = new ZennoLab.CommandCenter.PluginItem("Native Client", "internal-nacl-plugin", "", "", lstMimes);
instance.ShowPlugin(plugin);

List<PluginMimeType> lstMimes2 = new List<PluginMimeType>();
PluginMimeType mime3 = new ZennoLab.CommandCenter.PluginMimeType("application/pdf", "", "pdf");
lstMimes2.Add(mime3);
var plugin2 = new ZennoLab.CommandCenter.PluginItem("Chrome PDF Viewer", "mhjfbmdgcfjbbpaeojofohoefgiehjai", "", "", lstMimes2);
instance.ShowPlugin(plugin2);

List<PluginMimeType> lstMimes3 = new List<PluginMimeType>();
PluginMimeType mime4 = new ZennoLab.CommandCenter.PluginMimeType("application/x-google-chrome-pdf", "Portable Document Format", "pdf");
lstMimes3.Add(mime4);
var plugin3 = new ZennoLab.CommandCenter.PluginItem("Chrome PDF Plugin", "internal-pdf-viewer", "Portable Document Format", "", lstMimes3);
instance.ShowPlugin(plugin3);
 
  • Спасибо
Реакции: botovod

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 264
Благодарностей
5 852
Баллы
113
Unfortunately, chrome extensions are not supported in ZennoPoster
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)