Мидори браузер


Midori (браузер)

браузер Автор

Christian Dywan

Написана на

Си

Интерфейс

графический (GTK+)

Операционная система

UNIX-подобные операционные системы, Linux и Windows

Языки интерфейса

на 38-ми языках, включая русский

Последняя версия

0.5.9 (11 ноября 2014)

Состояние

активное

Лицензия

GNU GPL

Сайт

midori-browser.org

Midori на Викискладе

Midori (яп. 緑 зелёный?) — легковесный браузер с графическим интерфейсом пользователя, использующий для отображения веб-страниц движок WebKit, а для построения интерфейса — библиотеку GTK+. Существует сборка для Win32, доступная на официальном сайте.

Текущие возможности включают вкладочный интерфейс, закладки и настраиваемый поиск. Браузер поддерживает JavaScript[1].

Midori на данный момент разрабатывается в составе Xfce Goodies среды рабочего стола Xfce[2].

Содержание

  • 1 Возможности
  • 2 Применение
  • 3 Примечания
  • 4 Ссылки

Возможности

  • Полная интеграция с GTK+ 2, поддержка GTK+ 3 на стадии беты[3].
  • Быстрая обработка веб-страниц с помощью WebKit.
  • Управление вкладками, окнами и сеансами.
  • Поддержка расширений Netscape.
  • Настраиваемый поиск по веб.
  • Поддержка пользовательских скриптов и стилей.
  • Простое управление закладками.
  • Настраиваемый и расширяемый интерфейс.
  • Встроенный AdBlock.
  • Модули расширения могут быть написаны на Си, Lua и Vala[1].

Новые возможности:

  • Изменение увеличения текста и изображения.
  • Графическое добавление и удаление значков с панели инструментов.
  • Панель плагинов.
  • Боковая панель может быть перенесена направо.
  • Поддерживаются IDN.
  • Жесты мышью.
  • Интеграция с Maemo, если установлен на мобильном устройстве.
  • Поиск слова по мере набора.
  • Включение/выключение расширений без перезапуска браузера.
  • Speed Dial.
  • Панель новостных лент.

Применение

Используется как браузер для умных устройств, подключённых к сети, вроде телевизоров.

Примечания

  1. ↑ 1 2 Christian Dywan. Midori — Веб браузер. Официальный сайт. Проверено 7 июля 2008. Архивировано из первоисточника 21 марта 2012.
  2. ↑ Midori moves to XFCE land. Официальный сайт. Проверено 25 сентября 2008. Архивировано из первоисточника 21 марта 2012.
  3. ↑ Midori Changelog

Ссылки

В Википедии есть портал«Свободное программное обеспечение»
  • Официальный сайт (англ.)
  • Часто задаваемые вопросы (англ.)
Обзоры
  • LXF134: Сравнение. Linux Format. Проверено 18 апреля 2012. Архивировано из первоисточника 15 мая 2012.
  • Евгений Яворских. Midori 0.0.20. Hard’n’Soft (30 января 2009). Проверено 18 апреля 2012.
  • Midori 0.2.6 Review (англ.). Softpedia. Проверено 18 апреля 2012. Архивировано из первоисточника 15 мая 2012.
  Браузеры (сравнение) На Trident На Gecko На KHTMLи WebKit На Presto На Blink На Java / J2ME Текстовые Другие

AOL Explorer • Avant Browser • Enigma Browser • GreenBrowser • Internet Explorer • Netscape Browser 8 • SlimBrowser

Camino • Firefox (Mobile) • Galeon • Ghostzilla • K-Meleon • K-Ninja • Kazehakase • Netscape • Orca Browser • Pale Moon • SeaMonkey • Skyfire • Swiftfox

ABrowse • Arora • Chrome (0—27) • Coast • CoolNovo • Comodo Dragon • Dolphin • Flock • Konqueror • Midori • QupZilla • RockMelt • S60 web browser • Safari • Sleipnir • SRWare Iron • Web

DS Browser • Internet Channel • Opera Mobile • Opera (7.0—12.17)

Chromium • Chrome (28—) • Opera (15.0—) • Orbitum • Vivaldi • Яндекс.Браузер • Амиго

Bolt Browser • HotJava • Opera Mini • Teashark • UC Browser

ELinks • Links • Lynx • w3m

Amaya • Arachne • Dillo • Fusion Media Explorer • Internet Explorer for Mac • Lunascape • Maxthon • Mosaic • NetPositive • NetFront Internet browser

Жирным шрифтом выделены наиболее популярные браузеры; курсивом — браузеры, разработка которых прекращена.

Midori (браузер) Информация о

Midori (браузер)Midori (браузер)

Midori (браузер) Информация Видео

Midori (браузер) Просмотр темы.

Midori (браузер) что, Midori (браузер) кто, Midori (браузер) объяснение

There are excerpts from wikipedia on this article and video

www.turkaramamotoru.com

