Deerua about Coding -> Заметки с тегом «firefox»

Блог о кодинге, автор Deerua

coding, javascript, css, html, php, jquery, mysql, deerua

Deerua about Coding

 Избранное

 Самые комментируемые за всю историю

 198 заметок ненаглядно

 Архив за 2010, 2009, 2008  год


 26 мая 2010, 16:25       более 2-х месяцев назад

getBoxObjectFor для FireFox 3.6 и выше

    if(typeof document.getBoxObjectFor == "undefined") {
        document.getBoxObjectFor = function(elem) {
            var obj = new Object;
            var rect = elem.getBoundingClientRect();
            obj.y = rect.top;
            obj.x = rect.left;
            obj.width =Math.abs(rect.right-rect.left);
            obj.height = Math.abs(rect.bottom-rect.top);
            return obj;
        }
    }

 2 комментария

 Теги: browsers   mozilla   firefox, javascript

 22 октября 2009, 16:36       более 9-и месяцев назад

FireFox Speeeeeeeed UP

В JS-консоле просто вставляем команду, и со всех скуельлайт-файлов изымается лишнее, они худеют, остаётся только нужное и вакуум
Components.
classes["@mozilla.org/browser/nav-history-service;1"].
getService(Components.interfaces.nsPIPlacesDatabase).
DBConnection.executeSimpleSQL("VACUUM");


Для тех, кто ленив, есть плагин автоматизирующий это действие

Удивительное рядом, ускорить фокс и «убрать» утечки памяти помогут два аддончика:После этой магии, грузится «почти» моментально, ест не больше 50МБ ;)
зы: ставить или/или. В реале они все «лишнее» кидают в своп, зато оперативка чиста ;)))

 1 комментарий

 Теги: browsers   mozilla   firefox

 18 июня 2009, 10:47       более года назад

deerua: Firefox addons collection  

Свершилась моя давешняя мечта, которой с два года, собрал я все свои аддончики в одну коллекцию, и теперь их можно установить одним кличком(в скором времени), УРА! %)


 Комментировать…

 Теги: browsers   mozilla   firefox

 14 февраля 2009, 16:10       более года назад

removeNode и Mozilla FireFox :)

Есть на свете браузер клёвый ИЕ (кИЕ) и хорошая контора Microsoft, и любит эта контора в свой кИЕ напихать функций нестандартных, вот одина из них «removeNode». По хорошему должна быть функция removeChild :) , но что делать, если нужно поддержать какой нить огромный проект, типа Битрикс, что очень любит фишечки с кИЕ :) Для этого можно в прототайп добавить небольшую обёрточку, и жизнь станет на порядок легче ;)

if(window.HTMLElement){
  HTMLElement.prototype.removeNode = function(removeChildren) {
    if (Boolean(removeChildren) )
      return this.parentNode.removeChild(this);
    else {
      var r=document.createRange();
      r.selectNodeContents(this);
      return this.parentNode.replaceChild(r.extractContents(),this);
    }
  }
}


зы: Это же касается чудесных кИЕ методов для options.remove

 1 комментарий

 Теги: browsers   microsoft   Internet Explorer, browsers   mozilla   firefox, javascript   id   removeChild, javascript   id   removeNode

 28 июня 2008, 14:02       более 2-х лет назад

Mozilla(firefox) javascript problem with the assignment width or height

В мозиллке (фаерфоксе — Mozilla Firefox) когда добавляешь/изменяешь джаваскриптом длину(width), высоту(height) или другой параметр в пикселях(px), он не работает :( и получаешь ошибку ксс «параметр задан неправильно или не установлен» («The parameter is incorrect»). Всего лишь нужно вконец величины дописать «px» :)

Вот так:
id.style.width = somewidth + 'px';

 Теги: css   width, javascript   id   style, css   height, browsers   mozilla   firefox, bugs

 10 мая 2008, 08:08       более 2-х лет назад

My Mozilla Firefox Developer Plugins

Приложение: Firefox 3.0.4 (2008102920)
Операционная система: WINNT (x86-msvc)

