Полезная информация

Хотите узнать больше о расширениях? Посмотрите ролики, рассказывающие о работе с расширениями Firefox.

№867603-08-2015 14:48:23

Coroner
Участник
 
Группа: Members
Зарегистрирован: 29-10-2012
Сообщений: 3858
UA: Palemoon 24.0

Re: Custom Buttons

Coroner пишет

bunda1, благодарю !Подскажите пожалуйста : какой код требуется вставить в кнопку для обновления "URL автоматической настройки сервиса прокси" аналогично нажатию кнопки "обновить" в "параметрах соединения", как это сделано, допустим, в дополнении Reload PAC button ( https://addons.mozilla.org/ru/firefox/a … pac-button ) ?

bunda1 пишет

Может:

Выделить код

Код:

Cu.import("resource://gre/modules/Services.jsm");
Cc["@mozilla.org/network/protocol-proxy-service;1"].getService().reloadPAC();

К сожалению не работает.  В интернете встречал такой код (цитата):

Выделить код

Код:

Components.classes["@mozilla.org/network/protocol-proxy-service;1"].getService(Components.interfaces.nsIProtocolProxyService2).reloadPAC
$[0] = [function] [class: Function] reloadPAC

Но как его привести в нормальный вид я не знаю.
Заметил что все что я находил писалось до 2008 года, наверное что-нибудь изменилось с тех пор.

Отсутствует

 

№867703-08-2015 16:50:48

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

turbot пишет
Выделить код

Код:

var refChild = document.getElementById("context-paste"); //id пункта, после которого вставить сепаратор
  var menuseparator = document.createElement("menuseparator");
  menuseparator.id = "cb-separator-1;" //id сепаратора

А где эти id брать, допустим четыре иконки в меню и пятым нужно сепаратор засунуть?

Отсутствует

 

№867803-08-2015 17:07:46

turbot
Участник
 
Группа: Members
Зарегистрирован: 09-10-2011
Сообщений: 2529
UA: Firefox 42.0

Re: Custom Buttons

fokanik
DOM Inspector + [CB]Attributes Inspector (для разработчиков)

Добавлено 03-08-2015 17:12:39
А menuseparator.id - сами придумайте. Только не забудьте и в if (document.getElementById("cb-separator-1;")) return; сменить. Если несколько добавляете, то для каждого свой id задавайте (или вообще без него (тогда if - удалите)).

Отредактировано turbot (03-08-2015 17:12:39)

Отсутствует

 

№867903-08-2015 18:06:31

turbot
Участник
 
Группа: Members
Зарегистрирован: 09-10-2011
Сообщений: 2529
UA: Firefox 42.0

Re: Custom Buttons

Если кому не лень, подскажите пожалуйста, что не так с

скрытый текст

Выделить код

Код:

this.onclick = function(e) {
  if (e.button == 0) { 
    pref.value = !pref.value;
  }
};

var s = 'CB.hidemenuitemfor';
var pref = Application.prefs.get(s);
var contextMenu = document.getElementById("contentAreaContextMenu");

if (!cbu.isPref("CB.hidemenuitemfor")) {        
  cbu.setPrefs("CB.hidemenuitemfor", false);
};

var listener = {
  popupshowing: function() {

  // скроет пункты меню с перечисленныыми селекторами на кликабельных картинках, но оставит на просто картинках
  for(var menuitem1 of contextMenu.querySelectorAll('#context-copyimage-contents,#context-viewimage,#context-viewbgimage')) {
    menuitem1.hidden = !gContextMenu.onImage || gContextMenu.onLink; 
  }

  // скроет пункты меню с перечисленныыми селекторами на кликабельных картинках, но оставит на просто ссылках
  for(var menuitem2 of contextMenu.querySelectorAll('#context-copylink,#context-openlink')) {
    menuitem2.hidden = !gContextMenu.onLink || gContextMenu.onImage;
  }

  // скроет пункты меню с перечисленныыми селекторами на картинках и ссылках, но они будут видны во всех остальных случаях
  for(var menuitem3 of contextMenu.querySelectorAll('#bla-bla-bla1,#bla-bla-bla2')) {
    menuitem3.hidden = gContextMenu.onLink || gContextMenu.onImage;
  }

  // скроет пункты меню с перечисленныыми селекторами везде, кроме меню тектовых полей
  for(var menuitem4 of contextMenu.querySelectorAll('#bla-bla-bla3,#bla-bla-bla4')) {
    menuitem4.hidden = !gContextMenu.onTextInput;
  }

  // и т.д.

  }
};

function toggleEnable() {
  var icon = self.ownerDocument.getAnonymousElementByAttribute(self, "class", "toolbarbutton-icon");
  icon.style.filter = pref.value ? '' : 'opacity(50%)';
  self.checked =  pref.value ? 'true' : '';
  if (pref.value) {
    setTimeout(()=> contextMenu.addEventListener(listener), 1000);
  } else {
    contextMenu.removeEventListener(listener);
  }
};
toggleEnable();
gPrefService.addObserver(s, toggleEnable, false);
addDestructor(function() gPrefService.removeObserver(s, toggleEnable));


Или как это (в части: "Нажал, лишние пункты скрылись, понадобились по дефолту, ещё раз нажал. С запоминанием состояния.") правильно сделать. Спасибо.

Отсутствует

 

№868003-08-2015 18:59:13

Ultima2m
Участник
 
Группа: Members
Откуда: Россия
Зарегистрирован: 28-11-2013
Сообщений: 588
UA: Firefox 39.0

Re: Custom Buttons

bunda1 А можно вашу кнопку Save+ сделать как пункт меню, аналогично "Ext menu"?

И еще вопрос ко всем знающим.
Есть рабочий код

скрытый текст
// Очистить панель поиска прокруткой колеса мыши ....................................................................
(function () {
   var searchbar = document.getElementById("searchbar");
   if ( !searchbar ) return;
   addEventListener('DOMMouseScroll', function(){searchbar.textbox.value = '';}, false, searchbar );
})();

А вот в таком виде не работает (searchbar заменен на urlbar)
скрытый текст
(function () {
   var urlbar = document.getElementById("urlbar");
   if ( !urlbar ) return;
   addEventListener('DOMMouseScroll', function(){urlbar.textbox.value = '';}, false, urlbar );
})();

Можно как-то поправить?

Отредактировано Ultima2m (03-08-2015 19:01:02)

Отсутствует

 

№868103-08-2015 21:19:01

Dumby
Участник
 
Группа: Members
Зарегистрирован: 12-08-2012
Сообщений: 1429
UA: Firefox 31.0

Re: Custom Buttons

turbot пишет

подскажите пожалуйста, что не так с

Ну, для начала, создаём настройку до её использования, а не после,

скрытый текст

Выделить код

Код:

var s = 'CB.hidemenuitemfor';
cbu.isPref(s, false);
var pref = Application.prefs.get(s);
var contextMenu = document.getElementById("contentAreaContextMenu");

/*
if (!cbu.isPref("CB.hidemenuitemfor")) {        
  cbu.setPrefs("CB.hidemenuitemfor", false);
};
*/


и добавляем/удаляем листенер как-нибудь иначе
скрытый текст

Выделить код

Код:

/*
  if (pref.value) {
    setTimeout(()=> contextMenu.addEventListener(listener), 1000);
  } else {
    contextMenu.removeEventListener(listener);
  }
*/
  var func = pref.value ? addEventListener : removeEventListener;
  func("popupshowing", listener.popupshowing, false, contextMenu);

Отсутствует

 

№868203-08-2015 21:47:17

turbot
Участник
 
Группа: Members
Зарегистрирован: 09-10-2011
Сообщений: 2529
UA: Firefox 42.0

Re: Custom Buttons

Dumby
Спасибо. :)