Changelog  ·  Midori  ·  A lightweight, fast, and free web browser.

  • instead of creating devpet status icon on extension load, create it only to show new messages

  • Open speed dial or homepage according to preference

  • handle tab duplication

  • Add copyright note to appdata file

  • Tweak searching for resources when running from build folder

  • Swap NULL-check with main frame check

  • Use correct signal when clearing the trash

  • Hide WEbGL preference if it is unavailable

  • Remove stored popup sessions from the database

  • Check all browsers for opened sessions and whether they're popups

  • removed unused preference dialog and related code

  • Fix check for found valac and mention VALAC variable

  • Fix autoscrolling if page contains a frame with our custom error page

  • Don't use context-menu signal in WebKitGTK+ < 1.10.0

  • Fix building on Ubuntu 12.04

  • Reset item ids when re-importing bookmarks

  • Check path being NULL in export before trying to inspect it

  • restore the last closed sessions if no session is opened

  • Cast WebKitDOMHtmlElement for getting source content

  • Use font-set signal and font family for GTK+ 3.2 font chooser

  • add function to view dom source

  • remove unused variable

  • Resolve compiler warnings in current trunk

  • Update win32-release script for cmake, move unused docs/scripts to old folder

  • Try to handle previous runs of cmake in configure wrapper

  • Correct view source assertions in tab unit test

  • Build fix: found undeclared in midori_bookmarks_db_remove_item_recursive

  • Cache bookmark items to avoid their recreation on database reads

  • allow “view source” on about pages

  • Enable old target policy on cmake < 2.8.8

  • Re-arrange data file installing to be more explicit

  • option to modify the number of tabs which will be restored in each idle callback

  • Implement MidoriBookmarksDatabase class by inheritence from MidoriDatabase

  • Ensure tab spinners update as often as the menubar spinner to avoid desync

  • Use tabby sorting increment when importing session.xbel tabs

  • Only install config files to /etc if prefix equals /usr

  • handle urls as argument when starting midori

  • Make tabby compile with Webkit2

  • Drop waf build system and provide cmake-based “configure” script

  • midori_panel_action_activate_cb forgot to update the action group

  • Fixes bug where certificate Security overlay failed to close

  • handle tab movement

  • add tab sorting

  • Untangle implicit GTK+3 for Granite and WebKit2

  • Allow running test under debug tools with cmake

  • Install config files to /etc when install prefix is /usr

  • Add missing PO_FILES argument to GETTEXT_PROCESS_PO_FILES

  • Add USE_APIDOCS to build API docs with CMake
  • Rasterize SVG to PNG with rsvg-convert

  • fix bookmarks test regression after fix-1179200-4

  • Add CMakeLists.txt for config directory

  • Install mo files in locale dir

  • don't change uri/title if the tab isn't loaded

  • use a separate signal to store the tab title

  • Check if execinfo.h header exists on BSD

  • fix endless loop in Midori.Database.init

  • Use destructive-action style class in ClearPrivateData

  • Initialize priv→element to avoid crash when freeing

  • Introduces KatzeArray::update-item to handle metadata changes

  • Refactor excuting schema from file into a function

  • Use stock as string in liststore

  • Drop needless (and wrong) HAVE_LIBNOTIFY in preferences

  • Flip horizontal position of the overlay when hit by the mouse

  • Add Midori.URI.get_base_domain and use it in NoJS
  • Introduce Midori.Database and use for history and tabby

  • ctrl+shift+w should trigger a delete-event

  • Implement dialog windows opened via javascript

  • Make get_res_filename work with different hierarchies

  • fix check for new database

  • Speed up session import

  • Import tab title from old sessions

  • Separate CFLAGS for C and add missing HAVE_

  • Install top-level text files and FAQ html/ css to doc dir
  • Provide and install .appdata.xml file for app stores

  • Move bookmarks db handling to midori-bookmarks-db

  • Add XSS to OPTS_LIBRARIES

  • Update condition for UBUNTU_MENUPROXY to work on Saucy

  • Introduce tabby, the new session manager

  • Fix typo in katze_item_set_meta_integer call

  • Allow bookmark bar update on additions resulting from imports

  • Re-work midori_array_query_recursive to not include folder items twice

  • Fix syntax of icon sizes passed to foreach

  • Add bzr revision number to version if available

  • Unify nojs and cookie policy dialogs, make policy changeable within the list

  • Drop all G_ENABLE_DEBUG guards

  • Add -g to CFLAGS to enable debugging symbols

  • Adjust cmake build for Win32

  • Implement CMake build setup

  • Port MidoriApp from Unique/ sockets to GApplication

  • New signal about-content to provide content for about uris

  • Check if browser is NULL in midori_view_get_tab_menu to prevent a crash. Fixes bug #1215652.

  • Ensure proxy setting widgets callbacks don't outlive the widgets themselves

  • Fix webkit2 build error

  • Show the bookmarks import location combobox.

  • Rename internal completion URLs to avoid confusion

  • midori-browser.org

    Браузер Midori

    Автор: admin.

      Браузер Midori - кроссплатформенное приложение, обеспечивающее быстрый, удобный и безопасный интернет-серфинг. В своей неперегруженной комплектации, имеет лишь базовый набор основных функций, благодаря чему достигается столь высокая скорость и отзывчивость браузера. Именно браузер Midori, по-умолчанию, используется в легковесной рабочей среде «Xfce», поддерживает вкладки, управление закладками, «cookie», настраиваемый поиск, «AdBlock», жесты мышью, оснащен очень простым понятным интерфейсом и мн. другое. Работа браузера реализована на движке «WebkitGTK+» и «GTK+», имеются версии и для «Windows».

    Экспресс-панель быстрого запуска.

    Общий вид с открытыми вкладками.

      Данный проект развивается, дополняется различным более новым функционалом, исправляются "баги", применяются всяческие улучшения. Вот краткий перечень некоторых функциональных возможностей на сегодняшний день:

    • Полная интеграция с GTK+ 2.
    • Быстрая обработка веб-страниц с помощью движка WebKit.
    • Управление вкладками, окнами и сеансами.
    • Поддержка расширений Netscape.
    • Настраиваемый поиск по веб.
    • Поддержка пользовательских скриптов и стилей.
    • Простое и удобное управление закладками.
    • Настраиваемый и расширяемый интерфейс.
    • Встроенный AdBlock.

      Общий размер браузера составляет всего 1 МБ (для скачивания) и 4 МБ (после установки), быстро работает и загружается, вполне приемлимое оформление. До определенного времени, браузер Midori несколько отставал по уровню современных стандартов и как следствие, не воспринимался «Google» должным образом. Дело в том, что основная часть google-сервисов, становится недоступной, если вы используете старые браузеры. На данный момент, эта неувязачка более не актуальна, стандарты соблюдаются, технологии поддерживаются.

      Установить браузер можно через "центр приложений", но там, как всегда не самая свежая версия, которая явно отстает от новейшей. Поэтому, лучше воспользоваться официальным репозиторием, что бы всегда своевременно иметь в наличие, все новейшие обновления.

    sudo apt-add-repository ppa:midori/ppasudo apt-get updatesudo apt-get install midori 

      После установки, браузер можно найти и запустить через меню «Dash». От себя хотелось бы добавить, конечно, сравнивать Midori c «Firefox», «Opera» или «Chromium» будет совершенно не уместно, возможности этого браузера, куда более чем скромные, в отношении перечисленных фаворитов. Но, как говорится, на то оно и существует, разнообразие выбора, в зависимости от сложности выполняемых задач. Если ваши потребности, определены простыми стандартными действиями, ну скажем, почитать с утрица свежие новости, быстренько заскочить на какой-нибудь форум и перекинуться парой фраз, запостить новость в твиттере и т.п., то эта "малютка" отлично подойдет для данного типа задач.

    Удаление программы: 

    sudo apt-get purge midori

      Не забываем также, удалить репозиторий и ключ аутентификации, сделать это можно через «Параметры системы» → «Источники приложений».

    Положительные характеристики Midori:

    • Очень легкий и очень быстрый.

    Отрицательные характеристики Midori: 

    • Однозначно ответить невозможно, все зависит от того, что именно можно считать недостатком, а что нет.

    Параметры:

    Язык интерфейса:  русский  Лицензия:  бесплатно Домашняя страница:  http://twotoasts.de/?/pages/midori_summary.html Проверялось на «Ubuntu» 12.10 Unity (32-bit.). 

     

     

     

    www.linux-info.ru

    FAQs  ·  Midori  ·  A lightweight, fast, and free web browser.

    Frequently asked questions

    This document is licensed under the LGPL 2.1.

    This is a list of frequently asked questions about the Midori Web Browser. Anyone should feel free to improve or extend this page, but keep it clean and easy to read for other users.

    About Midori

    What is "Midori" and why should I use it?

    Midori is a Web browser that aims to be lightweight and fast. It aligns well with the Xfce philosophy of making the most out of available resources. It has a customizable interface using the GTK+ toolkit.

    How to pronounce Midori and what does the name mean?

    Pronounce it “midoɺi”, with a Spanish/ Japanese “r” or “Mee-Doh-Ree” in English or read it Italian. The name comes from the Japanese word 緑 (みどり) for the colour “green”.

    What does the logo mean?

    The paw of a green cat. Obviously. Also it resembles the letter “M” in “Midori”. The curving is supposed to emphasize speed.

    On which platforms does Midori run currently?

    Midori is portable and should run on all platforms that its dependencies support. Releases exist on various Linux distributions, for Windows versions prior to 8.1 (for now), and BSD.

    Under which license is Midori distributed?

    Midori and all delivered artwork are licensed under the LGPL2.

    Common problems

    Why does Google Mail/ Calendar/ Maps, Facebook not work or show mobile version?

    Some websites give up if they don't recognize your browser as Chrome, Firefox, IE, etc.

    You can change the browser name sent to web sites at Preferences > Network > Identify As

    Either choose a predefined user-agent or choose Custom and find a suitable string in a list.

    Many other websites use similar means of detecting the browser.

    Google previously recommended the superior practice for website creators of checking which features are present rather than browser name/version, but has since weakened this stance with their browser's growing market share.

    There are missing icons/ warnings

    Midori uses a wide variety of icons which may not be present in all themes. For instance icons for a new tab, to represent scripts, or the throbber may not available. To fix this, install a Freedesktop.org spec compliant icon theme, such as Elementary, Faenza, Buuf or GNOME.

    if you need to set a custom path for these to be “searched in” (Kiosks and embedded devices for example):

    XDG_DATA_HOME=/path/to/location

    will add an extra path for the icons/… directory

    In addition, GTK3 may remove icons from menus. This may be changed by placing

    gtk-menu-images=true

    in the file ~/.config/gtk-3.0/settings.ini

    Tweaking Midori on the Gtk level

    If you don't have a desktop application that takes care of Gtk settings or if your interface doesn't support a particular feature, you can modify any settings easily manually by specifying them in a text file called ~/.gtkrc-2.0 or /etc/gtk-2.0/gtkrc:

    Use Tango as a fallback for your icon theme:

    gtk-icon-theme-name = "MySuperFancyTheme" gtk-fallback-icon-theme = "Tango"

    Use a smaller toolbar:

    gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR

    Only for those not running a complete DE like Xfce, Elementary, etc…There is a preference: Preferences → Browsing → Toolbar Style: Small icons

    Enable changing hotkeys while hovering menu items:

    gtk-can-change-accels = 1
    Making the current tab more visible

    To make the current tab more visible in Midori, when running Elementary edit the file /usr/share/themes/elementary/gtk-3.0/gtk-widgets.css around line 1620:

    .notebook tab .active-page GtkLabel { font-weight: Bold;

    Note that this will also affect tabs on Files, Scratch and other apps. The change is presumably applicable to other GTK+3 based themes but it wasn't tested.

    Disable middle click pasting

    As of GTK+ >= 3.4 one can disable it globally in ~/.gtkrc-2.0

    gtk-enable-primary-paste = 0

    Otherwise by adding a line to ~/.config/midori/config

    middle-click-opens-selection=false
    Midori crashes shortly before pages are loaded

    There appears to be an issue with Glib 2.16. The recommended solution is to upgrade your Glib package to 2.18.

    How can I change the cache folder (to tmpfs)?

    On Linux and BSD, you can set XDG_CACHE_HOME for all applications, or just Midori. Midori saves icons and cache files in that location. The default is ~/.cache.

    export XDG_CACHE_HOME=/dev/shm

    Security features
    HSTS/ HTTP Strict Transport Security

    Midori >= 0.4.7 automatically picks up the Strict-Transport-Security header and caches sites locally. By design, there's no UI. System administrators can however place a pre-loaded cache at /etc/xdg/midori/hsts.

    Certificate Handling

    Midori uses the system's ca-certificates, the exact locations depend on the distribution.

    Midori >= 0.4.7 supports gcr for certificate display and management, you can click the lock in the urlbar to see detailed information. Earlier versions, or one without gcr will not handle certificates beyond the lock icon in the urlbar.

    Error granting trust: Couldn't find a place to store the imported certificate

    No key store is available or it's incorrectly setup. By default GNOME keyring can do this. Under Xfce it is recommended to enable “GNOME services” under “Session and Startup settings”. To make sure, that the output of “gnome-keyring –startup” is correctly sent to the environment, you can add “export `gnome-keyring-daemon –start`” to .xinitrc.

    In order to solve it, follow the steps:1- make sure that gnome-keyring-pkcs11.so exists in your machine, the location can be found with:$ sudo find / -name gnome-keyring-pkcs11.so

    Depending on the architecture it can be under /usr/lib/x86_64-linux-gnu/pkcs11 or /usr/lib/i386-linux-gnu/pkcs11

    If you don't find them, you must install it:

    64bit machine: $ sudo apt-get install libp11-kit-gnome-keyring

    32bit machine: $ sudo apt-get install libp11-kit-gnome-keyring:i386

    After that the file should be in the expected place.

    2- Now CLOSE Midori.

    3- After it is totally closed, run:

    64bit machine: $ modutil -add gnome-keyring -libfile ./lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so -mechanisms RSA:DSA -dbdir ~/.config/midori/

    32bit machine: $ modutil -add gnome-keyring -libfile ./lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so -mechanisms RSA:DSA -dbdir ~/.config/midori/

    A testcase for self-signed certificates
    Flash doesn't work
    Windows support

    Starting with WebkitGTK+ 1.8.2 (Midori 0.4.7) Netscape plugins are now supported if they're installed in Application Data\Mozilla\plugins or bin\Plugins in Midori's folder (ie. NPSWF32.dll for Flash).

    Netscape plugins on Linux, BSD and OS X

    You need to set MOZ_PLUGIN_PATH, for example like this:

    export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"

    The official Flash plugin is called libflashplayer.so .

    You can either run that above line and run Midori in the same terminal afterwards or, for the long term, put it in ~/.bash_profile or /etc/profile.d or your respective distribution's place for this.

    Flash is crashing/ No Flash with GTK+3

    nspluginwrapper is a program that runs Flash and other Netscape plugins in a separate process. So a crash can't crash the whole browser and Flash, which is GTK+2 can run in GTK+3.

    sudo apt-get install nspluginwrapper # On Debian/ Ubuntu - on other systems http://get.adobe.com/de/flashplayer/ sudo apt-get install flashplugin-installer # cd into the folder where the plugin was installed nspluginwrapper -v -a -n -i libflashplayer.so

    ~/.mozilla can also be used with Adobe's tarball if system-wide install is not an option. The approach is confirmed to work with x86-64 as well.

    Another remedy is using WebKit2 - starting with Midori 0.4.9 experimental support is available, progress on WebKit2GTK+ can be seen in the WebKit wiki.

    HTTPS URLS won't load

    That's a problem with WebKit. You can work around it to some extent if you start Midori like so:

    export WEBKIT_IGNORE_SSL_ERRORS="1" midori
    256-bit encryption isn't supported?
    Scroll with middle mouse button/ pan-scrolling
    HTML5 Video/ Audio doesn't play

    Midori uses GStreamer for HTML5 audio and video support. Codecs, which handle particular formats of audio or video, are provided by GStreamer plugins which may need to be installed separately. Midori may be built with GTK+2 or GTK+3 (visit about:version to check), which correspond to GStreamer versions of 0.10 or 1.0 respectively.

    1. You need gstreamer(0.10/1.0)-pulse if you're using PulseAudio.

    2. You may need gstreamer(0.10/1.0)-alsa for ALSA, depending on your distribution.

    3. You need plugins for Theora, gstreamer(0.10/1.0)-base and MPEG-4 incluing aac (e.g. gst-plugins-faad), gstreamer(0.10/1.0)-bad. For WebM, you'll need plugins for vorbis (-base), matroska (-good), and vp8 (-bad). Have a look at http://www.gstreamer.net/documentation/plugins.html for details.
    4. For Youtube or Vimeo, you need WebKitGTK+ 1.1.20 or newer.

    5. You can look at about:version to see which video codecs you have installed.

    Java doesn't work, applets don't show up

    Java is supported in WebKitGTK+ since 1.1.22. If you need Java, you need to upgrade to at least that version. Sun/ Oracle Java as well as IcedTea are known to work. Distribution specific setup might be required, such as setting LD_LIBRARY_PATH to include the location of libxul.so and making a symbolic link for libnpjp2.so to /usr/lib/mozilla.

    icedtea6 version 1.8 and above has been known to crash midori. If this is the case for you, try sun-jre.

    In the menubar, go to View → Toolbars → Menubar, voilà the menubar is gone and a new icon appears at the right end of the toolbar. Click the icon to access functionality that otherwise sits in the menubar. Midori 0.3.2 disables the menubar by default.

    Why can't I use periods when searching from the location bar?

    Midori tries to make a smart guess on whether you are searching for something or typing a valid address by hand. Yet there are ambiguous cases so it fails.

    Try using 'g' in front of the search terms, like 'g Ms.Marple'. The 'g' is a token that tells the browser you want to use Google. See Tools > Manage Search Engines or right-click the location bar and select the menu item, to look at search engines and tokens.

    How can I reload and bypass the cache?

    Hold the Shift key while clicking Refresh in the toolbar (this works in Chromium, Mozilla, Opera and Safari, too). Since Midori 0.3.2 you can use Ctrl+Shift+R.

    How do I make tabs pinned/ sticky/ minimized?

    Right-click the tab label, and click 'Minimize' or 'Show Tab Icon Only' (Midori 0.3.5 or older).

    Why doesn't Google "live search" work?

    You need to set Preferences > Network > Identify As to Firefox.

    Google Docs says "Clear your caches"

    If you use the Adblock extension, EasyPrivacy may conflict with Google Docs. Disable the subscription if you use it. Otherwise try disabling Adblock entirely.

    Opening html email with Mutt

    Place the following in ~/.mutt/mailcap or ~/.mailcap:

    text/html; midori -a '%s'; test=test -n "$DISPLAY"; nametemplate=%s.html
    Scrolling on website xyz is very slow
    1. Go to Tools > Extensions

    2. Enable 'User Addons' if it's not yet enabled

    3. Create a text file .local/share/midori/styles/scrollfix.user.css

    4. Put this into the file: * {-webkit-box-shadow: none !important;}

    File opening doesn't work/ PDFs are opened with GIMP

    Midori opens files with GIO, and falls back to xdg-open, exo-open or gnome-open if these are available. All of this relies on freedesktop.org MIME configuration. To tweak this there are multiple options:

    1. Use 'Open With' with a graphical file manager

    2. Edit ~/.local/share/applications/defaults.list with a text editor

    3. Run something like ‘xdg-mime default evince.desktop application/pdf’

    xdg-open knows how to handle GNOME, KDE and Xfce. LXDE is unfortunately not supported yet, see https://bugs.freedesktop.org/show_bug.cgi?id=26058

    Open magnet:, irc:, apt:, bitcoin: with an application

    As of git 2011-03-05 02:40:00 UTC and Midori 0.3.3 you can

    Add a line to ~/.local/share/applications/mimeapps.list:

    x-scheme-handler/magnet=transmission-gtk.desktop

    Or install an application which advertises the scheme like so:

    MimeType=x-scheme-handler/magnet;

    Note that incomplete .desktop files will silently fail and it will look as if it doesn't exist.

    For bitcoin:, try Electrum or Multibit.

    Spell check

    First enable spell checking: Edit→Preferences→Behavior and check “Enable Spell Checking”.

    Now while typing any errors should get underlined in red. To get suggestions, highlight the word and right-click. You should see a list of suggestions at the top of the menu.

    On Windows you need to download OpenOffice dictionaries, find the zipped file(s) for your locale(s) and unpack the contents into share/myspell/dicts/ in your Midori installation. The folder should contain *.aff and *.dic files

    Is it possible to disable Same Origin Policy? What Webkit settings not in the preferences can I change?

    You can change all values of WebKitWebSettings in the config file (~/.config/midori/config on unices, %APPDATA%\midori\config [please check :)] on Windows). For example, to disable Same Origin Policy for local files, add

    enable-universal-access-from-file-uris=true

    to your config file.

    How do I change the proxy server from the toolbar or statusbar?
    1. Activate the Statusbar Features plugin.

    2. Close Midori.

    3. Create a folder ~/.config/midori/extensions/libstatusbar-features.so/

    4. Create a text file “config”

    5. Type the following for the default setup:

    [settings] items=auto-load-images;enable-scripts;enable-plugins;identify-as;zoom-level

    Add button types separated by semicolon:

    • proxy-type Proxy Server

    • preferred-encoding Character Set/ Encoding

    • enable-spell-checking Spell Check

    • zoom-text-and-images Only zoom in text, or text and images

    • first-party-cookies-only First party cookies only

    Most settings listed at http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html will also work as button types.

    Privacy

    Blacklist cookies

    As of Midori 0.4.4 you can add a hidden option to ~/.config/midori/config like so:

    site-data-rules=-google.com,-facebook.com,!bugzilla.gnome.org,+bugs.launchpad.net
    1. Values prefixed with “-” are always blocked

    2. Values prefixed with “+” are always accepted

    3. Values prefixed with “!” are not cleared in Clear Private Data

    4. No wildcards.

    5. LSO, local storage and application caches ignore all policies.

    The feature is currently experimental and will change in future versions.

    Adblock

    The Advertisement Blocker can be activated under Extensions. It uses the same lists as Adblock Plus. URLs are blocked completely and never loaded. Lists can be added through the option button on the right side in the extension list.

    Modes

    Web Applications

    There are two closely related features to open websites as dedicated windows of their own. You can do the following to use them:

    1. Right-click a hyperlink → Open as Web Application

    2. Add or Edit a bookmark → [x] Run as web application

    You can also add options such as ‘-e Fullscreen’, ‘-e Navigationbar’ or ‘-e Statusbar’ (as of Midori 0.2.9 ‘midori –help-execute will list all available commands’)

    Private Browsing

    File menu/ App Menu button → Private Browsing

    A private window is a separate process, so crashes don't affect the normal browser session. No sensitive data such as cookies, history or bookmarks are stored. No extensions are loaded. Panels are not available.

    As of Midori 0.2.9 Private Browsing uses preferences, cookies, keyboard shortcuts and search engines from the normal session, but it won't save any changes. This behaviour can be emulated from the command line with “-a” and “-c”.

    As of Midori 0.3.4 the –private command line switch opens a private browsing instance with normal preferences, cookies, shortcuts and search engines. But no changes will be saved. DNS prefetching is disabled in this mode, also referrers are stripped down to the hostname when navigating between different websites.

    The same options available to -a/ –app can be used for private browsing mode.

    Portable mode/ Win32

    On Windows builds, -P/ –portable causes all data to be written to the “profile” folder in the Midori folder. Everything, including temporary files and cache, is stored in a sub-folder without touching the system. So Midori can be run eg. from a USB stick on different machines.

    Kiosk mode

    There is no specific mode, instead you use several command line switches. A typical fullscreen setup with no toolbar that opens about:blank and resets the session after 2 minutes of inactivity for instance:

    midori -i 120 -e Fullscreen -e Navigationbar -a about:blank

    Available commands for -e can be listed with “midori –help-execute”.

    If needed, a customized profile can be created with “midori -c /path/to/folder”. Using the shortcut editor extension, keyboard shortcuts can be removed as needed. Afterwards just append “-c /path/to/folder” to the kiosk mode command line.

    To restrict pages that can be opened, you can use a regular expression. The expression is a blacklist. To block undesirable sites you can do something like:

    -b 'youtube|youporn'

    By negating the expression you can also whitelist pages.

    -b '^(?!.*?(gmail|mail\.google|accounts\.google)).*'

    Any links outside end up in an error page. All images and other files won't be loaded.

    Always open Midori in Fullscreen

    Using the WM to get Midori into fullscreen mode, or calling “midori -e Fullscreen” is the typical way. On the next startup Midori will remember the last window size and state.

    If for whatever reason this isn't enough, DevilsPie can force Midori to the desired state:

    ~/.devilspie/midori.ds

    (begin

    (if (and (is (application_name) "Midori") ) (begin (maximize) ) )

    )

    Overriding settings and loading extensions

    As of Midori 0.5.0 the –execute command line switch got more powerful:

    midori -e libcolorful-tabs.so=true

    midori -e enable-javascript=false

    Proxy servers

    By running a local proxy you can modify web content even before it has reached Midori. That allows you to do things similar to what user scripts and user styles provide and even others that neither is suitable for.

    Privoxy

    Privoxy is a non-caching web proxy with filter capabilites and particular support for blocking advertisements before even loading them.

    http://www.privoxy.org/faq/

    Mousehole
    Polipo

    Polipo is a caching web proxy (a web cache) designed to be used by one person or a small group of people. It is similar in spirit to WWWOFFLE, but the implementation techniques are more like the ones used by Squid.

    http://www.pps.jussieu.fr/~jch/software/polipo/

    Are SOCKS proxy servers supported?

    As of Midori 0.5.0 and libSoup 2.40 SOCKS proxies can be used, the Preferences dialog lists detected types and accepts curl syntax.

    libSoup < 2.40 only supports HTTP proxy servers directly. A way to use SOCKS on Unix is to use tsocks with SSH as follows:

    1. Install 'tsocks'

    2. Open /etc/tsocks.conf in an editor

    3. Type something like this, you can choose the port freely: server = 127.0.0.1 server_type = 5 server_port = 5555
    4. Open an SSH connection with the same port: ssh -D localhost:5555 myhost.com
    5. Run Midori with “tsocks” in front of it: tsocks midori
    6. Now you can use for example http://www.whatsmyip.org/ to verify that you are using a SOCKS connection. The IP address should match the one of your SSH host. Remember to keep the SSH login running, and don't suspend it, otherwise it won't work.
    7. If the connection fails for some reason, you should see a connection error.

    Keyboard Hotkeys

    HJKL

    You can use the Vim-like key bindings [hjkl] to navigate a page. h=left j=down k=up l=right In a picture:

    k h l j

    You can also use the arrow keys to do the same.

    Following Links

    To enable Hints in Midori, similar to vimperator in Firefox or xxxterm, press .

    With hints enabled, type the link number, and press Enter to open the link in the current tab, or Ctrl-Enter to open the link in a new tab. To clear a typed link number before pressing Enter or Ctrl-Enter, use Escape.

    Use Ctrl(+Shift)+Tab to switch between pages

    Since Midori 0.3.5 Ctrl+Tab is supported by default.

    In older versions you can enable the History List extension under Tools → Extensions.

    Customizing keyboard shortcuts

    Enable the Shortcuts extension Tools → Extensions. To edit a keybinding Tools → Customize Shortcuts…

    Using Find

    Default shortcuts for Find are:

    Find: Ctrl+f “/” and “,”FindNext: Ctrl+g and EnterFindPrevious: Shift+Ctrl+g

    Dismissing Find:

    When using Ctrl+f to bring up Find, use Ctrl+f again or ESC. When using “/” or “,” to bring up Find, the previous works here as well and by simply moving focus away from the Find box. For example: a Tab or a mouse click anywhere[besides links of course].

    Mouse Gestures

    By default the right mouse button initiates gestures.

    You can change the button (for example, to the middle mouse button) using a hidden option:

    1. Create a text file ~/.config/midori/extensions/libmouse-gestures.so/config .

    2. Type the following in there:

    [settings] button=2

    As of Midori 0.5.0 individual gestures can be configured freely in the file ~/.config/midori/extensions/libmouse-gestures.so/gestures . Consult “midori –help-execute” for a list of available actions, which are placed on the left of the equals sign. On the right goes a sequence of directions, (W)est, (E)east, (N)orth, (S)outh, (S)outh(W)est, etc., with a semicolon (;) after each, as shown below:

    [gestures] Quit=W;E; TabPrevious=SW; TabNext=SE;

    Additionally, there are programs allowing mouse gestures system-wide, for example EasyStroke.

    User scripts and styles

    UserScripts are scripts applied on some, or on all web pages. They can modify pages locally to add or alter functionality. That includes fixing bugs in web pages. User scripts are also available in other browsers, in the form of Mozilla's Greasemonkey or Opera's User JavaScript.

    How to install a UserScript

    First enable the “User Addons” extension. It will show up as a “User Scripts” panel (and it also provides “User Styles”).

    Now you need to find some scripts. You can find some at userscripts.org. Most scripts work fine, some may be written specifically for other browsers.

    If you have Midori 0.3.0 or newer, you will be offered to install scripts as soon as you see them on the page.

    To manually install a userscript, you have to download the script as a file, and put it in the folder ~/.local/share/midori/scripts. You need to create that folder if it doesn't exist yet. Midori will automatically see and use it, which you can also see in the user scripts panel.

    If the script is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-script.js where “.js” is the extension.

    Compatibility with GreaseMonkey

    As previously mentioned, Midori can use most scripts you will find. Midori supports Greasemonkey's @include and @exclude metadata so that scripts are only loaded on appropriate pages. Midori doesn't support advanced metadata, such as @require and @resource, so user scripts can't define dependencies on other scripts - most of the time this isn't a problem. Midori also does not support Greasemonkey API. Scripts must also be compatible with Webkit, since Midori is based on WebKit. A Greasemonkey script that makes use of functionality of Gecko/ Firefox will not work in Midori.

    Flash blocking via a User script

    You can use BlockFlash5 as a user script which replaces all Flash elements with a button that says “Play Flash”.

    Flash blocking via a User style

    You can also use FlashBlock WannaBe as a user script in order to replace Flash elements with placeholders and load them on click. The script is pretty advanced compared to most Flash blockers found on the web.

    User styles

    User styles are CSS Cascading Style sheets that are loaded locally and applied on top of web pages, similar to User scripts, in order to add or alter functionality and also fix bugs.

    How to install a user style

    First, you need to find some styles (or write your own). You can find some at userstyles.org. Many styles may or may not work, depending on whether the author decided to use browser specific features.

    To install a user style, you have to download the style as a file, and put it in the following directory ~/.local/share/midori/styles (you may need to create that directory if it does not exist). Midori will automatically see and use it, which you can also see in the user styles panel.

    Note, if the style is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-style.css where “.css” is the extension.

    How to install a user style before Midori 0.0.20

    Open up the Preferences and use the file chooser button beside User Stylesheet to choose a style sheet file. The style sheet will from now on be applied to all sites automatically.

    A user css to display the url when a link is hovered

    This user css is used to display the corresponding url when a link is hovered. This is similar to what chromium/chrome provides when hovering over a link, shown on the bottom left of the page. Add the following to ~/.local/share/midori/styles, then restart Midori and make sure that it is enabled Tools → Userstyles.

    Customize as needed:

    a[href]:hover { text-decoration: none !important; } a[href]:hover:after { content: attr(href); position: fixed; left: 4px; bottom: 4px; padding: 0 6px !important; max-width: 95%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font:10pt sans-serif !important; text-shadow: 0 0 12px white; background-color: ButtonFace !important; color: ButtonText !important; opacity: 0.8; outline: ButtonFace solid thick; z-index: 9999; }
    Tweaking fonts via CSS

    If changing system-wide font settings isn't bringing the desired results or rendering should be tweaked only for websites CSS can be an alternative. Add the following to ~/.local/share/midori/styles, then restart Midori and make sure that it is enabled Tools → Userstyles.

    Customize as needed:

    * { font-smooth:always; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }

    Midori Architecture

    Midori stands on the shoulders of three giants in particular: the software libraries GTK+, WebKitGTK+, and libsoup. GTK+ provides the buttons, windows and menus, WebKitGTK+ draws and controls web pages, and libsoup downloads those pages.

    WebKitGTK+ itself uses two other important libraries: JavaScriptCore, a WebKit project which runs scripts on web pages; and GStreamer, which plays HTML5 video and audio.

    WebKit Version Numbers

    WebKit is the core of the Midori browser, and it determines how web pages are rendered. Because WebKit is a complex piece of software and compatible with various libraries, its version numbers and naming schemes can at times be confusing.

    WebKit itself is a library which works in many environments, such as Windows, OS X, and various Linux DE. There are different “ports”, one of which corresponds to each of these environments, and each of which is slightly different in bugs and features at any given time. The WebKit port used by Midori (because Midori is built with GTK+) is WebKitGTK+.

    WebKitGTK+ can be compiled against either GTK+2 or GTK+3. This will result in library filenames like libwebkitgtk-1.0.so or libwebkitgtk-3.0.so, respectively. This has nothing to do with the version of WebKit itself.

    WebKit has a “new API layer … designed from the ground up to support a split process model”–so pages can crash without the entire browser crashing. This layer is called WebKit2, and for WebKitGTK+ it requires building against GTK+3, producing a library file called libwebkit2gtk-3.0.so.

    To find out the version of WebKitGTK+ your build of Midori is using, visit about:version.

    Version Number Interactions

    The WebKit2 API layer is available from fairly old WebKit versions through the present, but Midori's WebKit2 support requires version 2.0.0 or newer of WebKitGTK+. Current versions of WebKitGTK+ continue to support GTK+2 and GTK+3 (the latter since 1.4.x or so). As stated above, the WebKit2 API layer is only available with GTK+3.

    Midori's support for WebKit2 is still provisional, and likely unsuitable for real-world daily usage; much work is being done in this area so that Midori can use WebKit2 by default at some point in the future.

    Midori and mediaHerald

    mediaHerald is a dbus service (/org/midori/mediaHeraldallow) users to connect to dbus and check the titme and url of the video that midori plays in YOUTUBE, VIMEO or DAILYMOTION, the extension which does the work is called webmedia-now-playing.

    If you want to get the video title and the uri is easy more than easy .

    #!/bin/sh   eval $(dbus-send --session --print-reply --dest=org.midori.mediaHerald /org/midori/mediaHerald org.freedesktop.DBus.Properties.GetAll string:"org.midori.mediaHerald" | awk ' /string *"VideoTitle/{ while (1) { getline line if (line ~ /string "/) sub(/.*string /, "TITLE=", line) print line break } } /string *"VideoUri/{ while (1) { getline line if (line ~ /string "/) sub(/.*string /, "URI=", line) print line break } } ') echo "Midori is now playing: $TITLE ,the uri is: $URI"

    midori-browser.org


    Смотрите также