<title>midori:faq</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
-<meta name="date" content="2011-11-08T02:51:30+0100"/>
+<meta name="date" content="2012-03-18T00:07:24+0100"/>
<meta name="keywords" content="midori,faq"/>
<link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="Xfce Wiki"/>
<link rel="start" href="/"/>
<link rel="canonical" href="http://wiki.xfce.org/midori/faq"/>
<link rel="stylesheet" type="text/css" href="faq.css" />
<script type="text/javascript"><!--//--><![CDATA[//><!--
-var NS='midori';var SIG=' --- //[[christian@twotoasts.de|Christian Dywan]] 2011/11/11 00:07//';var JSINFO = {"id":"midori:faq","namespace":"midori"};
+var NS='midori';var JSINFO = {"id":"midori:faq","namespace":"midori"};
//--><!]]></script>
-<script type="text/javascript" charset="utf-8" src="/lib/exe/js.php?tseed=1316333533"></script>
+<script type="text/javascript" charset="utf-8" src="/lib/exe/js.php?tseed=1330500193"></script>
</head>
<body>
<div class="dokuwiki export">
<ul class="toc">
<li class="level1"><div class="li"><span class="li"><a href="#midori_-_frequently_asked_questions" class="toc">Midori - Frequently asked questions</a></span></div></li>
-<li class="level1"><div class="li"><span class="li"><a href="#getting_started" class="toc">Getting started</a></span></div>
+<li class="level1"><div class="li"><span class="li"><a href="#getting_started" class="toc">Getting started</a></span></div></li>
+<li class="level1"><div class="li"><span class="li"><a href="#common_problems" class="toc">Common problems</a></span></div>
<ul class="toc">
-<li class="level2"><div class="li"><span class="li"><a href="#about_midori" class="toc">About Midori</a></span></div></li>
-<li class="level2"><div class="li"><span class="li"><a href="#common_problems" class="toc">Common problems</a></span></div></li>
+<li class="level2"><div class="li"><span class="li"><a href="#flash_doesn_t_work" class="toc">Flash doesn't work</a></span></div></li>
</ul>
</li>
-<li class="level1"><div class="li"><span class="li"><a href="#features" class="toc">Features</a></span></div>
+<li class="level1"><div class="li"><span class="li"><a href="#privacy" class="toc">Privacy</a></span></div>
+<ul class="toc">
+<li class="level2"><div class="li"><span class="li"><a href="#blacklist_cookies" class="toc">Blacklist cookies</a></span></div></li>
+<li class="level2"><div class="li"><span class="li"><a href="#adblock" class="toc">Adblock</a></span></div></li>
+</ul>
+</li>
+<li class="level1"><div class="li"><span class="li"><a href="#modes" class="toc">Modes</a></span></div>
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#web_applications" class="toc">Web Applications</a></span></div></li>
<li class="level2"><div class="li"><span class="li"><a href="#private_browsing" class="toc">Private Browsing</a></span></div></li>
-<li class="level2"><div class="li"><span class="li"><a href="#proxy_servers" class="toc">Proxy servers</a></span></div></li>
-<li class="level2"><div class="li"><span class="li"><a href="#using_the_keyboard" class="toc">Using the Keyboard</a></span></div>
-<ul class="toc">
-<li class="level3"><div class="li"><span class="li"><a href="#hjkl" class="toc">HJKL</a></span></div></li>
-<li class="level3"><div class="li"><span class="li"><a href="#following_links" class="toc">Following Links</a></span></div></li>
-<li class="level3"><div class="li"><span class="li"><a href="#use_ctrl_shift_tab_to_switch_between_pages" class="toc">Use Ctrl(+Shift)+Tab to switch between pages</a></span></div></li>
-<li class="level3"><div class="li"><span class="li"><a href="#customizing_keyboard_shortcuts" class="toc">Customizing keyboard shortcuts</a></span></div></li>
-<li class="level3"><div class="li"><span class="li"><a href="#using_find" class="toc">Using Find</a></span></div></li>
+<li class="level2"><div class="li"><span class="li"><a href="#kiosk_mode" class="toc">Kiosk mode</a></span></div></li>
</ul>
</li>
-<li class="level2"><div class="li"><span class="li"><a href="#mouse_gestures" class="toc">Mouse Gestures</a></span></div></li>
-<li class="level2"><div class="li"><span class="li"><a href="#spell_check" class="toc">Spell check</a></span></div></li>
-<li class="level2"><div class="li"><span class="li"><a href="#user_scripts" class="toc">User scripts</a></span></div></li>
-<li class="level2"><div class="li"><span class="li"><a href="#user_styles" class="toc">User styles</a></span></div></li></ul>
-</li></ul>
+<li class="level1"><div class="li"><span class="li"><a href="#proxy_servers" class="toc">Proxy servers</a></span></div></li>
+<li class="level1"><div class="li"><span class="li"><a href="#keyboard_hotkeys" class="toc">Keyboard Hotkeys</a></span></div></li>
+<li class="level1"><div class="li"><span class="li"><a href="#mouse_gestures" class="toc">Mouse Gestures</a></span></div></li>
+<li class="level1"><div class="li"><span class="li"><a href="#user_scripts_and_styles" class="toc">User scripts and styles</a></span></div>
+<ul class="toc">
+<li class="level2"><div class="li"><span class="li"><a href="#user_styles" class="toc">User styles</a></span></div></li>
+</ul></li>
+</ul>
</div>
</div>
<!-- TOC END -->
</p>
</div>
-<!-- EDIT3 SECTION "About Midori" [320-1212] -->
-<h2 class="sectionedit4"><a name="common_problems" id="common_problems">Common problems</a></h2>
-<div class="level2">
+
+<h1 class="sectionedit3"><a name="common_problems" id="common_problems">Common problems</a></h1>
+<div class="level1">
</div>
</p>
<pre class="code">gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR</pre>
+<p>
+Only for those not running a complete DE like Xfce, Elementary, etc…<br/>
+
+There is a preference: Preferences → Browsing → Toolbar Style: Small icons
+</p>
+
<p>
Enable changing hotkeys while hovering menu items:
</p>
</div>
-<h4><a name="flashnetscape_plugins_don_t_work" id="flashnetscape_plugins_don_t_work">Flash/ Netscape plugins don't work</a></h4>
+<h4><a name="how_can_i_change_the_cache_folder_to_tmpfs" id="how_can_i_change_the_cache_folder_to_tmpfs">How can I change the cache folder (to tmpfs)?</a></h4>
+<div class="level4">
+
+<p>
+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.
+</p>
+
+<p>
+export XDG_CACHE_HOME=/dev/shm
+</p>
+
+</div>
+
+<h2 class="sectionedit4"><a name="flash_doesn_t_work" id="flash_doesn_t_work">Flash doesn't work</a></h2>
+<div class="level2">
+
+</div>
+
+<h4><a name="windows_support" id="windows_support">Windows support</a></h4>
+<div class="level4">
+
+<p>
+WebKitGTK+ and thusly Midori on Windows doesn't support Flash or any other plugins. If WebKitGTK+ adds the feature in the future, we will support it. For now there's nothing we can do.
+</p>
+
+</div>
+
+<h4><a name="netscape_plugins_on_linux_bsd_and_os_x" id="netscape_plugins_on_linux_bsd_and_os_x">Netscape plugins on Linux, BSD and OS X</a></h4>
<div class="level4">
<p>
</li>
<li class="level1"><div class="li"> You may need gstreamer0.10-alsa for ALSA, depending on your distribution.</div>
</li>
-<li class="level1"><div class="li"> With Arch Linux, you may need to install liboil explicitly if it is not installed already (see <a href="https://bugs.archlinux.org/task/20945" class="urlextern" title="https://bugs.archlinux.org/task/20945" rel="nofollow">this</a> bug report).</div>
-</li>
<li class="level1"><div class="li"> You need plugins for Theora, gstreamer0.10-base and <acronym title="Moving Picture Experts Group">MPEG</acronym>-4 incluing aac (e.g. gst-plugins-faad), gstreamer0.10-bad. For WebM, you'll need plugins for vorbis (-base), matroska (-good), and vp8 (-bad). Have a look at <a href="http://www.gstreamer.net/documentation/plugins.html" class="urlextern" title="http://www.gstreamer.net/documentation/plugins.html" rel="nofollow">http://www.gstreamer.net/documentation/plugins.html</a> for details.</div>
</li>
<li class="level1"><div class="li"> For Youtube or Vimeo, you need WebKitGTK+ 1.1.20 or newer.</div>
</div>
-<h4><a name="are_socks_proxy_servers_supported" id="are_socks_proxy_servers_supported">Are SOCKS proxy servers supported?</a></h4>
-<div class="level4">
-
-<p>
-Currently only <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> proxy servers are supported directly. A way to use SOCKS on Unix is to use tsocks with <acronym title="Secure Shell">SSH</acronym> as follows:
-</p>
-<ol>
-<li class="level1"><div class="li"> Install 'tsocks'</div>
-</li>
-<li class="level1"><div class="li"> Open /etc/tsocks.conf in an editor</div>
-</li>
-<li class="level1"><div class="li"> Type something like this, you can choose the port freely: <pre class="code">server = 127.0.0.1
-server_type = 5
-server_port = 5555</pre>
-</div>
-</li>
-<li class="level1"><div class="li"> Open an <acronym title="Secure Shell">SSH</acronym> connection with the same port: <pre class="code"> ssh -D localhost:5555 myhost.com </pre>
-</div>
-</li>
-<li class="level1"><div class="li"> Run Midori with “tsocks” in front of it: <pre class="code"> tsocks midori </pre>
-</div>
-</li>
-<li class="level1"><div class="li"> Now you can use for example <a href="http://www.whatsmyip.org/" class="urlextern" title="http://www.whatsmyip.org/" rel="nofollow">http://www.whatsmyip.org/</a> to verify that you are using a SOCKS connection. The IP address should match the one of your <acronym title="Secure Shell">SSH</acronym> host. Remember to keep the <acronym title="Secure Shell">SSH</acronym> login running, and don't suspend it, otherwise it won't work.</div>
-</li>
-<li class="level1"><div class="li"> If the connection fails for some reason, you should see a connection error.</div>
-</li>
-</ol>
-
-</div>
-
<h4><a name="how_do_i_get_rid_of_the_menubar" id="how_do_i_get_rid_of_the_menubar">How do I get rid of the menubar?</a></h4>
<div class="level4">
<p>
Add a line to ~/.local/share/applications/mimeapps.list:
</p>
-<pre class="code"> x-scheme-handler/magnet=transmission-gtk.desktop</pre>
+<pre class="code">x-scheme-handler/magnet=transmission-gtk.desktop</pre>
<p>
Or install an application which advertises the scheme like so:
</p>
-<pre class="code"> MimeType=x-scheme-handler/magnet;</pre>
+<pre class="code">MimeType=x-scheme-handler/magnet;</pre>
<p>
Note that incomplete .desktop files will silently fail and it will look as if it doesn't exist.
</p>
</div>
-<!-- EDIT4 SECTION "Common problems" [1213-8946] -->
-<h1 class="sectionedit5"><a name="features" id="features">Features</a></h1>
+
+<h4><a name="spell_check" id="spell_check">Spell check</a></h4>
+<div class="level4">
+
+<p>
+First enable spell checking:
+Edit→Preferences→Behavior and check “Enable Spell Checking”.
+</p>
+
+<p>
+Now while typing any errors should get underlined in red. To get suggestions, highlight the word and right-click. Should see a list of suggestions on the top of the menu.
+</p>
+
+</div>
+
+<h1 class="sectionedit5"><a name="privacy" id="privacy">Privacy</a></h1>
+<div class="level1">
+
+</div>
+
+<h2 class="sectionedit6"><a name="blacklist_cookies" id="blacklist_cookies">Blacklist cookies</a></h2>
+<div class="level2">
+
+<p>
+As of Midori 0.4.4 you can add a hidden option to ~/.config/midori/config like so:
+</p>
+<pre class="code">site-data-rules=-google.com,-facebook.com,!bugzilla.gnome.org,+bugs.launchpad.net</pre>
+<ol>
+<li class="level1"><div class="li"> Values prefixed with ”-” are always blocked</div>
+</li>
+<li class="level1"><div class="li"> Values prefixed with ”+” are always accepted</div>
+</li>
+<li class="level1"><div class="li"> Values prefixed with ”!” are not cleared in Clear Private Data</div>
+</li>
+<li class="level1"><div class="li"> No wildcards.</div>
+</li>
+<li class="level1"><div class="li"> LSO, local storage and application caches ignore all policies.</div>
+</li>
+</ol>
+
+<p>
+The feature is currently experimental and will change in future versions.
+</p>
+
+</div>
+
+<h2 class="sectionedit7"><a name="adblock" id="adblock">Adblock</a></h2>
+<div class="level2">
+
+<p>
+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.
+</p>
+
+</div>
+
+<h1 class="sectionedit8"><a name="modes" id="modes">Modes</a></h1>
<div class="level1">
</div>
-<!-- EDIT5 SECTION "Features" [8947-8969] -->
-<h2 class="sectionedit6"><a name="web_applications" id="web_applications">Web Applications</a></h2>
+
+<h2 class="sectionedit9"><a name="web_applications" id="web_applications">Web Applications</a></h2>
<div class="level2">
<p>
</p>
</div>
-<!-- EDIT6 SECTION "Web Applications" [8970-9486] -->
-<h2 class="sectionedit7"><a name="private_browsing" id="private_browsing">Private Browsing</a></h2>
+
+<h2 class="sectionedit10"><a name="private_browsing" id="private_browsing">Private Browsing</a></h2>
<div class="level2">
-<ol>
-<li class="level1"><div class="li"> File menu/ App Menu button → Private Browsing</div>
-</li>
-</ol>
+
+<p>
+File menu/ App Menu button → Private Browsing
+</p>
<p>
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.
</p>
</div>
-<!-- EDIT7 SECTION "Private Browsing" [9487-10410] -->
-<h2 class="sectionedit8"><a name="proxy_servers" id="proxy_servers">Proxy servers</a></h2>
+
+<h2 class="sectionedit11"><a name="kiosk_mode" id="kiosk_mode">Kiosk mode</a></h2>
<div class="level2">
+<p>
+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:
+</p>
+<pre class="code bash">midori <span class="re5">-i</span> <span class="nu0">120</span> <span class="re5">-e</span> Fullscreen <span class="re5">-e</span> Navigationbar <span class="re5">-a</span> about:blank</pre>
+
+<p>
+Available commands for -e can be listed with “midori –help-execute”.
+</p>
+
+<p>
+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.
+</p>
+
+<p>
+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:
+</p>
+<pre class="code bash"><span class="re5">-b</span> <span class="st_h">'youtube|youporn'</span></pre>
+
+<p>
+By negating the expression you can also whitelist pages.
+</p>
+<pre class="code bash"><span class="re5">-b</span> <span class="st_h">'^(?!.*?(gmail|mail\.google|accounts\.google)).*'</span></pre>
+
+<p>
+Any links outside end up in an error page. All images and other files won't be loaded.
+</p>
+
+</div>
+
+<h1 class="sectionedit12"><a name="proxy_servers" id="proxy_servers">Proxy servers</a></h1>
+<div class="level1">
+
<p>
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.
</p>
</p>
</div>
-<!-- EDIT8 SECTION "Proxy servers" [10411-11241] -->
-<h2 class="sectionedit9"><a name="using_the_keyboard" id="using_the_keyboard">Using the Keyboard</a></h2>
-<div class="level2">
+
+<h4><a name="are_socks_proxy_servers_supported" id="are_socks_proxy_servers_supported">Are SOCKS proxy servers supported?</a></h4>
+<div class="level4">
+
+<p>
+Currently only <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> proxy servers are supported directly. A way to use SOCKS on Unix is to use tsocks with <acronym title="Secure Shell">SSH</acronym> as follows:
+</p>
+<ol>
+<li class="level1"><div class="li"> Install 'tsocks'</div>
+</li>
+<li class="level1"><div class="li"> Open /etc/tsocks.conf in an editor</div>
+</li>
+<li class="level1"><div class="li"> Type something like this, you can choose the port freely: <pre class="code">server = 127.0.0.1
+server_type = 5
+server_port = 5555</pre>
+</div>
+</li>
+<li class="level1"><div class="li"> Open an <acronym title="Secure Shell">SSH</acronym> connection with the same port: <pre class="code"> ssh -D localhost:5555 myhost.com </pre>
+</div>
+</li>
+<li class="level1"><div class="li"> Run Midori with “tsocks” in front of it: <pre class="code"> tsocks midori </pre>
+</div>
+</li>
+<li class="level1"><div class="li"> Now you can use for example <a href="http://www.whatsmyip.org/" class="urlextern" title="http://www.whatsmyip.org/" rel="nofollow">http://www.whatsmyip.org/</a> to verify that you are using a SOCKS connection. The IP address should match the one of your <acronym title="Secure Shell">SSH</acronym> host. Remember to keep the <acronym title="Secure Shell">SSH</acronym> login running, and don't suspend it, otherwise it won't work.</div>
+</li>
+<li class="level1"><div class="li"> If the connection fails for some reason, you should see a connection error.</div>
+</li>
+</ol>
+
+</div>
+
+<h1 class="sectionedit13"><a name="keyboard_hotkeys" id="keyboard_hotkeys">Keyboard Hotkeys</a></h1>
+<div class="level1">
</div>
-<!-- EDIT9 SECTION "Using the Keyboard" [11242-11273] -->
-<h3 class="sectionedit10"><a name="hjkl" id="hjkl">HJKL</a></h3>
-<div class="level3">
+
+<h4><a name="hjkl" id="hjkl">HJKL</a></h4>
+<div class="level4">
<p>
You can use the Vim-like key bindings [hjkl] to navigate a page. h=left j=down k=up l=right In a picture:
</p>
</div>
-<!-- EDIT10 SECTION "HJKL" [11274-11481] -->
-<h3 class="sectionedit11"><a name="following_links" id="following_links">Following Links</a></h3>
-<div class="level3">
+
+<h4><a name="following_links" id="following_links">Following Links</a></h4>
+<div class="level4">
<p>
To enable Hints in Midori [similar to those vimperator provides in Firefox], press .
</p>
</div>
-<!-- EDIT11 SECTION "Following Links" [11482-11813] -->
-<h3 class="sectionedit12"><a name="use_ctrl_shift_tab_to_switch_between_pages" id="use_ctrl_shift_tab_to_switch_between_pages">Use Ctrl(+Shift)+Tab to switch between pages</a></h3>
-<div class="level3">
+
+<h4><a name="use_ctrl_shift_tab_to_switch_between_pages" id="use_ctrl_shift_tab_to_switch_between_pages">Use Ctrl(+Shift)+Tab to switch between pages</a></h4>
+<div class="level4">
<p>
Since Midori 0.3.5 Ctrl+Tab is supported by default.
</p>
</div>
-<!-- EDIT12 SECTION "Use Ctrl(+Shift)+Tab to switch between pages" [11814-12012] -->
-<h3 class="sectionedit13"><a name="customizing_keyboard_shortcuts" id="customizing_keyboard_shortcuts">Customizing keyboard shortcuts</a></h3>
-<div class="level3">
+
+<h4><a name="customizing_keyboard_shortcuts" id="customizing_keyboard_shortcuts">Customizing keyboard shortcuts</a></h4>
+<div class="level4">
<p>
Enable the Shortcuts extension Tools → Extensions. To edit a keybinding Tools → Customize Shortcuts…
</p>
</div>
-<!-- EDIT13 SECTION "Customizing keyboard shortcuts" [12013-12162] -->
-<h3 class="sectionedit14"><a name="using_find" id="using_find">Using Find</a></h3>
-<div class="level3">
+
+<h4><a name="using_find" id="using_find">Using Find</a></h4>
+<div class="level4">
<p>
Default shortcuts for Find are:
<p>
Find: Ctrl+f ”/” and ”,”<br/>
-FindNext: Ctrl+g<br/>
+FindNext: Ctrl+g and Enter<br/>
FindPrevious: Shift+Ctrl+g<br/>
</p>
</div>
-<!-- EDIT14 SECTION "Using Find" [12163-12579] -->
-<h2 class="sectionedit15"><a name="mouse_gestures" id="mouse_gestures">Mouse Gestures</a></h2>
-<div class="level2">
+
+<h1 class="sectionedit14"><a name="mouse_gestures" id="mouse_gestures">Mouse Gestures</a></h1>
+<div class="level1">
<p>
By default the right mouse button initiates gestures.
</p>
</div>
-<!-- EDIT15 SECTION "Mouse Gestures" [12580-13253] -->
-<h2 class="sectionedit16"><a name="spell_check" id="spell_check">Spell check</a></h2>
-<div class="level2">
-
-<p>
-First enable spell checking:
-Edit→Preferences→Behavior and check “Enable Spell Checking”.
-</p>
-
-<p>
-Now while typing any errors should get underlined in red. To get suggestions, highlight the word and right-click. Should see a list of suggestions on the top of the menu.
-</p>
-</div>
-<!-- EDIT16 SECTION "Spell check" [13254-13543] -->
-<h2 class="sectionedit17"><a name="user_scripts" id="user_scripts">User scripts</a></h2>
-<div class="level2">
-
-</div>
-
-<h4><a name="overview" id="overview">Overview</a></h4>
-<div class="level4">
+<h1 class="sectionedit15"><a name="user_scripts_and_styles" id="user_scripts_and_styles">User scripts and styles</a></h1>
+<div class="level1">
<p>
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 <a href="http://www.greasespot.net" class="urlextern" title="http://www.greasespot.net" rel="nofollow">Mozilla's Greasemonkey</a> or <a href="http://www.opera.com/support/tutorials/userjs/" class="urlextern" title="http://www.opera.com/support/tutorials/userjs/" rel="nofollow">Opera's User JavaScript</a>.
You can also use <a href="http://rightfootin.blogspot.com/2009/04/flashblock-wannabe.html" class="urlextern" title="http://rightfootin.blogspot.com/2009/04/flashblock-wannabe.html" rel="nofollow">FlashBlock WannaBe</a> 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.
</p>
-</div>
-<!-- EDIT17 SECTION "User scripts" [13544-16104] -->
-<h2 class="sectionedit18"><a name="user_styles" id="user_styles">User styles</a></h2>
-<div class="level2">
-
</div>
-<h4><a name="overview1" id="overview1">Overview</a></h4>
-<div class="level4">
+<h2 class="sectionedit16"><a name="user_styles" id="user_styles">User styles</a></h2>
+<div class="level2">
<p>
User styles are <acronym title="Cascading Style Sheets">CSS</acronym> 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.