Всего: 53

  • Adblock Plus 1.0
    Скажи «нет» рекламе!
  • Adblock Plus: Element Hiding Helper 1.0.5
    Helps you create element hiding rules for Adblock Plus to fight the text ads.
  • Bookmark Previews 0.7.4
    Bookmark Previews adds an album view and thumbnail view to the bookmarks organizer.
  • ColorZilla 2.0
    Advanced Eyedropper, ColorPicker, Page Zoomer and other colorful goodies
  • Dictionary Switcher 1.0
    Переключает словари автоматически или вручную и отображает текущий выбранный словарь в строке статуса.
  • DOM Inspector 2.0.1
    Inspects the structure and properties of a window and its contents.
  • Download Statusbar 0.9.6.3
    Просмотр и управление загрузкой файлов при помощи компактной панели над строкой состояния
  • Extension List Dumper 1.14.1
    Создает список установленных расширений.
  • FaviconizeTab 0.9.8.2
    The width of the specified tab becomes small up to the size of favicon.
  • Firebug 1.4.0a8
    Web Development Evolved.
  • Firecookie 0.7
    (Отключено)
    Cookie manager for Firebug. Firebug has to be installed in order to use this extension.
  • FirePHP 0.2.1
    (Отключено)
    Firebug Extension for AJAX Development
  • FireShot 0.61
    Позволяет осуществлять полностраничный захват веб-страниц, их редактирование, сохранение (JPEG, GIF, PNG или BMP), вывод на принтер, в буфер обмена, в другую программу обработки или отправку по электронной почте.
  • Fission 1.0.2
    Индикатор процесса загрузки страницы в панели адреса (в стиле Safari)
  • Flagfox 3.3.5
    Отображает флаг страны, в которой находится сервер
  • Flash Video Resources Downloader 1.0.2
    Flash Video Resources Downloader In Your Statusbar
  • Flashblock 1.5.7
    Replaces Flash objects with a button you can click to view them.
  • GCal Popup 1.0
    Google Calendar in a nice overlay so that your calendar can be updated without ever leaving the webpage.
  • GMarks 0.9.9
    Показать закладки Google в боковом меню.
  • Google Gears 0.5.4.2
    These are the gears that power the tubes! :-)
  • Google Icon 1.10
    Adds favicon to google search results.
  • GooglePreview 3.16
    Вставить картинки предпросмотра в результаты поиска Google и Yahoo.
  • Greasemonkey 0.8.20080609.0
    (Отключено)
    A User Script Manager for Firefox
  • GUtil! 2.3.3
    Google® Utilities in your Firefox Menu and Toolbar
  • HackBar 1.3.2
    A toolbar that helps you find and test SQL injections
  • Html Validator 0.8.5.2
    Adds HTML validation to the View Page Source of the browser. The validation is done by Tidy or a SGML Parser from W3c.
  • IE Tab 1.5.20081203
    Отображение сайтов через Internet Explorer, «встроенный» в Microsoft Windows.
  • Image Toolbar 0.6.5
    Provides easy access to common image functions.
  • Java Console 6.0.05
  • LeechBlock 0.4.2.2
    Blocks those time-wasting sites that can suck the life out of your working day.
  • Locationbar² 1.0.3
    Выделяет имя домена и расшифровывает адрес для более удобного восприятия.
  • MeasureIt 0.3.8
    Draw out a ruler to get the pixel width and height of any elements on a webpage.
  • Open In Google Chrome 1.0
    Open websites directly in Google Chrome
  • PageStyle2Tab 0.8
    Устанавливает для вкладки стиль текущей страницы
  • Personal Menu 4.1.1
    Создайте свое меню и сэкономьте место.
  • Pixel Perfect 0.6.1
    (Отключено)
    Make your web development Pixel Perfect
  • QuickProxy 2008.08.24
    Quickproxy creates a statusbar button to quickly turn the proxy on and off.
  • Rainbow for Firebug 0.6
    (Отключено)
    Javascript syntax highligting for Firebug 1.2+
  • Refractor for Prism 0.2.1
    (Отключено)
    Create Prism applications directly in Firefox
  • Regular Expressions Tester 1.1.6.12
    Tool for testing regular expressions
  • Russian spellchecking dictionary 0.4.2
  • SearchStatus 1.27
    Display the Google PageRank and Alexa ranking with search-related tools.
  • Simple Mail 2.72
    Почтовый клиент
  • Smart Bookmarks Bar 1.4.2
    Hides bookmarks’ names in the bookmarks bar.
  • Smush.it 0.5
    Image optimizer tool, companion to smush.it
  • Tab Mix Plus 0.3.7pre.081003
    Расширение для управления вкладками.
  • TabRenamizer 0.8.11
    Лучшее средство от паранойи.
  • TinEye Image Search 0.4
    Adds TinEye search context menu item for images.
  • Ukrainian dictionary 1.5.5
    Ukrainian (uk-UA) spellchecking dictionary
  • United States English Dictionary 3.0.3
    English United States (en-US) spellchecking dictionary
  • Web Developer 1.1.6
    Adds a menu and a toolbar with various web developer tools.
  • YSlow 0.9.5b2
    (Отключено)
    Make your pages faster with Yahoo!’s performance lint tool.
  • Просмотр HTTP заголовков 0.14
    Просмотр HTTP — заголовков в реальном времени.

 Теги: browsers   mozilla, browsers   mozilla   firefox   addons

Нужно создать сайт на 1С-Битрикс(Bitrix)?
Работает на движке e2 Selecta * All sources code was highlighted with w3club Highlighter.
deer.org.ua © 2008—2010 Vitaliy Bogdanets Deerua