From c5ed6e0815a052b0505618e36625338d569cdeb3 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 2 May 2011 00:42:49 +0200 Subject: [PATCH] Update FAQ from the wiki faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq and all tags were replaced with . --- data/faq.html | 160 ++++++++++++++++++++++++++------------------------ 1 file changed, 83 insertions(+), 77 deletions(-) diff --git a/data/faq.html b/data/faq.html index 419ec605..28687743 100644 --- a/data/faq.html +++ b/data/faq.html @@ -6,8 +6,8 @@ midori:faq - - + + @@ -19,9 +19,9 @@ - +
@@ -40,11 +40,12 @@ var NS='midori';var JSINFO = {"id":"midori:faq","namespace":"midori"};
  • @@ -471,13 +474,13 @@ Note that incomplete .desktop files will silently fail and it will look as if it

    - +

    Features

    - -

    Web Applications/ Private Browsing

    + +

    Web Applications

    @@ -486,8 +489,6 @@ There are two closely related features to open websites as dedicated windows of

      -
    1. File (or Globe button) → Private Browsing
      -
    2. Right-click a hyperlink → Open as Web Application
    3. Add or Edit a bookmark → [x] Run as web application
      @@ -500,65 +501,35 @@ There are two closely related features to open websites as dedicated windows of 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’)

      -

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

      - -

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

      -
    - -

    Download Managers

    + +

    Private Browsing

    +
      +
    1. File menu/ App Menu button → Private Browsing
      +
    2. +

    -Midori can start downloads with an external download manager. To use that feature, open up the “Preferences” dialog, click the “Applications” tab, insert the name of a program executable or shell script in the “Download Manager” input box, right-click a link, and click “Download with Download Manager”. There is a list of download managers on Wikipedia. -

    - -
    - -

    Admiral

    -
    - -

    -Admiral is a shell script that utilizes aria2, Zenity, and libnotify-bin. Admiral allows you to choose the directory to which you wish download a file with a GUI dialog, sends a desktop notification if the download fails and when starting and finishing the download, and logs failures. +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.

    -
    - -

    Aria2

    -
    -

    - -aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, BitTorrent and Metalink. aria2 has built-in XML-RPC interface. You can manipulate aria2 via XML-RPC interface. +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”.

    -
    - -

    Uget (former Urlgfe)

    -
    -

    - -UGet is a cross platform download manager. It can watch the clipboard to offer download dialogues automatically and it can be configured to pass through files, such as torrents, to the appropriate handler. +As of Midori 0.3.4 the –private command line switch opens a private browsing instance with normal preferences, cookies, shortcuts and search engines. But no changes will be saved. +DNS prefetching is disabled in this mode, also referrers are stripped down to the hostname when navigating between different websites.

    -
    - -

    GGet

    -
    -

    - -GGet is a download manager primarily for the GNOME desktop, but it also works in other unix/ GTk+ environments. +The same options available to -a/ –app can be used for private browsing mode.

    - +

    Proxy servers

    @@ -572,12 +543,10 @@ To use Midori with a proxy server, there are two options:

      -
    1. WebKit is built with libcurl. Define an environment variable http_proxy and set it to your proxy server like so:
      +
    2. WebKit is built with libcurl. Define an environment variable http_proxy and set it to your proxy server like so:
        export http_proxy = 234.22.154.11:8000
      +
    3. -
    -
    export http_proxy = 234.22.154.11:8000
    -
      -
    1. 2. WebKit is built with libsoup. Midori >= 0.1.2, is built with libsoup. Try to open some web page. Now open the preferences, and you should see a Network tab with a 'Proxy server' field.
      +
    2. WebKit is built with libsoup. Midori >= 0.1.2, is built with libsoup. Try to open some web page. Now open the preferences, and you should see a Network tab with a 'Proxy server' field.
    @@ -626,13 +595,32 @@ Mousehole is a scriptable proxy server written in Ruby.

    - +

    Using the Keyboard

    - -

    Following Links

    + +

    HJKL

    +
    + +

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

    +
    	       k
    +	   h     l
    +	     j
    + +

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

    + +
    + +

    Following Links

    @@ -645,8 +633,8 @@ With hints enabled, type the link number, and press Enter to open the link in th

    - -

    Toggling between pages

    + +

    Toggling between pages

    @@ -655,8 +643,8 @@ Enable the History List extension Tools → Extensions. Now you can conveniently

    - -

    Customizing keyboard shortcuts

    + +

    Customizing keyboard shortcuts

    @@ -666,8 +654,8 @@ Enable the Shortcuts extension Tools → Extensions. To edit a keybinding Tools

    - -

    Mouse Gestures

    + +

    Mouse Gestures

    @@ -703,8 +691,8 @@ Additionally, there are programs allowing mouse gestures system-wide, for exampl

    - -

    Spell check

    + +

    Spell check

    @@ -718,8 +706,8 @@ Now while typing any errors should get underlined in red. To get suggestions, hi

    - -

    User scripts

    + +

    User scripts

    @@ -739,15 +727,33 @@ UserScripts are scripts applied on some, or on all web pages. They can modify p

    -First, you need to find some scripts (or write your own). You can find some at userscripts.org. As explained previously, a lot of scripts work, while others do not work. +First enable the “User Addons” extension. It will show up as a “User Scripts” panel (and it also provides “User Styles”). +

    + +

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

    + +

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

    + +

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

    -To install a userscript, you have to download the script as a file, and put it in the following directory ~/.local/share/midori/scripts (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 scripts panel. +If the script is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-script.js where ”.js” is the extension.

    + + +

    Compatibility with GreaseMonkey

    +
    +

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

    @@ -771,8 +777,8 @@ You can also use -

    User styles

    + +

    User styles

    @@ -842,6 +848,6 @@ Customize as needed: } - + -- 2.39.5