SHARE
TWEET

Untitled

a guest Nov 28th, 2017 157 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         // Инициализация бота
  2.         init: function () {
  3.        
  4.             var firefoxProfileDir = Components.classes["@mozilla.org/file/directory_service;1"].
  5.             getService(Components.interfaces.nsIProperties).
  6.             get("ProfD", Components.interfaces.nsIFile).
  7.             path;          
  8.             var iMacrosDir = firefoxProfileDir+'\\iMacros\\Macros';
  9.            
  10.             // Путь для сохранения конфига
  11.             this._configPath = iMacrosDir+"\\setting.json",    
  12.             this._uiTemplate = "file:///"+iMacrosDir+"\\ui.htm",
  13.      
  14.             // Рисуем интерфейс
  15.             this.drawUI();
  16.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top