Отсутствует

 

№868303-08-2015 23:22:36

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

turbot пишет

DOM Inspector + [CB]Attributes Inspector (для разработчиков)

Добавлено Вчера 18:12:39
А menuseparator.id - сами придумайте. Только не забудьте и в if (document.getElementById("cb-separator-1;")) return; сменить.

Ладно :rolleyes: , обойдусь без разделителей пока.

А еще вопросик, в SeaMonkey можно сделать так (фотка), как в Thunderbird , не нашел в настройках:
a9875ea30811.jpg

Отредактировано fokanik (03-08-2015 23:22:51)

Отсутствует

 

№868404-08-2015 08:54:21

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

Выделить код

Код:

/*Initialization Code*/
if ( this.hasAttribute("initialized") ) return;

var dlm = "data:image/ico;base64,AAABAAEAGDAAAAEAIACICQAAFgAAACgAAAAYAAAAMAAAAAEAIAAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZUAAEAAAAfAAEAHx03AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYlkAAQAVACs+LwCtAAMAgAAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAGoNDAL3/oCCzPjwAtgAAAIAAGwAWAAAAAAAAAAAAAAAAAAAAAAAA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ssnG/6PJ2f+Ewvj/VJPg/zpgmP8kQVj6ABISnAASIiIAAAAAAAAAAAAAAABta14dYFlJpbW1pZQ6OjL4hIh9/qKjmv2Am6L/eK/u/id12/9vre3/kdT//8fm8/+w1vD9m8fw/aPE3P29ysf/WJ3w/Sd9/f9Olv/fOXe/4wAOMl4AAAAAAAAAAAAAAABvb2Aob2pUqKqjibJ1cFv/lY53/X2Bd/211N7/NoHr/UGQ//2V1v//js7//YTH//93vP/9eLz//nq9//19wf//UZb7/S967f5Jk//uRojc0gAgR4UFGzQIAAAAAAAAAABycGMud3BZr6qjidyspY3/r6eI/Wt3cP211OX/N4Tt/Wut//14uf//d7f//Xy6//99vf/9gb///YTB//2Jx///Zqj//Shw3v4sdeD5OX/bvidiosIFGjIOAAAAAAAAAAB4d2gwgHpjw62njeqloIb/raKG/2p1b//H7fv/Knzt/2+0//96uv//fLr//329//+Ewf//iMb//4nH//+Oyv//b7D//zF87f8+ifb/TJP2xSpmra4AGDQRAAAAAAAAAAB/fWoxgHhi1Kylje6looj/qKCD/X2JhP3Z/f//MoDu/Xy6//19vf//gL///YbH//+Lx//9iMf//YnG//2W0f//fLf//SVw4f06g+n/RInmxR9Wm5YAGjceAAAAAAAAAACAfWs1fXhi2Kylie6loIT/pZ6B/ZiekP3o////W6D2/YbH//2Nyv//kM7//ZrT//+d1P/9oNj//aXZ//2v4///c7D//SRw2/1Wnfr/Zaz/xDJ1xLEAGDQaAAAAAAAAAACAfW0qb2hT1qijjveqpY3/rKOI/3x/cP/r////TJX1/3y9//+V0///ltH//5XR//+d0///otn//6fb//+q3v//Y6P9/z+L8/9Qlvj/RIvpxCBbo5UBGzcYAAAAAAAAAACDf2sea2hW0Lq/t/+/xsH/vb21/ZabkP3O6ej/b8z//XXO//288///xPj//cf6//+v5v/9quD//azj//216f//Zar//TqD4/5MkPD4UJXwsCdlsKABGzcWAAAAAAAAAACBgW0HVFFBnrW5sP/Hzsn/xszH/rWwnf6vydH/hLXw/xNZsv99ufv/u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/+oxM/+hZEMjMNAAl//8mAJIEAAAAAAAA0EARAO93KgDhVRsa8pA0pvnAkv3z0L7/69vS//bz7v//+PL/9vHo/+vayP/z1br//9/F//ns4v/s2cz/8NG+//zTuv/6pWr/7nQj49pMBlJkAAAByzgAAAAAAAAAAAAAAAAAAPCNBQD9yH0A9aIxOve7k7f94tX8//fx///8+v///Pj///fr///rwP//6Mv//+bX//7q3v//7eL//t7H//u+jP/xiyXj5GkCZMU1AAjVWQAAuwAAAAAAAAAAAAAAAAAAAP/VAAD+yBUA/swLEva5dDL508eR/ezm6v/69/7//fr///vy///14f//7sz//+vW//3m2f/83ML/+b909/OaL8TshgZW0WEACNJjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/ygAA/8oAA//OAA/3v3EQ+NG/TPvj1ab98efV/fXw6v3y7vT969r1/eO27/zcsuj3vXrF851CcfKVACb5wQAH7HEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/84AAP/LAAL/ywAF/MosCPjIjw33zMQs+NPNUfjVzmP40shm+MmiWfnJZk75xTcx/MoEFv7OAAj/3QAA/9MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/9cAAP/eAAD+0wAH/s4ACP/LAAH/zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8f/8A+AAfAPgADwDwAA8A8AAHAOAABwDAAAMAwAABAIAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQCAAAEAwAABAMAAAwDgAAMA8AAHAPAADwDwAB8A+AA/AP/+PwA=";

