5838
by Christian Dywan
Bump version to 0.4.9 |
1 |
<!DOCTYPE html>
|
2 |
<html lang="en" dir="ltr"> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
3 |
<head> |
5838
by Christian Dywan
Bump version to 0.4.9 |
4 |
<meta charset="utf-8" /> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
5 |
<title>midori:faq</title> |
3908
by Christian Dywan
Update FAQ from the wiki |
6 |
<meta name="generator" content="DokuWiki"/> |
6487.1.3
by Christian Dywan
Bump version to 0.5.6 |
7 |
<meta name="robots" content="index,follow"/> |
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
8 |
<meta name="date" content="2014-06-05T00:44:58+0200"/> |
3908
by Christian Dywan
Update FAQ from the wiki |
9 |
<meta name="keywords" content="midori,faq"/> |
10 |
<link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="Xfce Wiki"/> |
|
11 |
<link rel="start" href="/"/> |
|
12 |
<link rel="contents" href="/midori/faq?do=index" title="Sitemap"/> |
|
6539.1.1
by Christian Dywan
Bump version to 0.5.7 |
13 |
<link rel="alternate" type="application/rss+xml" title="Recent changes" href="/feed.php"/> |
14 |
<link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&ns=midori"/> |
|
3908
by Christian Dywan
Update FAQ from the wiki |
15 |
<link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/midori/faq"/> |
16 |
<link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/midori/faq"/> |
|
17 |
<link rel="canonical" href="http://wiki.xfce.org/midori/faq"/> |
|
4849
by Christian Dywan
Update FAQ from the wiki |
18 |
<link rel="stylesheet" href="faq.css" /> |
5838
by Christian Dywan
Bump version to 0.4.9 |
19 |
<script type="text/javascript">/*<![CDATA[*/var NS='midori';var JSINFO = {"id":"midori:faq","namespace":"midori"}; |
20 |
/*!]]>*/</script> |
|
6539.1.1
by Christian Dywan
Bump version to 0.5.7 |
21 |
<script type="text/javascript" charset="utf-8" src="/lib/exe/js.php?tseed=34912f2e1a4daa1bfa9afb3096df0197"></script> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
22 |
</head> |
23 |
<body> |
|
24 |
<div class="dokuwiki export"> |
|
25 |
<!-- TOC START -->
|
|
5838
by Christian Dywan
Bump version to 0.4.9 |
26 |
<div id="dw__toc"> |
27 |
<h3 class="toggle">Table of Contents</h3> |
|
28 |
<div> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
29 |
|
30 |
<ul class="toc"> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
31 |
<li class="level1"><div class="li"><a href="#midori_-_frequently_asked_questions">Midori - Frequently asked questions</a></div></li> |
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
32 |
<li class="level1"><div class="li"><a href="#about_midori">About Midori</a></div></li> |
5838
by Christian Dywan
Bump version to 0.4.9 |
33 |
<li class="level1"><div class="li"><a href="#common_problems">Common problems</a></div> |
34 |
<ul class="toc"> |
|
35 |
<li class="level2"><div class="li"><a href="#security_features">Security features</a></div></li> |
|
36 |
<li class="level2"><div class="li"><a href="#flash_doesn_t_work">Flash doesn't work</a></div></li> |
|
37 |
</ul> |
|
38 |
</li> |
|
39 |
<li class="level1"><div class="li"><a href="#privacy">Privacy</a></div> |
|
40 |
<ul class="toc"> |
|
41 |
<li class="level2"><div class="li"><a href="#blacklist_cookies">Blacklist cookies</a></div></li> |
|
42 |
<li class="level2"><div class="li"><a href="#adblock">Adblock</a></div></li> |
|
43 |
</ul> |
|
44 |
</li> |
|
45 |
<li class="level1"><div class="li"><a href="#modes">Modes</a></div> |
|
46 |
<ul class="toc"> |
|
47 |
<li class="level2"><div class="li"><a href="#web_applications">Web Applications</a></div></li> |
|
48 |
<li class="level2"><div class="li"><a href="#private_browsing">Private Browsing</a></div></li> |
|
49 |
<li class="level2"><div class="li"><a href="#portable_modewin32">Portable mode/ Win32</a></div></li> |
|
50 |
<li class="level2"><div class="li"><a href="#kiosk_mode">Kiosk mode</a></div></li> |
|
51 |
<li class="level2"><div class="li"><a href="#always_open_midori_in_fullscreen">Always open Midori in Fullscreen</a></div></li> |
|
6153
by Christian Dywan
Bump version to 0.5.1 |
52 |
<li class="level2"><div class="li"><a href="#overriding_settings_and_loading_extensions">Overriding settings and loading extensions</a></div></li> |
5838
by Christian Dywan
Bump version to 0.4.9 |
53 |
</ul> |
54 |
</li> |
|
55 |
<li class="level1"><div class="li"><a href="#proxy_servers">Proxy servers</a></div></li> |
|
56 |
<li class="level1"><div class="li"><a href="#keyboard_hotkeys">Keyboard Hotkeys</a></div></li> |
|
57 |
<li class="level1"><div class="li"><a href="#mouse_gestures">Mouse Gestures</a></div></li> |
|
58 |
<li class="level1"><div class="li"><a href="#user_scripts_and_styles">User scripts and styles</a></div> |
|
59 |
<ul class="toc"> |
|
60 |
<li class="level2"><div class="li"><a href="#user_styles">User styles</a></div></li> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
61 |
</ul> |
62 |
</li> |
|
63 |
<li class="level1"><div class="li"><a href="#midori_architecture">Midori Architecture</a></div> |
|
64 |
<ul class="toc"> |
|
65 |
<li class="level2"><div class="li"><a href="#webkit_version_numbers">WebKit Version Numbers</a></div></li> |
|
66 |
</ul> |
|
67 |
</li> |
|
68 |
<li class="level1"><div class="li"><a href="#midori_and_mediaherald">Midori and mediaHerald</a></div></li> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
69 |
</ul> |
70 |
</div> |
|
71 |
</div> |
|
72 |
<!-- TOC END -->
|
|
73 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
74 |
<h1 class="sectionedit1" id="midori_-_frequently_asked_questions">Midori - Frequently asked questions</h1> |
75 |
<div class="level1"> |
|
76 |
||
77 |
<p> |
|
78 |
<strong>This document is licensed under the <abbr title="GNU Lesser General Public License">LGPL</abbr> 2.1.</strong> |
|
79 |
</p> |
|
80 |
||
81 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
82 |
This is <a href="http://wiki.xfce.org/midori/faq">a snapshot of the online FAQ</a> 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. |
5838
by Christian Dywan
Bump version to 0.4.9 |
83 |
</p> |
84 |
||
85 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
86 |
<!-- EDIT1 SECTION "Midori - Frequently asked questions" [1-286] -->
|
87 |
<h1 class="sectionedit2" id="about_midori">About Midori</h1> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
88 |
<div class="level1"> |
89 |
||
90 |
</div> |
|
91 |
||
92 |
<h4 id="what_is_midori_and_why_should_i_use_it">What is "Midori" and why should I use it?</h4> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
93 |
<div class="level4"> |
94 |
||
95 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
96 |
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. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
97 |
</p> |
98 |
||
99 |
</div> |
|
100 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
101 |
<h4 id="how_to_pronounce_midori_and_what_does_the_name_mean">How to pronounce Midori and what does the name mean?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
102 |
<div class="level4"> |
103 |
||
104 |
<p> |
|
105 |
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”. |
|
106 |
</p> |
|
107 |
||
108 |
</div> |
|
109 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
110 |
<h4 id="what_does_the_logo_mean">What does the logo mean?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
111 |
<div class="level4"> |
112 |
||
113 |
<p> |
|
114 |
The paw of a green cat. Obviously. Also it resembles the letter “M” in “Midori”. The curving is supposed to emphasize speed. |
|
115 |
</p> |
|
116 |
||
117 |
</div> |
|
118 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
119 |
<h4 id="on_which_platforms_does_midori_run_currently">On which platforms does Midori run currently?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
120 |
<div class="level4"> |
121 |
||
122 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
123 |
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. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
124 |
</p> |
125 |
||
126 |
</div> |
|
127 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
128 |
<h4 id="under_which_license_is_midori_distributed">Under which license is Midori distributed?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
129 |
<div class="level4"> |
130 |
||
131 |
<p> |
|
132 |
Midori and all delivered artwork are licensed under the LGPL2. |
|
133 |
</p> |
|
134 |
||
135 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
136 |
<!-- EDIT2 SECTION "About Midori" [287-1323] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
137 |
<h1 class="sectionedit3" id="common_problems">Common problems</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
138 |
<div class="level1"> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
139 |
|
140 |
</div> |
|
141 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
142 |
<h4 id="why_does_google_mailcalendarmaps_facebook_not_work_or_show_mobile_version">Why does Google Mail/ Calendar/ Maps, Facebook not work or show mobile version?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
143 |
<div class="level4"> |
144 |
||
145 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
146 |
Some websites give up if they don't recognize your browser as Chrome, Firefox, <abbr title="Internet Explorer">IE</abbr>, etc. |
147 |
</p> |
|
148 |
||
149 |
<p> |
|
150 |
You can change the browser name sent to web sites at Preferences > Network > Identify As |
|
151 |
</p> |
|
152 |
||
153 |
<p> |
|
154 |
Either choose a predefined user-agent or choose Custom and find a suitable string in <a href="http://useragentstring.com/pages/useragentstring.php" class="urlextern" title="http://useragentstring.com/pages/useragentstring.php" rel="nofollow">a list</a>. |
|
3707
by Christian Dywan
Update FAQ from the wiki |
155 |
</p> |
156 |
||
157 |
<p> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
158 |
Many other websites use similar means of detecting the browser. |
159 |
</p> |
|
160 |
||
161 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
162 |
Google <a href="http://web.archive.org/web/20100625211333/http://code.google.com/p/doctype/wiki/ArticleGoogleChromeCompatFAQ" class="urlextern" title="http://web.archive.org/web/20100625211333/http://code.google.com/p/doctype/wiki/ArticleGoogleChromeCompatFAQ" rel="nofollow">previously recommended</a> 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. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
163 |
</p> |
164 |
||
165 |
</div> |
|
166 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
167 |
<h4 id="there_are_missing_iconswarnings">There are missing icons/ warnings</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
168 |
<div class="level4"> |
169 |
||
170 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
171 |
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 <abbr title="specification">spec</abbr> compliant icon theme, such as Elementary, Faenza, Buuf or GNOME. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
172 |
</p> |
173 |
||
6487.1.3
by Christian Dywan
Bump version to 0.5.6 |
174 |
<p> |
175 |
if you need to set a custom path for these to be “searched in” (Kiosks and embedded devices for example): |
|
176 |
</p> |
|
177 |
||
178 |
<p> |
|
179 |
XDG_DATA_HOME=/path/to/location |
|
180 |
</p> |
|
181 |
||
182 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
183 |
will add an extra path for the icons/… directory |
184 |
</p> |
|
185 |
||
186 |
<p> |
|
187 |
In addition, GTK3 may remove icons from menus. This may be changed by placing |
|
188 |
</p> |
|
189 |
<pre class="code">gtk-menu-images=true</pre> |
|
190 |
||
191 |
<p> |
|
192 |
in the file ~/.config/gtk-3.0/settings.ini |
|
6487.1.3
by Christian Dywan
Bump version to 0.5.6 |
193 |
</p> |
194 |
||
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
195 |
</div> |
196 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
197 |
<h4 id="tweaking_midori_on_the_gtk_level">Tweaking Midori on the Gtk level</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
198 |
<div class="level4"> |
199 |
||
200 |
<p> |
|
201 |
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: |
|
202 |
</p> |
|
203 |
||
204 |
<p> |
|
205 |
Use Tango as a fallback for your icon theme: |
|
206 |
</p> |
|
207 |
<pre class="code">gtk-icon-theme-name = "MySuperFancyTheme" |
|
208 |
gtk-fallback-icon-theme = "Tango"</pre> |
|
209 |
||
210 |
<p> |
|
211 |
Use a smaller toolbar: |
|
212 |
</p> |
|
213 |
<pre class="code">gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR</pre> |
|
214 |
||
215 |
<p> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
216 |
Only for those not running a complete DE like Xfce, Elementary, etc…<br/> |
217 |
||
218 |
There is a preference: Preferences → Browsing → Toolbar Style: Small icons |
|
219 |
</p> |
|
220 |
||
221 |
<p> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
222 |
Enable changing hotkeys while hovering menu items: |
223 |
</p> |
|
224 |
<pre class="code">gtk-can-change-accels = 1</pre> |
|
225 |
||
226 |
</div> |
|
227 |
||
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
228 |
<h4 id="disable_middle_click_pasting">Disable middle click pasting</h4> |
229 |
<div class="level4"> |
|
230 |
||
231 |
<p> |
|
232 |
As of GTK+ >= 3.4 one can disable it globally in ~/.gtkrc-2.0
|
|
233 |
</p> |
|
234 |
<pre class="code">gtk-enable-primary-paste = 0</pre> |
|
235 |
||
236 |
<p> |
|
237 |
Otherwise by adding a line to ~/.config/midori/config |
|
238 |
</p> |
|
239 |
<pre class="code">middle-click-opens-selection=false</pre> |
|
240 |
||
241 |
</div> |
|
242 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
243 |
<h4 id="midori_crashes_shortly_before_pages_are_loaded">Midori crashes shortly before pages are loaded</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
244 |
<div class="level4"> |
245 |
||
246 |
<p> |
|
247 |
There appears to be an issue with Glib 2.16. The recommended solution is to upgrade your Glib package to 2.18. |
|
248 |
</p> |
|
249 |
||
250 |
</div> |
|
251 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
252 |
<h4 id="how_can_i_change_the_cache_folder_to_tmpfs">How can I change the cache folder (to tmpfs)?</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
253 |
<div class="level4"> |
254 |
||
255 |
<p> |
|
256 |
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. |
|
257 |
</p> |
|
258 |
||
259 |
<p> |
|
260 |
export XDG_CACHE_HOME=/dev/shm |
|
261 |
</p> |
|
262 |
||
263 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
264 |
<!-- EDIT3 SECTION "Common problems" [1324-4267] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
265 |
<h2 class="sectionedit4" id="security_features">Security features</h2> |
5325
by Christian Dywan
Update FAQ from the wiki |
266 |
<div class="level2"> |
267 |
||
268 |
</div> |
|
269 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
270 |
<h4 id="hstshttp_strict_transport_security">HSTS/ HTTP Strict Transport Security</h4> |
5325
by Christian Dywan
Update FAQ from the wiki |
271 |
<div class="level4"> |
272 |
||
273 |
<p> |
|
274 |
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. |
|
275 |
</p> |
|
276 |
||
277 |
</div> |
|
278 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
279 |
<h4 id="certificate_handling">Certificate Handling</h4> |
5325
by Christian Dywan
Update FAQ from the wiki |
280 |
<div class="level4"> |
281 |
||
282 |
<p> |
|
6266.3.2
by Christian Dywan
Bump version to 0.5.4 |
283 |
Midori uses the system's ca-certificates, the exact locations depend on the distribution.
|
284 |
</p> |
|
285 |
||
286 |
<p> |
|
6013
by Christian Dywan
Bump version to 0.5.0 |
287 |
Midori >= 0.4.7 supports <a href="http://git.gnome.org/browse/gcr/tree/gcr" class="urlextern" title="http://git.gnome.org/browse/gcr/tree/gcr" rel="nofollow">gcr</a> 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. |
5325
by Christian Dywan
Update FAQ from the wiki |
288 |
</p> |
289 |
||
290 |
</div> |
|
291 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
292 |
<h5 id="error_granting_trustcouldn_t_find_a_place_to_store_the_imported_certificate">Error granting trust: Couldn't find a place to store the imported certificate</h5> |
5325
by Christian Dywan
Update FAQ from the wiki |
293 |
<div class="level5"> |
294 |
||
295 |
<p> |
|
6266.3.2
by Christian Dywan
Bump version to 0.5.4 |
296 |
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.
|
5325
by Christian Dywan
Update FAQ from the wiki |
297 |
</p> |
298 |
||
299 |
</div> |
|
300 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
301 |
<h5 id="a_testcase_for_self-signed_certificates">A testcase for self-signed certificates</h5> |
5325
by Christian Dywan
Update FAQ from the wiki |
302 |
<div class="level5"> |
303 |
||
304 |
<p> |
|
305 |
<a href="https://selfsigned.notyours.dk:444/menu.gif" class="urlextern" title="https://selfsigned.notyours.dk:444/menu.gif" rel="nofollow">https://selfsigned.notyours.dk:444/menu.gif</a> |
|
306 |
</p> |
|
307 |
||
308 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
309 |
<!-- EDIT4 SECTION "Security features" [4268-5485] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
310 |
<h2 class="sectionedit5" id="flash_doesn_t_work">Flash doesn't work</h2> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
311 |
<div class="level2"> |
312 |
||
313 |
</div> |
|
314 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
315 |
<h4 id="windows_support">Windows support</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
316 |
<div class="level4"> |
317 |
||
318 |
<p> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
319 |
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). |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
320 |
</p> |
321 |
||
322 |
</div> |
|
323 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
324 |
<h4 id="netscape_plugins_on_linux_bsd_and_os_x">Netscape plugins on Linux, BSD and OS X</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
325 |
<div class="level4"> |
326 |
||
327 |
<p> |
|
328 |
You need to set MOZ_PLUGIN_PATH, for example like this: |
|
329 |
</p> |
|
330 |
<pre class="code bash"><span class="kw3">export</span> <span class="re2">MOZ_PLUGIN_PATH</span>=<span class="st0">"/usr/lib/mozilla/plugins"</span></pre> |
|
331 |
||
332 |
<p> |
|
333 |
The official Flash plugin is called libflashplayer.so . |
|
334 |
</p> |
|
335 |
||
336 |
<p> |
|
337 |
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.
|
|
338 |
</p> |
|
339 |
||
340 |
</div> |
|
341 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
342 |
<h4 id="flash_is_crashingno_flash_with_gtk_3">Flash is crashing/ No Flash with GTK+3</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
343 |
<div class="level4"> |
344 |
||
345 |
<p> |
|
6013
by Christian Dywan
Bump version to 0.5.0 |
346 |
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.
|
5325
by Christian Dywan
Update FAQ from the wiki |
347 |
</p> |
6487.1.3
by Christian Dywan
Bump version to 0.5.6 |
348 |
<pre class="code bash"><span class="kw2">sudo</span> <span class="kw2">apt-get install</span> nspluginwrapper |
349 |
<span class="co0"># On Debian/ Ubuntu - on other systems http://get.adobe.com/de/flashplayer/</span> |
|
350 |
<span class="kw2">sudo</span> <span class="kw2">apt-get install</span> flashplugin-installer |
|
351 |
<span class="co0"># cd into the folder where the plugin was installed</span> |
|
352 |
nspluginwrapper <span class="re5">-v</span> <span class="re5">-a</span> <span class="re5">-n</span> <span class="re5">-i</span> libflashplayer.so</pre> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
353 |
|
6153
by Christian Dywan
Bump version to 0.5.1 |
354 |
<p> |
6266.3.2
by Christian Dywan
Bump version to 0.5.4 |
355 |
~/.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.
|
356 |
</p> |
|
357 |
||
358 |
<p> |
|
6153
by Christian Dywan
Bump version to 0.5.1 |
359 |
Another remedy is using WebKit2 - starting with Midori 0.4.9 experimental support is available, <a href="https://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap" class="urlextern" title="https://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap" rel="nofollow">progress on WebKit2GTK+ can be seen in the WebKit wiki</a>. |
360 |
</p> |
|
361 |
||
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
362 |
</div> |
363 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
364 |
<h4 id="https_urls_won_t_load">HTTPS URLS won't load</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
365 |
<div class="level4"> |
366 |
||
367 |
<p> |
|
368 |
That's a problem with WebKit. You can work around it to some extent if you start Midori like so:
|
|
369 |
</p> |
|
370 |
<pre class="code bash"><span class="kw3">export</span> <span class="re2">WEBKIT_IGNORE_SSL_ERRORS</span>=<span class="st0">"1"</span> midori</pre> |
|
371 |
||
372 |
</div> |
|
373 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
374 |
<h4 id="bit_encryption_isn_t_supported">256-bit encryption isn't supported?</h4> |
5325
by Christian Dywan
Update FAQ from the wiki |
375 |
<div class="level4"> |
376 |
||
377 |
<p> |
|
378 |
There's no official support right now. It's possible to <a href="https://opensource.conformal.com/fluxbb/viewtopic.php?pid=1332#p1332" class="urlextern" title="https://opensource.conformal.com/fluxbb/viewtopic.php?pid=1332#p1332" rel="nofollow">patch glib-networking to enable 256-bit SSL</a>. |
|
379 |
</p> |
|
380 |
||
381 |
</div> |
|
382 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
383 |
<h4 id="scroll_with_middle_mouse_buttonpan-scrolling">Scroll with middle mouse button/ pan-scrolling</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
384 |
<div class="level4"> |
385 |
||
386 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
387 |
Windows-style middle-click behavior is |
388 |
</p> |
|
389 |
||
390 |
<p> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
391 |
<a href="http://ubuntuforums.org/showthread.php?t=478418" class="urlextern" title="http://ubuntuforums.org/showthread.php?t=478418" rel="nofollow">http://ubuntuforums.org/showthread.php?t=478418</a> |
392 |
</p> |
|
393 |
||
4849
by Christian Dywan
Update FAQ from the wiki |
394 |
<p> |
5325
by Christian Dywan
Update FAQ from the wiki |
395 |
Bug: <a href="https://bugs.launchpad.net/webkit/+bug/871425" class="urlextern" title="https://bugs.launchpad.net/webkit/+bug/871425" rel="nofollow">https://bugs.launchpad.net/webkit/+bug/871425</a><br/> |
396 |
||
4849
by Christian Dywan
Update FAQ from the wiki |
397 |
Upstream Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=50561" class="urlextern" title="https://bugs.webkit.org/show_bug.cgi?id=50561" rel="nofollow">https://bugs.webkit.org/show_bug.cgi?id=50561</a> |
398 |
</p> |
|
399 |
||
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
400 |
</div> |
401 |
||
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
402 |
<h4 id="html5_videoaudio_doesn_t_play">HTML5 Video/ Audio doesn't play</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
403 |
<div class="level4"> |
404 |
||
405 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
406 |
<a href="#midori_architecture" title="midori:faq ↵" class="wikilink1">Midori uses GStreamer</a> 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. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
407 |
</p> |
408 |
<ol> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
409 |
<li class="level1"><div class="li"> You need gstreamer(0.10/1.0)-pulse if you're using PulseAudio.</div> |
410 |
</li> |
|
411 |
<li class="level1"><div class="li"> You may need gstreamer(0.10/1.0)-alsa for ALSA, depending on your distribution.</div> |
|
412 |
</li> |
|
413 |
<li class="level1"><div class="li"> You need plugins for Theora, gstreamer(0.10/1.0)-base and <abbr title="Moving Picture Experts Group">MPEG</abbr>-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 <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> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
414 |
</li> |
415 |
<li class="level1"><div class="li"> For Youtube or Vimeo, you need WebKitGTK+ 1.1.20 or newer.</div> |
|
416 |
</li> |
|
3650
by Christian Dywan
Update FAQ from the wiki |
417 |
<li class="level1"><div class="li"> You can <a href="http://ie.microsoft.com/testdrive/Graphics/VideoFormatSupport/Default.html" class="urlextern" title="http://ie.microsoft.com/testdrive/Graphics/VideoFormatSupport/Default.html" rel="nofollow">test your installed codecs here</a>..</div> |
418 |
</li> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
419 |
<li class="level1"><div class="li"> You can look at about:version to see which video codecs you have installed.</div> |
3707
by Christian Dywan
Update FAQ from the wiki |
420 |
</li> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
421 |
</ol> |
422 |
||
423 |
</div> |
|
424 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
425 |
<h4 id="java_doesn_t_work_applets_don_t_show_up">Java doesn't work, applets don't show up</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
426 |
<div class="level4"> |
427 |
||
428 |
<p> |
|
429 |
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. |
|
430 |
</p> |
|
431 |
||
432 |
<p> |
|
433 |
icedtea6 version 1.8 and above has been known to crash midori. If this is the case for you, try sun-jre. |
|
434 |
</p> |
|
435 |
||
436 |
</div> |
|
437 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
438 |
<h4 id="how_do_i_get_rid_of_the_menubar">How do I get rid of the menubar?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
439 |
<div class="level4"> |
440 |
||
441 |
<p> |
|
442 |
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. |
|
443 |
Midori 0.3.2 disables the menubar by default. |
|
444 |
</p> |
|
445 |
||
446 |
</div> |
|
447 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
448 |
<h4 id="why_can_t_i_use_periods_when_searching_from_the_location_bar">Why can't I use periods when searching from the location bar?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
449 |
<div class="level4"> |
450 |
||
451 |
<p> |
|
452 |
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. |
|
453 |
</p> |
|
454 |
||
455 |
<p> |
|
456 |
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. |
|
457 |
</p> |
|
458 |
||
459 |
</div> |
|
460 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
461 |
<h4 id="how_can_i_reload_and_bypass_the_cache">How can I reload and bypass the cache?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
462 |
<div class="level4"> |
463 |
||
464 |
<p> |
|
465 |
Hold the Shift key while clicking Refresh in the toolbar (this works in Chromium, Mozilla, Opera and Safari, too). |
|
466 |
Since Midori 0.3.2 you can use Ctrl+Shift+R. |
|
467 |
</p> |
|
468 |
||
469 |
</div> |
|
470 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
471 |
<h4 id="how_do_i_make_tabs_pinnedstickyminimized">How do I make tabs pinned/ sticky/ minimized?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
472 |
<div class="level4"> |
473 |
||
474 |
<p> |
|
3707
by Christian Dywan
Update FAQ from the wiki |
475 |
Right-click the tab label, and click 'Minimize' or 'Show Tab Icon Only' (Midori 0.3.5 or older). |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
476 |
</p> |
477 |
||
478 |
</div> |
|
479 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
480 |
<h4 id="why_doesn_t_google_live_search_work">Why doesn't Google "live search" work?</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
481 |
<div class="level4"> |
482 |
||
483 |
<p> |
|
484 |
You need to set Preferences > Network > Identify As to Firefox. |
|
485 |
</p> |
|
486 |
||
487 |
</div> |
|
488 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
489 |
<h4 id="google_docs_says_clear_your_caches">Google Docs says "Clear your caches"</h4> |
490 |
<div class="level4"> |
|
491 |
||
492 |
<p> |
|
493 |
If you use the Adblock extension, EasyPrivacy may conflict with Google Docs. Disable the subscription if you use it. Otherwise try disabling Adblock entirely. |
|
494 |
</p> |
|
495 |
||
496 |
</div> |
|
497 |
||
498 |
<h4 id="opening_html_email_with_mutt">Opening html email with Mutt</h4> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
499 |
<div class="level4"> |
500 |
||
501 |
<p> |
|
502 |
Place the following in ~/.mutt/mailcap or ~/.mailcap: |
|
503 |
</p> |
|
504 |
<pre class="code">text/html; midori -a '%s'; test=test -n "$DISPLAY"; nametemplate=%s.html</pre> |
|
505 |
||
506 |
</div> |
|
507 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
508 |
<h4 id="scrolling_on_website_xyz_is_very_slow">Scrolling on website xyz is very slow</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
509 |
<div class="level4"> |
510 |
<ol> |
|
511 |
<li class="level1"><div class="li"> Go to Tools > Extensions</div> |
|
512 |
</li> |
|
513 |
<li class="level1"><div class="li"> Enable 'User Addons' if it's not yet enabled</div> |
|
514 |
</li> |
|
515 |
<li class="level1"><div class="li"> Create a text file .local/share/midori/styles/scrollfix.user.css</div> |
|
516 |
</li> |
|
517 |
<li class="level1"><div class="li"> Put this into the file: * {-webkit-box-shadow: none !important;}</div> |
|
518 |
</li> |
|
519 |
</ol> |
|
520 |
||
521 |
</div> |
|
522 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
523 |
<h4 id="file_opening_doesn_t_workpdfs_are_opened_with_gimp">File opening doesn't work/ PDFs are opened with GIMP</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
524 |
<div class="level4"> |
525 |
||
526 |
<p> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
527 |
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 <abbr title="Multipurpose Internet Mail Extension">MIME</abbr> configuration. To tweak this there are multiple options: |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
528 |
</p> |
529 |
<ol> |
|
530 |
<li class="level1"><div class="li"> Use 'Open With' with a graphical file manager</div> |
|
531 |
</li> |
|
532 |
<li class="level1"><div class="li"> Edit ~/.local/share/applications/defaults.list with a text editor</div> |
|
533 |
</li> |
|
534 |
<li class="level1"><div class="li"> Run something like ‘xdg-mime default evince.desktop application/pdf’</div> |
|
535 |
</li> |
|
536 |
</ol> |
|
537 |
||
538 |
<p> |
|
539 |
xdg-open knows how to handle GNOME, KDE and Xfce. |
|
540 |
LXDE is unfortunately not supported yet, see <a href="https://bugs.freedesktop.org/show_bug.cgi?id=26058" class="urlextern" title="https://bugs.freedesktop.org/show_bug.cgi?id=26058" rel="nofollow">https://bugs.freedesktop.org/show_bug.cgi?id=26058</a> |
|
541 |
</p> |
|
542 |
||
543 |
</div> |
|
544 |
||
6013
by Christian Dywan
Bump version to 0.5.0 |
545 |
<h4 id="open_magnetircaptbitcoinwith_an_application">Open magnet:, irc:, apt:, bitcoin: with an application</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
546 |
<div class="level4"> |
547 |
||
548 |
<p> |
|
549 |
As of git 2011-03-05 02:40:00 UTC and Midori 0.3.3 you can |
|
550 |
</p> |
|
551 |
||
552 |
<p> |
|
553 |
Add a line to ~/.local/share/applications/mimeapps.list: |
|
554 |
</p> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
555 |
<pre class="code">x-scheme-handler/magnet=transmission-gtk.desktop</pre> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
556 |
|
557 |
<p> |
|
558 |
Or install an application which advertises the scheme like so: |
|
559 |
</p> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
560 |
<pre class="code">MimeType=x-scheme-handler/magnet;</pre> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
561 |
|
562 |
<p> |
|
563 |
Note that incomplete .desktop files will silently fail and it will look as if it doesn't exist.
|
|
564 |
</p> |
|
565 |
||
6013
by Christian Dywan
Bump version to 0.5.0 |
566 |
<p> |
567 |
For <a href="http://electrum.org/bitcoin_URIs.html" class="urlextern" title="http://electrum.org/bitcoin_URIs.html" rel="nofollow">bitcoin:</a>, try <a href="http://electrum.org/index.html" class="urlextern" title="http://electrum.org/index.html" rel="nofollow">Electrum</a> or <a href="http://multibit.org/" class="urlextern" title="http://multibit.org/" rel="nofollow">Multibit</a>. |
|
568 |
</p> |
|
569 |
||
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
570 |
</div> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
571 |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
572 |
<h4 id="spell_check">Spell check</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
573 |
<div class="level4"> |
574 |
||
575 |
<p> |
|
576 |
First enable spell checking: |
|
577 |
Edit→Preferences→Behavior and check “Enable Spell Checking”. |
|
578 |
</p> |
|
579 |
||
580 |
<p> |
|
5325
by Christian Dywan
Update FAQ from the wiki |
581 |
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. |
582 |
</p> |
|
583 |
||
584 |
<p> |
|
585 |
On Windows <a href="http://download.services.openoffice.org/files/contrib/dictionaries/" class="urlextern" title="http://download.services.openoffice.org/files/contrib/dictionaries/" rel="nofollow">you need to download OpenOffice dictionaries</a>, 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 |
|
586 |
</p> |
|
587 |
||
588 |
</div> |
|
589 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
590 |
<h4 id="is_it_possible_to_disable_same_origin_policy_what_webkit_settings_not_in_the_preferences_can_i_change">Is it possible to disable Same Origin Policy? What Webkit settings not in the preferences can I change?</h4> |
5325
by Christian Dywan
Update FAQ from the wiki |
591 |
<div class="level4"> |
592 |
||
593 |
<p> |
|
594 |
You can change <a href="http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html" class="urlextern" title="http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html" rel="nofollow">all values of WebKitWebSettings</a> 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 |
|
595 |
</p> |
|
596 |
<pre class="code">enable-universal-access-from-file-uris=true</pre> |
|
597 |
||
598 |
<p> |
|
599 |
to your config file. |
|
600 |
</p> |
|
601 |
||
602 |
</div> |
|
603 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
604 |
<h4 id="how_do_i_change_the_proxy_server_from_the_toolbar_or_statusbar">How do I change the proxy server from the toolbar or statusbar?</h4> |
5325
by Christian Dywan
Update FAQ from the wiki |
605 |
<div class="level4"> |
606 |
<ol> |
|
607 |
<li class="level1"><div class="li"> Activate the Statusbar Features plugin.</div> |
|
608 |
</li> |
|
609 |
<li class="level1"><div class="li"> Close Midori.</div> |
|
610 |
</li> |
|
611 |
<li class="level1"><div class="li"> Create a folder ~/.config/midori/extensions/libstatusbar-features.so/</div> |
|
612 |
</li> |
|
613 |
<li class="level1"><div class="li"> Create a text file “config”</div> |
|
614 |
</li> |
|
615 |
<li class="level1"><div class="li"> Type the following for the default setup:</div> |
|
616 |
</li> |
|
617 |
</ol> |
|
618 |
<pre class="code"> [settings] |
|
619 |
items=auto-load-images;enable-scripts;enable-plugins;identify-as;zoom-level</pre> |
|
620 |
||
621 |
<p> |
|
622 |
Add button types separated by semicolon: |
|
623 |
</p> |
|
624 |
<ul> |
|
625 |
<li class="level1"><div class="li"> proxy-type Proxy Server</div> |
|
626 |
</li> |
|
627 |
<li class="level1"><div class="li"> preferred-encoding Character Set/ Encoding</div> |
|
628 |
</li> |
|
629 |
<li class="level1"><div class="li"> enable-spell-checking Spell Check</div> |
|
630 |
</li> |
|
631 |
<li class="level1"><div class="li"> zoom-text-and-images Only zoom in text, or text and images</div> |
|
632 |
</li> |
|
633 |
<li class="level1"><div class="li"> first-party-cookies-only First party cookies only</div> |
|
634 |
</li> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
635 |
<li class="level1"><div class="li"> site-data-rules see <a href="#blacklist_cookies" title="midori:faq ↵" class="wikilink1">Blacklisting cookies</a></div> |
5325
by Christian Dywan
Update FAQ from the wiki |
636 |
</li> |
637 |
</ul> |
|
638 |
||
639 |
<p> |
|
640 |
Most settings listed at <a href="http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html" class="urlextern" title="http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html" rel="nofollow">http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html</a> will also work as button types. |
|
641 |
</p> |
|
642 |
||
643 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
644 |
<!-- EDIT5 SECTION "Flash doesn't work" [5486-14378] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
645 |
<h1 class="sectionedit6" id="privacy">Privacy</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
646 |
<div class="level1"> |
647 |
||
648 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
649 |
<!-- EDIT6 SECTION "Privacy" [14379-14401] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
650 |
<h2 class="sectionedit7" id="blacklist_cookies">Blacklist cookies</h2> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
651 |
<div class="level2"> |
652 |
||
653 |
<p> |
|
654 |
As of Midori 0.4.4 you can add a hidden option to ~/.config/midori/config like so: |
|
655 |
</p> |
|
656 |
<pre class="code">site-data-rules=-google.com,-facebook.com,!bugzilla.gnome.org,+bugs.launchpad.net</pre> |
|
657 |
<ol> |
|
658 |
<li class="level1"><div class="li"> Values prefixed with ”-” are always blocked</div> |
|
659 |
</li> |
|
660 |
<li class="level1"><div class="li"> Values prefixed with ”+” are always accepted</div> |
|
661 |
</li> |
|
662 |
<li class="level1"><div class="li"> Values prefixed with ”!” are not cleared in Clear Private Data</div> |
|
663 |
</li> |
|
664 |
<li class="level1"><div class="li"> No wildcards.</div> |
|
665 |
</li> |
|
666 |
<li class="level1"><div class="li"> LSO, local storage and application caches ignore all policies.</div> |
|
667 |
</li> |
|
668 |
</ol> |
|
669 |
||
670 |
<p> |
|
671 |
The feature is currently experimental and will change in future versions. |
|
672 |
</p> |
|
673 |
||
674 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
675 |
<!-- EDIT7 SECTION "Blacklist cookies" [14402-14938] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
676 |
<h2 class="sectionedit8" id="adblock">Adblock</h2> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
677 |
<div class="level2"> |
678 |
||
679 |
<p> |
|
680 |
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. |
|
681 |
</p> |
|
682 |
||
683 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
684 |
<!-- EDIT8 SECTION "Adblock" [14939-15194] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
685 |
<h1 class="sectionedit9" id="modes">Modes</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
686 |
<div class="level1"> |
687 |
||
688 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
689 |
<!-- EDIT9 SECTION "Modes" [15195-15215] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
690 |
<h2 class="sectionedit10" id="web_applications">Web Applications</h2> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
691 |
<div class="level2"> |
692 |
||
693 |
<p> |
|
694 |
There are two closely related features to open websites as dedicated windows of their own. You can do the following to use them: |
|
695 |
</p> |
|
696 |
<ol> |
|
697 |
<li class="level1"><div class="li"> Right-click a hyperlink → Open as Web Application</div> |
|
698 |
</li> |
|
699 |
<li class="level1"><div class="li"> Add or Edit a bookmark → [x] Run as web application</div> |
|
700 |
</li> |
|
701 |
<li class="level1"><div class="li"> Type ‘midori -a <a href="http://foo.bar" class="urlextern" title="http://foo.bar" rel="nofollow">http://foo.bar</a>’ on a command line</div> |
|
702 |
</li> |
|
703 |
</ol> |
|
704 |
||
705 |
<p> |
|
706 |
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’) |
|
707 |
</p> |
|
708 |
||
3650
by Christian Dywan
Update FAQ from the wiki |
709 |
</div> |
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
710 |
<!-- EDIT10 SECTION "Web Applications" [15216-15732] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
711 |
<h2 class="sectionedit11" id="private_browsing">Private Browsing</h2> |
3650
by Christian Dywan
Update FAQ from the wiki |
712 |
<div class="level2"> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
713 |
|
714 |
<p> |
|
715 |
File menu/ App Menu button → Private Browsing |
|
716 |
</p> |
|
3650
by Christian Dywan
Update FAQ from the wiki |
717 |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
718 |
<p> |
3650
by Christian Dywan
Update FAQ from the wiki |
719 |
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.
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
720 |
</p> |
721 |
||
722 |
<p> |
|
723 |
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”.
|
|
724 |
</p> |
|
725 |
||
3650
by Christian Dywan
Update FAQ from the wiki |
726 |
<p> |
727 |
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. |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
728 |
<abbr title="Domain Name System">DNS</abbr> prefetching is disabled in this mode, also referrers are stripped down to the hostname when navigating between different websites. |
3650
by Christian Dywan
Update FAQ from the wiki |
729 |
</p> |
730 |
||
731 |
<p> |
|
732 |
The same options available to -a/ –app can be used for private browsing mode. |
|
733 |
</p> |
|
734 |
||
735 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
736 |
<!-- EDIT11 SECTION "Private Browsing" [15733-16652] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
737 |
<h2 class="sectionedit12" id="portable_modewin32">Portable mode/ Win32</h2> |
5325
by Christian Dywan
Update FAQ from the wiki |
738 |
<div class="level2"> |
739 |
||
740 |
<p> |
|
741 |
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. |
|
742 |
</p> |
|
743 |
||
744 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
745 |
<!-- EDIT12 SECTION "Portable mode/ Win32" [16653-16966] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
746 |
<h2 class="sectionedit13" id="kiosk_mode">Kiosk mode</h2> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
747 |
<div class="level2"> |
748 |
||
749 |
<p> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
750 |
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: |
751 |
</p> |
|
752 |
<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> |
|
753 |
||
754 |
<p> |
|
755 |
Available commands for -e can be listed with “midori –help-execute”. |
|
756 |
</p> |
|
757 |
||
758 |
<p> |
|
759 |
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. |
|
760 |
</p> |
|
761 |
||
762 |
<p> |
|
763 |
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: |
|
764 |
</p> |
|
765 |
<pre class="code bash"><span class="re5">-b</span> <span class="st_h">'youtube|youporn'</span></pre> |
|
766 |
||
767 |
<p> |
|
768 |
By negating the expression you can also whitelist pages. |
|
769 |
</p> |
|
770 |
<pre class="code bash"><span class="re5">-b</span> <span class="st_h">'^(?!.*?(gmail|mail\.google|accounts\.google)).*'</span></pre> |
|
771 |
||
772 |
<p> |
|
773 |
Any links outside end up in an error page. All images and other files won't be loaded.
|
|
774 |
</p> |
|
775 |
||
776 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
777 |
<!-- EDIT13 SECTION "Kiosk mode" [16967-18004] -->
|
5838
by Christian Dywan
Bump version to 0.4.9 |
778 |
<h2 class="sectionedit14" id="always_open_midori_in_fullscreen">Always open Midori in Fullscreen</h2> |
779 |
<div class="level2"> |
|
780 |
||
781 |
<p> |
|
782 |
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. |
|
783 |
</p> |
|
784 |
||
785 |
<p> |
|
786 |
If for whatever reason this isn't enough, <a href="https://live.gnome.org/DevilsPie" class="urlextern" title="https://live.gnome.org/DevilsPie" rel="nofollow">DevilsPie</a> can force Midori to the desired state: |
|
787 |
</p> |
|
788 |
||
789 |
<p> |
|
790 |
~/.devilspie/midori.ds |
|
791 |
</p> |
|
792 |
||
793 |
<p> |
|
794 |
(begin |
|
795 |
</p> |
|
796 |
<pre class="code"> (if |
|
797 |
(and |
|
798 |
(is (application_name) "Midori") |
|
799 |
) |
|
800 |
(begin |
|
801 |
(maximize) |
|
802 |
) |
|
803 |
)</pre> |
|
804 |
||
805 |
<p> |
|
806 |
) |
|
807 |
</p> |
|
808 |
||
809 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
810 |
<!-- EDIT14 SECTION "Always open Midori in Fullscreen" [18005-18532] -->
|
6153
by Christian Dywan
Bump version to 0.5.1 |
811 |
<h2 class="sectionedit15" id="overriding_settings_and_loading_extensions">Overriding settings and loading extensions</h2> |
812 |
<div class="level2"> |
|
813 |
||
814 |
<p> |
|
815 |
As of Midori 0.5.0 the –execute command line switch got more powerful: |
|
816 |
</p> |
|
817 |
||
818 |
<p> |
|
819 |
<code>midori -e libcolorful-tabs.so=true</code> |
|
820 |
</p> |
|
821 |
||
822 |
<p> |
|
823 |
<code>midori -e enable-javascript=false</code> |
|
824 |
</p> |
|
825 |
||
826 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
827 |
<!-- EDIT15 SECTION "Overriding settings and loading extensions" [18533-18740] -->
|
6153
by Christian Dywan
Bump version to 0.5.1 |
828 |
<h1 class="sectionedit16" id="proxy_servers">Proxy servers</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
829 |
<div class="level1"> |
830 |
||
831 |
<p> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
832 |
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. |
833 |
</p> |
|
834 |
||
835 |
</div> |
|
836 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
837 |
<h4 id="privoxy">Privoxy</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
838 |
<div class="level4"> |
839 |
||
840 |
<p> |
|
841 |
Privoxy is a non-caching web proxy with filter capabilites and particular support for blocking advertisements before even loading them. |
|
842 |
</p> |
|
843 |
||
844 |
<p> |
|
845 |
<a href="http://www.privoxy.org/faq/" class="urlextern" title="http://www.privoxy.org/faq/" rel="nofollow">http://www.privoxy.org/faq/</a> |
|
846 |
</p> |
|
847 |
||
848 |
</div> |
|
849 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
850 |
<h4 id="mousehole">Mousehole</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
851 |
<div class="level4"> |
852 |
||
853 |
<p> |
|
854 |
Mousehole is a scriptable proxy server written in Ruby. |
|
855 |
</p> |
|
856 |
||
857 |
<p> |
|
858 |
<a href="http://code.whytheluckystiff.net/mouseHole/" class="urlextern" title="http://code.whytheluckystiff.net/mouseHole/" rel="nofollow">http://code.whytheluckystiff.net/mouseHole/</a> |
|
859 |
</p> |
|
860 |
||
861 |
</div> |
|
862 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
863 |
<h4 id="polipo">Polipo</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
864 |
<div class="level4"> |
865 |
||
866 |
<p> |
|
867 |
Polipo is a caching web proxy (a web cache) designed to be used by one |
|
868 |
person or a small group of people. It is similar in spirit to WWWOFFLE, but |
|
869 |
the implementation techniques are more like the ones used by Squid. |
|
870 |
</p> |
|
871 |
||
872 |
<p> |
|
873 |
<a href="http://www.pps.jussieu.fr/~jch/software/polipo/" class="urlextern" title="http://www.pps.jussieu.fr/~jch/software/polipo/" rel="nofollow">http://www.pps.jussieu.fr/~jch/software/polipo/</a> |
|
874 |
</p> |
|
875 |
||
876 |
</div> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
877 |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
878 |
<h4 id="are_socks_proxy_servers_supported">Are SOCKS proxy servers supported?</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
879 |
<div class="level4"> |
880 |
||
881 |
<p> |
|
6153
by Christian Dywan
Bump version to 0.5.1 |
882 |
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. |
5325
by Christian Dywan
Update FAQ from the wiki |
883 |
</p> |
884 |
||
885 |
<p> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
886 |
libSoup < 2.40 only supports <abbr title="Hyper Text Transfer Protocol">HTTP</abbr> proxy servers directly. A way to use SOCKS on Unix is to use tsocks with <abbr title="Secure Shell">SSH</abbr> as follows: |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
887 |
</p> |
888 |
<ol> |
|
889 |
<li class="level1"><div class="li"> Install 'tsocks'</div> |
|
890 |
</li> |
|
891 |
<li class="level1"><div class="li"> Open /etc/tsocks.conf in an editor</div> |
|
892 |
</li> |
|
893 |
<li class="level1"><div class="li"> Type something like this, you can choose the port freely: <pre class="code">server = 127.0.0.1 |
|
894 |
server_type = 5 |
|
895 |
server_port = 5555</pre> |
|
896 |
</div> |
|
897 |
</li> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
898 |
<li class="level1"><div class="li"> Open an <abbr title="Secure Shell">SSH</abbr> connection with the same port: <pre class="code"> ssh -D localhost:5555 myhost.com </pre> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
899 |
</div> |
900 |
</li> |
|
901 |
<li class="level1"><div class="li"> Run Midori with “tsocks” in front of it: <pre class="code"> tsocks midori </pre> |
|
902 |
</div> |
|
903 |
</li> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
904 |
<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 <abbr title="Secure Shell">SSH</abbr> host. Remember to keep the <abbr title="Secure Shell">SSH</abbr> login running, and don't suspend it, otherwise it won't work.</div> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
905 |
</li> |
906 |
<li class="level1"><div class="li"> If the connection fails for some reason, you should see a connection error.</div> |
|
907 |
</li> |
|
908 |
</ol> |
|
909 |
||
910 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
911 |
<!-- EDIT16 SECTION "Proxy servers" [18741-20562] -->
|
6153
by Christian Dywan
Bump version to 0.5.1 |
912 |
<h1 class="sectionedit17" id="keyboard_hotkeys">Keyboard Hotkeys</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
913 |
<div class="level1"> |
914 |
||
915 |
</div> |
|
916 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
917 |
<h4 id="hjkl">HJKL</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
918 |
<div class="level4"> |
3650
by Christian Dywan
Update FAQ from the wiki |
919 |
|
920 |
<p> |
|
921 |
You can use the Vim-like key bindings [hjkl] to navigate a page. h=left j=down k=up l=right In a picture: |
|
922 |
</p> |
|
923 |
<pre class="code"> k |
|
924 |
h l |
|
925 |
j</pre> |
|
926 |
||
927 |
<p> |
|
928 |
You can also use the arrow keys to do the same. |
|
929 |
</p> |
|
930 |
||
931 |
</div> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
932 |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
933 |
<h4 id="following_links">Following Links</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
934 |
<div class="level4"> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
935 |
|
936 |
<p> |
|
5325
by Christian Dywan
Update FAQ from the wiki |
937 |
To enable Hints in Midori, similar to vimperator in Firefox or xxxterm, press . |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
938 |
</p> |
939 |
||
940 |
<p> |
|
941 |
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. |
|
942 |
</p> |
|
943 |
||
944 |
</div> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
945 |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
946 |
<h4 id="use_ctrl_shift_tab_to_switch_between_pages">Use Ctrl(+Shift)+Tab to switch between pages</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
947 |
<div class="level4"> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
948 |
|
949 |
<p> |
|
3707
by Christian Dywan
Update FAQ from the wiki |
950 |
Since Midori 0.3.5 Ctrl+Tab is supported by default. |
951 |
</p> |
|
952 |
||
953 |
<p> |
|
954 |
In older versions you can enable the History List extension under Tools → Extensions. |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
955 |
</p> |
956 |
||
957 |
</div> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
958 |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
959 |
<h4 id="customizing_keyboard_shortcuts">Customizing keyboard shortcuts</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
960 |
<div class="level4"> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
961 |
|
962 |
<p> |
|
963 |
Enable the Shortcuts extension Tools → Extensions. To edit a keybinding Tools → Customize Shortcuts… |
|
4197
by Christian Dywan
Update FAQ from the wiki |
964 |
</p> |
965 |
||
966 |
</div> |
|
4749
by Paweł Forysiuk
Update FAQ from the wiki |
967 |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
968 |
<h4 id="using_find">Using Find</h4> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
969 |
<div class="level4"> |
4197
by Christian Dywan
Update FAQ from the wiki |
970 |
|
971 |
<p> |
|
972 |
Default shortcuts for Find are: |
|
973 |
</p> |
|
974 |
||
975 |
<p> |
|
976 |
Find: Ctrl+f ”/” and ”,”<br/> |
|
977 |
||
4749
by Paweł Forysiuk
Update FAQ from the wiki |
978 |
FindNext: Ctrl+g and Enter<br/> |
4197
by Christian Dywan
Update FAQ from the wiki |
979 |
|
980 |
FindPrevious: Shift+Ctrl+g<br/> |
|
981 |
||
982 |
</p> |
|
983 |
||
984 |
<p> |
|
985 |
Dismissing Find: |
|
986 |
</p> |
|
987 |
||
988 |
<p> |
|
989 |
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]. |
|
990 |
</p> |
|
991 |
||
992 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
993 |
<!-- EDIT17 SECTION "Keyboard Hotkeys" [20563-21895] -->
|
6153
by Christian Dywan
Bump version to 0.5.1 |
994 |
<h1 class="sectionedit18" id="mouse_gestures">Mouse Gestures</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
995 |
<div class="level1"> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
996 |
|
997 |
<p> |
|
3707
by Christian Dywan
Update FAQ from the wiki |
998 |
By default the right mouse button initiates gestures. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
999 |
</p> |
1000 |
||
1001 |
<p> |
|
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1002 |
You can change the button (for example, to the middle mouse button) using a hidden option: |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1003 |
</p> |
1004 |
<ol> |
|
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1005 |
<li class="level1"><div class="li"> Create a text file ~/.config/midori/extensions/libmouse-gestures.so/<strong>config</strong> .</div> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1006 |
</li> |
1007 |
<li class="level1"><div class="li"> Type the following in there:</div> |
|
1008 |
</li> |
|
1009 |
</ol> |
|
1010 |
<pre class="code"> [settings] |
|
1011 |
button=2</pre> |
|
1012 |
||
1013 |
<p> |
|
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1014 |
As of Midori 0.5.0 individual gestures can be configured freely in the file ~/.config/midori/extensions/libmouse-gestures.so/<strong>gestures</strong> . |
1015 |
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: |
|
6153
by Christian Dywan
Bump version to 0.5.1 |
1016 |
</p> |
1017 |
<pre class="code"> [gestures] |
|
1018 |
Quit=W;E; |
|
1019 |
TabPrevious=SW; |
|
1020 |
TabNext=SE;</pre> |
|
1021 |
||
1022 |
<p> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1023 |
Additionally, there are programs allowing mouse gestures system-wide, for example <a href="http://easystroke.wiki.sourceforge.net/" class="urlextern" title="http://easystroke.wiki.sourceforge.net/" rel="nofollow">EasyStroke</a>. |
1024 |
</p> |
|
1025 |
||
1026 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1027 |
<!-- EDIT18 SECTION "Mouse Gestures" [21896-22828] -->
|
6153
by Christian Dywan
Bump version to 0.5.1 |
1028 |
<h1 class="sectionedit19" id="user_scripts_and_styles">User scripts and styles</h1> |
4749
by Paweł Forysiuk
Update FAQ from the wiki |
1029 |
<div class="level1"> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1030 |
|
1031 |
<p> |
|
1032 |
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>. |
|
1033 |
</p> |
|
1034 |
||
1035 |
</div> |
|
1036 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1037 |
<h4 id="how_to_install_a_userscript">How to install a UserScript</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1038 |
<div class="level4"> |
1039 |
||
1040 |
<p> |
|
3650
by Christian Dywan
Update FAQ from the wiki |
1041 |
First enable the “User Addons” extension. It will show up as a “User Scripts” panel (and it also provides “User Styles”). |
1042 |
</p> |
|
1043 |
||
1044 |
<p> |
|
1045 |
Now you need to find some scripts. You can find some at <a href="http://userscripts.org/" class="urlextern" title="http://userscripts.org/" rel="nofollow">userscripts.org</a>. Most scripts work fine, some may be written specifically for other browsers. |
|
1046 |
</p> |
|
1047 |
||
1048 |
<p> |
|
1049 |
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. |
|
1050 |
</p> |
|
1051 |
||
1052 |
<p> |
|
1053 |
To manually install a userscript, you have to download the script as a file, and put it in the folder <strong>~/.local/share/midori/scripts</strong>. 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. |
|
1054 |
</p> |
|
1055 |
||
1056 |
<p> |
|
1057 |
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. |
|
1058 |
</p> |
|
1059 |
||
1060 |
</div> |
|
1061 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1062 |
<h4 id="compatibility_with_greasemonkey">Compatibility with GreaseMonkey</h4> |
3650
by Christian Dywan
Update FAQ from the wiki |
1063 |
<div class="level4"> |
1064 |
||
1065 |
<p> |
|
1066 |
As previously mentioned, Midori can use most scripts you will find. Midori supports Greasemonkey's <em>@include</em> and <em>@exclude</em> 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 <a href="http://wiki.greasespot.net/API_reference" class="urlextern" title="http://wiki.greasespot.net/API_reference" rel="nofollow">Greasemonkey API</a>. 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. |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1067 |
</p> |
1068 |
||
1069 |
</div> |
|
1070 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1071 |
<h4 id="flash_blocking_via_a_user_script">Flash blocking via a User script</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1072 |
<div class="level4"> |
1073 |
||
1074 |
<p> |
|
1075 |
You can use <a href="http://userscripts.org/scripts/show/45343" class="urlextern" title="http://userscripts.org/scripts/show/45343" rel="nofollow">BlockFlash2</a> as a user script which replaces all Flash elements with a button that says “Play Flash”. |
|
1076 |
</p> |
|
1077 |
||
1078 |
</div> |
|
1079 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1080 |
<h4 id="flash_blocking_via_a_user_style">Flash blocking via a User style</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1081 |
<div class="level4"> |
1082 |
||
1083 |
<p> |
|
1084 |
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. |
|
1085 |
</p> |
|
1086 |
||
1087 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1088 |
<!-- EDIT19 SECTION "User scripts and styles" [22829-25383] -->
|
6153
by Christian Dywan
Bump version to 0.5.1 |
1089 |
<h2 class="sectionedit20" id="user_styles">User styles</h2> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1090 |
<div class="level2"> |
1091 |
||
1092 |
<p> |
|
5838
by Christian Dywan
Bump version to 0.4.9 |
1093 |
User styles are <abbr title="Cascading Style Sheets">CSS</abbr> 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. |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1094 |
</p> |
1095 |
||
1096 |
</div> |
|
1097 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1098 |
<h4 id="how_to_install_a_user_style">How to install a user style</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1099 |
<div class="level4"> |
1100 |
||
1101 |
<p> |
|
1102 |
First, you need to find some styles (or write your own). You can find some at <a href="http://userstyles.org/" class="urlextern" title="http://userstyles.org/" rel="nofollow">userstyles.org</a>. Many styles may or may not work, depending on whether the author decided to use browser specific features. |
|
1103 |
</p> |
|
1104 |
||
1105 |
<p> |
|
1106 |
To install a user style, you have to download the style as a file, and put it in the following directory <strong>~/.local/share/midori/styles</strong> (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. |
|
1107 |
</p> |
|
1108 |
||
1109 |
<p> |
|
1110 |
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. |
|
1111 |
</p> |
|
1112 |
||
1113 |
</div> |
|
1114 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1115 |
<h4 id="how_to_install_a_user_style_before_midori_0020">How to install a user style before Midori 0.0.20</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1116 |
<div class="level4"> |
1117 |
||
1118 |
<p> |
|
1119 |
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. |
|
1120 |
</p> |
|
1121 |
||
1122 |
</div> |
|
1123 |
||
5838
by Christian Dywan
Bump version to 0.4.9 |
1124 |
<h4 id="a_user_css_to_display_the_url_when_a_link_is_hovered">A user css to display the url when a link is hovered</h4> |
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1125 |
<div class="level4"> |
1126 |
||
1127 |
<p> |
|
1128 |
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 <strong>~/.local/share/midori/styles</strong>, then restart Midori and make sure that it is enabled Tools → Userstyles. |
|
1129 |
</p> |
|
1130 |
||
1131 |
<p> |
|
1132 |
Customize as needed: |
|
1133 |
</p> |
|
6487.1.3
by Christian Dywan
Bump version to 0.5.6 |
1134 |
<pre class="code css">a<span class="br0">[</span>href<span class="br0">]</span><span class="re2">:hover </span><span class="br0">{</span> |
1135 |
<span class="kw1">text-decoration</span><span class="sy0">:</span> <span class="kw2">none</span> !important<span class="sy0">;</span> |
|
1136 |
<span class="br0">}</span> |
|
1137 |
a<span class="br0">[</span>href<span class="br0">]</span><span class="re2">:hover</span><span class="re2">:after </span><span class="br0">{</span> |
|
1138 |
<span class="kw1">content</span><span class="sy0">:</span> attr<span class="br0">(</span>href<span class="br0">)</span><span class="sy0">;</span> |
|
1139 |
<span class="kw1">position</span><span class="sy0">:</span> <span class="kw2">fixed</span><span class="sy0">;</span> <span class="kw1">left</span><span class="sy0">:</span> <span class="re3">4px</span><span class="sy0">;</span> <span class="kw1">bottom</span><span class="sy0">:</span> <span class="re3">4px</span><span class="sy0">;</span> |
|
1140 |
<span class="kw1">padding</span><span class="sy0">:</span> <span class="nu0">0</span> <span class="re3">6px</span> !important<span class="sy0">;</span> |
|
1141 |
<span class="kw1">max-width</span><span class="sy0">:</span> <span class="re3">95%</span><span class="sy0">;</span> <span class="kw1">overflow</span><span class="sy0">:</span> <span class="kw2">hidden</span><span class="sy0">;</span> |
|
1142 |
<span class="kw1">white-space</span><span class="sy0">:</span> <span class="kw2">nowrap</span><span class="sy0">;</span> text-overflow<span class="sy0">:</span> ellipsis<span class="sy0">;</span> |
|
1143 |
<span class="kw1">font</span><span class="sy0">:</span><span class="re3">10pt</span> <span class="kw2">sans-serif</span> !important<span class="sy0">;</span> <span class="kw1">text-shadow</span><span class="sy0">:</span> <span class="nu0">0</span> <span class="nu0">0</span> <span class="re3">12px</span> <span class="kw2">white</span><span class="sy0">;</span> |
|
1144 |
<span class="kw1">background-color</span><span class="sy0">:</span> ButtonFace !important<span class="sy0">;</span> <span class="kw1">color</span><span class="sy0">:</span> ButtonText !important<span class="sy0">;</span> |
|
1145 |
opacity<span class="sy0">:</span> <span class="nu0">0.8</span><span class="sy0">;</span> <span class="kw1">outline</span><span class="sy0">:</span> ButtonFace <span class="kw2">solid</span> <span class="kw2">thick</span><span class="sy0">;</span> |
|
1146 |
<span class="kw1">z-index</span><span class="sy0">:</span> <span class="nu0">9999</span><span class="sy0">;</span> |
|
1147 |
<span class="br0">}</span></pre> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1148 |
|
1149 |
</div> |
|
6539.1.1
by Christian Dywan
Bump version to 0.5.7 |
1150 |
|
1151 |
<h4 id="tweaking_fonts_via_css">Tweaking fonts via CSS</h4> |
|
1152 |
<div class="level4"> |
|
1153 |
||
1154 |
<p> |
|
1155 |
If changing system-wide font settings isn't bringing the desired results or rendering should be tweaked only for websites <abbr title="Cascading Style Sheets">CSS</abbr> can be an alternative. Add the following to <strong>~/.local/share/midori/styles</strong>, then restart Midori and make sure that it is enabled Tools → Userstyles. |
|
1156 |
</p> |
|
1157 |
||
1158 |
<p> |
|
1159 |
Customize as needed: |
|
1160 |
</p> |
|
1161 |
<pre class="code css"><span class="sy0">*</span> <span class="br0">{</span> |
|
1162 |
font-smooth<span class="sy0">:</span><span class="kw2">always</span><span class="sy0">;</span> |
|
1163 |
-webkit-font-smoothing<span class="sy0">:</span> antialiased<span class="sy0">;</span> |
|
1164 |
text-rendering<span class="sy0">:</span> optimizeLegibility |
|
1165 |
<span class="br0">}</span></pre> |
|
1166 |
||
1167 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1168 |
<!-- EDIT20 SECTION "User styles" [25384-28087] -->
|
1169 |
<h1 class="sectionedit21" id="midori_architecture">Midori Architecture</h1> |
|
1170 |
<div class="level1"> |
|
1171 |
||
1172 |
<p> |
|
1173 |
Midori stands on the shoulders of three giants in particular: the software libraries <a href="http://www.gtk.org/" class="urlextern" title="http://www.gtk.org/" rel="nofollow">GTK+</a>, <a href="http://webkitgtk.org/" class="urlextern" title="http://webkitgtk.org/" rel="nofollow">WebKitGTK+</a>, and <a href="https://developer.gnome.org/libsoup/" class="urlextern" title="https://developer.gnome.org/libsoup/" rel="nofollow">libsoup</a>. GTK+ provides the buttons, windows and menus, WebKitGTK+ draws and controls web pages, and libsoup downloads those pages. |
|
1174 |
</p> |
|
1175 |
||
1176 |
<p> |
|
1177 |
WebKitGTK+ itself uses two other important libraries: <a href="https://www.webkit.org/projects/javascript/index.html" class="urlextern" title="https://www.webkit.org/projects/javascript/index.html" rel="nofollow">JavaScriptCore</a>, a WebKit project which runs scripts on web pages; and <a href="http://gstreamer.freedesktop.org/" class="urlextern" title="http://gstreamer.freedesktop.org/" rel="nofollow">GStreamer</a>, which plays HTML5 video and audio. |
|
1178 |
</p> |
|
1179 |
||
1180 |
</div> |
|
1181 |
<!-- EDIT21 SECTION "Midori Architecture" [28088-28718] -->
|
|
1182 |
<h2 class="sectionedit22" id="webkit_version_numbers">WebKit Version Numbers</h2> |
|
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1183 |
<div class="level2"> |
1184 |
||
1185 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1186 |
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. |
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1187 |
</p> |
1188 |
||
1189 |
<p> |
|
1190 |
WebKit itself is a library which works in many environments, such as Windows, <abbr title="Operating System">OS</abbr> 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+. |
|
1191 |
</p> |
|
1192 |
||
1193 |
<p> |
|
1194 |
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. |
|
1195 |
</p> |
|
1196 |
||
1197 |
<p> |
|
1198 |
WebKit has a “new <abbr title="Application Programming Interface">API</abbr> 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. |
|
1199 |
</p> |
|
1200 |
||
1201 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1202 |
To find out the version of WebKitGTK+ your build of Midori is using, visit about:version. |
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1203 |
</p> |
1204 |
||
1205 |
</div> |
|
1206 |
||
1207 |
<h4 id="version_number_interactions">Version Number Interactions</h4> |
|
1208 |
<div class="level4"> |
|
1209 |
||
1210 |
<p> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1211 |
The WebKit2 <abbr title="Application Programming Interface">API</abbr> 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 <abbr title="Application Programming Interface">API</abbr> layer is only available with GTK+3. |
6347.1.2
by Christian Dywan
Bump version to 0.5.5 |
1212 |
</p> |
1213 |
||
1214 |
<p> |
|
1215 |
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.
|
|
1216 |
</p> |
|
1217 |
||
1218 |
</div> |
|
6830.1.1
by Christian Dywan
Bump version to 0.5.9 |
1219 |
<!-- EDIT22 SECTION "WebKit Version Numbers" [28719-30528] -->
|
1220 |
<h1 class="sectionedit23" id="midori_and_mediaherald">Midori and mediaHerald</h1> |
|
1221 |
<div class="level1"> |
|
1222 |
||
1223 |
<p> |
|
1224 |
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 <strong>YOUTUBE</strong>, <strong>VIMEO</strong> or <strong>DAILYMOTION</strong>, the extension which does the work is called webmedia-now-playing. |
|
1225 |
</p> |
|
1226 |
||
1227 |
<p> |
|
1228 |
If you want to get the video title and the uri is easy more than easy <img src="/lib/images/smileys/icon_smile.gif" class="icon" alt=":-)" /> . |
|
1229 |
</p> |
|
1230 |
<pre class="code bash"><span class="co0">#!/bin/sh</span> |
|
1231 |
|
|
1232 |
<span class="kw3">eval</span> $<span class="br0">(</span>dbus-send <span class="re5">--session</span> <span class="re5">--print-reply</span> <span class="re5">--dest</span>=org.midori.mediaHerald <span class="sy0">/</span>org<span class="sy0">/</span>midori<span class="sy0">/</span>mediaHerald org.freedesktop.DBus.Properties.GetAll string:<span class="st0">"org.midori.mediaHerald"</span> <span class="sy0">|</span> <span class="kw2">awk</span> <span class="st_h">' |
|
1233 |
/string *"VideoTitle/{
|
|
1234 |
while (1) { |
|
1235 |
getline line |
|
1236 |
if (line ~ /string "/)
|
|
1237 |
sub(/.*string /, "TITLE=", line) |
|
1238 |
print line |
|
1239 |
break |
|
1240 |
} |
|
1241 |
} |
|
1242 |
/string *"VideoUri/{
|
|
1243 |
while (1) { |
|
1244 |
getline line |
|
1245 |
if (line ~ /string "/)
|
|
1246 |
sub(/.*string /, "URI=", line) |
|
1247 |
print line |
|
1248 |
break |
|
1249 |
} |
|
1250 |
} |
|
1251 |
'</span><span class="br0">)</span> |
|
1252 |
<span class="kw3">echo</span> <span class="st0">"Midori is now playing: <span class="es2">$TITLE</span> ,the uri is: <span class="es2">$URI</span>"</span></pre> |
|
1253 |
||
1254 |
</div> |
|
1255 |
<!-- EDIT23 SECTION "Midori and mediaHerald" [30529-] --></div> |
|
3420
by Christian Dywan
Replace unmaintained docs with FAQ from the wiki |
1256 |
</body> |
1257 |
</html> |