Open("Download Master", "C:\\Program Files\\Download Master\\dmaster.exe", "", dlm);
Open("SMPlayer", "C:\\Program Files\\SMPlayer\\smplayer.exe", "-add-to-playlist", smp);
Open("Video Lan", "c:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "-AddToPlaylist", vlc);
Open("SMTube", "C:\\Program Files\\SMPlayer\\smtube.exe", "", smt);

//----------------------------------------------------------------------------------------------
function Open(name, prog, param, image){
   var menuitem = document.createElement("menuitem");
   var contextMenu = document.getElementById("contentAreaContextMenu");
   menuitem.id = "open-in";
   menuitem.setAttribute("label", name);
   menuitem.setAttribute("class", "menuitem-iconic");
   menuitem.setAttribute("image", image);
   document.getElementById("context-sep-open").parentNode.insertBefore( menuitem, document.getElementById("context-sep-open") );
   addEventListener("popupshowing", ()=> menuitem.hidden = !gContextMenu, false, contextMenu );
   addDestructor( ()=> contextMenu.removeChild(menuitem));
   addEventListener("command", function(e) {
   if ( e.button ) return;
      var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
      file.initWithPath(prog);
      var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
      process.init(file);
      if (!gContextMenu.onLink) {process.run(false, [param, content.location.href], 2);}
      else {process.run(false, [param, gContextMenu.getLinkURL()], 2);};}, false, menuitem );};
//----------------------------------------------------------------------------------------------

Так можно кодить? Или я что-то не так делаю?

Отредактировано fokanik (04-08-2015 12:30:59)

Отсутствует

 

№868504-08-2015 09:56:36

leex
Участник
 
Группа: Members
Зарегистрирован: 24-03-2011
Сообщений: 272
UA: unknown 0.0

Re: Custom Buttons

Всем Доброго Врмени!

Кто нибудь знает есть ли кнопочка для Поиска текста по текущему сайту?
Типа что то  стандартного Сtrl+F только с расширенными возможностями.
Например поиск нескольких слов, а не одного слова или одной фразы как сейчас.

В Старом гугл тулбаре есть такая опция,  но она в последних версиях FF не работает.
Если забить слово в поисковик тулбара, то можно это слово подсветить.
Тулбар найдет все слова на странице и выделит их цветом.
А если кликнуть по слову в тулбаре, то начнется его поиск в тексте на открытой странице.
Вот этот поиск не работает в последних версиях FF даже в режиме совместимости.
Видимо в файле с тулбаром надо что то исправить.

Отредактировано leex (04-08-2015 10:02:53)

Отсутствует

 

№868604-08-2015 13:35:38

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

turbot пишет

Поставьте кнопку Custom_Buttons/CB_Source_Editor at master · Infocatcher/Custom_Buttons · GitHub.

А есть что-то подобное для SeaMonkey, а то эта не идет почему-то?

Отсутствует

 

№868704-08-2015 14:38:36

becool
Участник
 
Группа: Members
Зарегистрирован: 30-08-2014
Сообщений: 263
UA: Chrome 37.0

Отсутствует

 

№868804-08-2015 16:13:12

turbot
Участник
 
Группа: Members
Зарегистрирован: 09-10-2011
Сообщений: 2529
UA: Firefox 42.0

Re: Custom Buttons

fokanik пишет

А есть что-то подобное для SeaMonkey, а то эта не идет почему-то?

Автор (Infocatcher) здесь бывает, подождите что ответит.

Отсутствует

 

№868904-08-2015 17:26:36

Infocatcher
Not found
 
Группа: Extensions
Зарегистрирован: 24-05-2007
Сообщений: 4334
UA: Firefox 39.0

Re: Custom Buttons

fokanik пишет
turbot пишет

Поставьте кнопку Custom_Buttons/CB_Source_Editor at master · Infocatcher/Custom_Buttons · GitHub.

А есть что-то подобное для SeaMonkey, а то эта не идет почему-то?

И не пойдет... Используется готовый редактор из Scratchpad'а и прочих инструментов разработчика, в Firefox его встроили, а в SeaMonkey его нет.


Прошлое – это локомотив, который тянет за собой будущее. Бывает, что это прошлое вдобавок чужое. Ты едешь спиной вперед и видишь только то, что уже исчезло. А чтобы сойти с поезда, нужен билет. Ты держишь его в руках. Но кому ты его предъявишь?
Виктор Пелевин. Желтая стрела

Отсутствует

 

№869004-08-2015 18:14:13

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

Infocatcher пишет

И не пойдет... Используется готовый редактор из Scratchpad'а и прочих инструментов разработчика, в Firefox его встроили, а в SeaMonkey его нет.

Ясно, спасибо.

Отсутствует

 

№869104-08-2015 21:06:40

villa7
Участник
 
Группа: Members
Зарегистрирован: 21-07-2012
Сообщений: 2235
UA: Firefox 39.0

Re: Custom Buttons

Можно как то добавить в контекстное меню пункт "скачать с IDM", без установки расширения IDM CC ?

Отредактировано villa7 (04-08-2015 21:07:04)


Лучше спросить у знающих - чем лезть не зная.

Отсутствует

 

№869204-08-2015 21:42:24

jars
Забанен
 
Группа: Members
Зарегистрирован: 28-07-2015
Сообщений: 235
UA: Palemoon 25.0

Re: Custom Buttons

villa7 пишет

Можно как то добавить в контекстное меню пункт "скачать с IDM", без установки расширения IDM CC ?

Это прога такая IDM ?
Если в меню ссылок то можно конечно. LinkMenu

Отсутствует

 

№869304-08-2015 21:46:23

villa7
Участник
 
Группа: Members
Зарегистрирован: 21-07-2012
Сообщений: 2235
UA: Firefox 39.0

Re: Custom Buttons

jars
В том то и дело, что нужно не просто открыть IDM, а чтобы скачивал.


Лучше спросить у знающих - чем лезть не зная.

Отсутствует

 

№869404-08-2015 22:14:08

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

villa7 пишет

том то и дело, что нужно не просто открыть IDM, а чтобы скачивал.

IDM - Internet Download Manager? У меня DMaster работает:

Выделить код

Код:

/*Initialization Code*/
if ( this.hasAttribute("initialized") ) return;

var dlm = "data:image/ico;base64,AAABAAEAGDAAAAEAIACICQAAFgAAACgAAAAYAAAAMAAAAAEAIAAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZUAAEAAAAfAAEAHx03AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYlkAAQAVACs+LwCtAAMAgAAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAGoNDAL3/o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/7Snhv8KEhr8RmJ96xM5XsIAIk6uGlGO2lGO0fesydj/ssnG/6PJ2f+Ewvj/VJPg/zpgmP8kQVj6ABISnAASIiIAAAAAAAAAAAAAAABta14dYFlJpbW1pZQ6OjL4hIh9/qKjmv2Am6L/eK/u/id12/9vre3/kdT//8fm8/+w1vD9m8fw/aPE3P29ysf/WJ3w/Sd9/f9Olv/fOXe/4wAOMl4AAAAAAAAAAAAAAABvb2Aob2pUqKqjibJ1cFv/lY53/X2Bd/211N7/NoHr/UGQ//2V1v//js7//YTH//93vP/9eLz//nq9//19wf//UZb7/S967f5Jk//uRojc0gAgR4UFGzQIAAAAAAAAAABycGMud3BZr6qjidyspY3/r6eI/Wt3cP211OX/N4Tt/Wut//14uf//d7f//Xy6//99vf/9gb///YTB//2Jx///Zqj//Shw3v4sdeD5OX/bvidiosIFGjIOAAAAAAAAAAB4d2gwgHpjw62njeqloIb/raKG/2p1b//H7fv/Knzt/2+0//96uv//fLr//329//+Ewf//iMb//4nH//+Oyv//b7D//zF87f8+ifb/TJP2xSpmra4AGDQRAAAAAAAAAAB/fWoxgHhi1Kylje6looj/qKCD/X2JhP3Z/f//MoDu/Xy6//19vf//gL///YbH//+Lx//9iMf//YnG//2W0f//fLf//SVw4f06g+n/RInmxR9Wm5YAGjceAAAAAAAAAACAfWs1fXhi2Kylie6loIT/pZ6B/ZiekP3o////W6D2/YbH//2Nyv//kM7//ZrT//+d1P/9oNj//aXZ//2v4///c7D//SRw2/1Wnfr/Zaz/xDJ1xLEAGDQaAAAAAAAAAACAfW0qb2hT1qijjveqpY3/rKOI/3x/cP/r////TJX1/3y9//+V0///ltH//5XR//+d0///otn//6fb//+q3v//Y6P9/z+L8/9Qlvj/RIvpxCBbo5UBGzcYAAAAAAAAAACDf2sea2hW0Lq/t/+/xsH/vb21/ZabkP3O6ej/b8z//XXO//288///xPj//cf6//+v5v/9quD//azj//216f//Zar//TqD4/5MkPD4UJXwsCdlsKABGzcWAAAAAAAAAACBgW0HVFFB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vr69/2ZkYv9eWFP/urOt/9LPzv96dnP/XVdU/6igm//qt5n/+oxM/+hZEMjMNAAl//8mAJIEAAAAAAAA0EARAO93KgDhVRsa8pA0pvnAkv3z0L7/69vS//bz7v//+PL/9vHo/+vayP/z1br//9/F//ns4v/s2cz/8NG+//zTuv/6pWr/7nQj49pMBlJkAAAByzgAAAAAAAAAAAAAAAAAAPCNBQD9yH0A9aIxOve7k7f94tX8//fx///8+v///Pj///fr///rwP//6Mv//+bX//7q3v//7eL//t7H//u+jP/xiyXj5GkCZMU1AAjVWQAAuwAAAAAAAAAAAAAAAAAAAP/VAAD+yBUA/swLEva5dDL508eR/ezm6v/69/7//fr///vy///14f//7sz//+vW//3m2f/83ML/+b909/OaL8TshgZW0WEACNJjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/ygAA/8oAA//OAA/3v3EQ+NG/TPvj1ab98efV/fXw6v3y7vT969r1/eO27/zcsuj3vXrF851CcfKVACb5wQAH7HEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/84AAP/LAAL/ywAF/MosCPjIjw33zMQs+NPNUfjVzmP40shm+MmiWfnJZk75xTcx/MoEFv7OAAj/3QAA/9MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/9cAAP/eAAD+0wAH/s4ACP/LAAH/zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8f/8A+AAfAPgADwDwAA8A8AAHAOAABwDAAAMAwAABAIAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQCAAAEAwAABAMAAAwDgAAMA8AAHAPAADwDwAB8A+AA/AP/+PwA=";

Open("Download Master", "C:\\Program Files\\Download Master\\dmaster.exe", "", dlm);
Open("SMPlayer", "C:\\Program Files\\SMPlayer\\smplayer.exe", "-add-to-playlist", smp);
Open("Video Lan", "c:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "-AddToPlaylist", vlc);
Open("SMTube", "C:\\Program Files\\SMPlayer\\smtube.exe", "", smt);

//----------------------------------------------------------------------------------------------
function Open(name, prog, param, image){
   var menuitem = document.createElement("menuitem");
   var contextMenu = document.getElementById("contentAreaContextMenu");
   menuitem.id = "open-in";
   menuitem.setAttribute("label", name);
   menuitem.setAttribute("class", "menuitem-iconic");
   menuitem.setAttribute("image", image);
   document.getElementById("context-sep-open").parentNode.insertBefore( menuitem, document.getElementById("context-sep-open") );
   addEventListener("popupshowing", ()=> menuitem.hidden = !gContextMenu, false, contextMenu );
   addDestructor( ()=> contextMenu.removeChild(menuitem));
   addEventListener("command", function(e) {
   if ( e.button ) return;
      var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
      file.initWithPath(prog);
      var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
      process.init(file);
      if (!gContextMenu.onLink) {process.run(false, [param, content.location.href], 2);}
      else {process.run(false, [param, gContextMenu.getLinkURL()], 2);};}, false, menuitem );};
//----------------------------------------------------------------------------------------------

Хотя хз :)

Отсутствует

 

№869504-08-2015 22:19:38

jars
Забанен
 
Группа: Members
Зарегистрирован: 28-07-2015
Сообщений: 235
UA: Palemoon 25.0

Re: Custom Buttons

IDM - оно еще и драйвер ставит, еще и запуск с ОС и себе и дрову. протефф я качалок которые дрова ставят. Ей по масти дрова не положены.

Добавлено 04-08-2015 22:27:06
зы. там есть все в справке программы,все параметры описаны.

Выделить код

Код:

Параметры:
/d URL - загрузка файла
Пример:  IDMan.exe /d "http://www.internetdownloadmanager.com/path/File Name.zip" 
Пример: C:\>idman.exe /n /d http://www.tonec.com/download/idman403.exe

т.е. кнопки ↑ берешь , подставляеш путя и параметры. всё.

Отредактировано jars (04-08-2015 22:27:06)

Отсутствует

 

№869605-08-2015 00:33:08

villa7
Участник
 
Группа: Members
Зарегистрирован: 21-07-2012
Сообщений: 2235
UA: Firefox 39.0

Re: Custom Buttons

jars
Взял кнопку постом выше, крутил - вертел, по разному подставлял, не хочет, как правильно прописать в неё?

Выделить код

Код:

Open("IDM", "C:\\Program Files\\Internet Download Manager\\IDMan.exe", [""]);

Лучше спросить у знающих - чем лезть не зная.

Отсутствует

 

№869705-08-2015 00:57:07

jars
Забанен
 
Группа: Members
Зарегистрирован: 28-07-2015
Сообщений: 235
UA: Palemoon 25.0

Re: Custom Buttons

Выделить код

Код:

if ( this.hasAttribute("initialized") ) return;

var idm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADH0lEQVQ4y6WTXWxTdQDFz/3fe9u1XXspW7exrzLdRqAd28DgJC4mRiJP8CCYaCIPJBCDQAgQsxjefBR8UxNjNCFq1BmC0WQ+ACHMICwzAZbB1prZlraj7e29u73fH/97ffKFGGLieT3nd95+wP8M86zym28/n/K51Fst6u4r6bFVVfzr1qczJz8B4Dzz4MS500z/YOvC+Mhr73Zsor1xIY2q2sJsPgOjrjc46d4JuVa+8tMXH/jkaXhu7lTIoNU33OjNCxRzvZ4/D7TfRXxkFMl0D9CRSTX4l77zqHscALh/wB++vyQI9u3DpLR6kE8Wp0msGZKZJia2HUB3UoMUFNEdUlH2JwEmzEpuz8dju16+wQHA7I9vjybFXy8nbhRevLdO/NDrFWLbBDVzCTWXRdzbixUlgcf17TBkC5bagG3ZEcsj73Dvf3Zkc5xdvRK/Ws88ymH56xgrZXUyTSmBZrhYXK7gJjOJx/I4ygUTaqMCQ1qDIZcQ+H6WUzr/PNNp1jN6A96HYvOY4nQdSpai05KfAPg+5HNd2PC64bkPYekSbLUGQ1qD2cyBWKLJaXF6lEsE4AZYOkLTlcUnG/MrK31neRqCut+GIDfBV78EKybAKDZg5sFqOUSoCMUgC2zozexHwz1NZuuYx+3hhElD56/mJDKhqEGv0rUA89UylB1LUJ57AC+9CBrJQTeacDS+QrXQOTYzcfL8taGlMNfhYdtObev0nuDAQJ/v5pdrKbFNAxUDsKMM/HYb1mYP+rAP+3nA6w0wNDBUZVPMrm4BB6d+76jielJGPunHmB1eSpgC8kUL9jpFsBGA8Rm4d3zYP1P411nRu0YuNm5Ll9lG5f4fgrVzS//GsSypv8BU9S3ItdIQjd1w1gFNK4IWAji/+PCWAoRrkXk/z7xnrFuzju22WEodQ6zc/U0rFwqCOtnTXnwlFX24l217MEYduSw3uYVosAYQi2htWuSiWXJmHN1dBuA+7QIfDic7Oa5tOBrr63IdUeaHjMHWcP0r9lH4flBmZkzFuoUAxn8xlAHAjO/L9m/aHb9EODIIgPzb+G9gS4vcLJ9fugAAAABJRU5ErkJggg==";

Open("Download IDM", "c:\\Program Files\\Internet Download Manager\\IDMan.exe", "/d", idm);

//----------------------------------------------------------------------------------------------
function Open(name, prog, param, image){
   var menuitem = document.createElement("menuitem");
   var contextMenu = document.getElementById("contentAreaContextMenu");
   menuitem.id = "open-in";
   menuitem.setAttribute("label", name);
   menuitem.setAttribute("class", "menuitem-iconic");
   menuitem.setAttribute("image", image);
   document.getElementById("context-sep-open").parentNode.insertBefore( menuitem, document.getElementById("context-sep-open") );
   addEventListener("popupshowing", ()=> menuitem.hidden = !gContextMenu, false, contextMenu );
   addDestructor( ()=> contextMenu.removeChild(menuitem));
   addEventListener("command", function(e) {
   if ( e.button ) return;
      var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
      file.initWithPath(prog);
      var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
      process.init(file);
      if (!gContextMenu.onLink) {process.run(false, [param, content.location.href], 2);}
      else {process.run(false, [param, gContextMenu.getLinkURL()], 2);};}, false, menuitem );};
//----------------------------------------------------------------------------------------------

Отсутствует

 

№869805-08-2015 01:56:03

villa7
Участник
 
Группа: Members
Зарегистрирован: 21-07-2012
Сообщений: 2235
UA: Firefox 39.0

Re: Custom Buttons

jars
Спасибо.


Лучше спросить у знающих - чем лезть не зная.

Отсутствует

 

№869905-08-2015 11:43:23

fokanik
Участник
 
Группа: Members
Зарегистрирован: 05-02-2014
Сообщений: 268
UA: Seamonkey 2.33

Re: Custom Buttons

fokanik пишет

Вставил аналогичную кнопку в ПОЧТУ SeaMonkey - кнопка не работает, значек бледный - в чем беда? В браузере SeaMonkey - код работает.

Выделить код

Код:

var dlm = "data:image/ico;base64,AAABAAEAGDAAAAEAIACICQAAFgAAACgAAAAYAAAAMAAAAAEAIAAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZUAAEAAAAfAAEAHx03AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYlkAAQAVACs+LwCtAAMAgAAAAC0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAGoNDAL3/oCCzPjwAtgAAAIAAGwAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAig0YAtf+vL7T/7lCx/8oxpyU0AL4AAAByAC0AHZh6BQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFHAAhTNACe/5ogzP/YQb//xyj//9Q05/+9Ja4BHQC5AAAAYwAqABYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALzoABjwsAIP9hBDe/9tBxf/JLPv/xyz//8cs///WMu7tnhOvAA0AswAAAFcKMQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiNwAN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r1/eO27/zcsuj3vXrF851CcfKVACb5wQAH7HEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/84AAP/LAAL/ywAF/MosCPjIjw33zMQs+NPNUfjVzmP40shm+MmiWfnJZk75xTcx/MoEFv7OAAj/3QAA/9MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/9cAAP/eAAD+0wAH/s4ACP/LAAH/zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8f/8A+AAfAPgADwDwAA8A8AAHAOAABwDAAAMAwAABAIAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQCAAAEAwAABAMAAAwDgAAMA8AAHAPAADwDwAB8A+AA/AP/+PwA=";

Open("Download Master", "C:\\Program Files\\Download Master\\dmaster.exe", "", dlm);
Open("SMPlayer", "C:\\Program Files\\SMPlayer\\smplayer.exe", "-add-to-playlist", smp);
Open("Video Lan", "c:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "-AddToPlaylist", vlc);
Open("SMTube", "C:\\Program Files\\SMPlayer\\smtube.exe", "", smt);

А как правильно функция start() в CB пишется, может из-за этого кнопка не работает?

Отредактировано fokanik (05-08-2015 12:46:37)

Отсутствует

 

№870005-08-2015 13:29:57

jars
Забанен
 
Группа: Members
Зарегистрирован: 28-07-2015
Сообщений: 235
UA: Palemoon 25.0

Re: Custom Buttons

villa7
Это fokanik-у благодарности :D интересный у него код. кнопки.

Отсутствует

 

Board footer

Powered by PunBB
Modified by Mozilla Russia
Copyright © 2004–2020 Mozilla Russia GitHub mark
Язык отображения форума: [Русский] [English]