Element blocking, form history and kinetic scrolling

Fasten your seatbelts, Midori 0.2.0 is there. Adblock was improved a lot, it works with any WebKitGTK+ version, has an improved interface, reads AdblockPlus/ Easylist filters and supports element blocking now. Thanks to a contributed scrolling widget we have kinetic drag scrolling, enabled on touchscreen devices (gtk-touchscreen-mode. Two new extensions, namely DNS prefetching and form history, could just be the very reason for those who don’t use Midori yet, to switch. Smaller issues were also improved, such as more icons of web pages are recognized, mailto: links work as expected and when switching a tab back and forth Midori remembers what you were typing.

So [http://archive.xfce.org/src/apps/midori/0.2/midori-0.2.0.tar.bz2 download midori v0.2.0] (556 kB) ([http://archive.xfce.org/src/apps/midori/0.2/midori-0.2.0.tar.bz2.md5 MD5]) ([http://git.xfce.org/apps/midori/tree/ChangeLog ChangeLog]) already!
Win32 Binaries: [http://92.51.130.4/midori-0.1.8.7z midori Win32 v0.1.8] (7,3 MB)

38 thoughts on “Element blocking, form history and kinetic scrolling

  1. J. Jordan

    Awesome browser, light, fast, picks up GTK themes great! You are doing great work, please continue. -j

  2. R

    [B]kalikiana[/B],

    just donated you a kind of student-figure for your work on midori. With version 0.1.9 being distributed with xfce it is already very stable.

    From all the browsers midori sticks out with one feature: bleeding edge speed. Not only 4 places after the decimal point, but felt(TM)!!!

    Best and thank you for your work, all of you!

    [B]R[/B]

  3. Giuseppe

    I have improved the script, making it a little bit less user-unfriendly. Now looking at page sources is no longer needed, and it handles frames, but still un-secure.

    // ==UserScript==
    // @name LoginPasswords
    // @namespace *
    // @description LoginPasswords Filler
    // @include http://*/*
    // @include https://*/*
    // ==/UserScript==

    function fillogpwd(doc,login,pwd) {
    var inptg = doc.getElementsByTagName(“input”);
    var ip = -1; var il = -1;
    for ( var i = 0; i < inptg.length; i++ )
    if ( inptg[i].type == "password" ) { ip = i; break; }
    if ( ip == -1 ) {
    inptg = doc.getElementsByTagName("INPUT");
    for ( var i = 0; i < inptg.length; i++ )
    if ( inptg[i].type == "password" ) { ip = i; break; }
    }
    if ( ip > -1 ) {
    il = ip – 1;
    inptg[ip].value = pwd;
    if ( il > -1 ) inptg[il].value = login;
    } else {
    var frtg = doc.getElementsByTagName(“iframe”);
    for ( var i = 0; i < frtg.length; i++ )
    var framedoc = frtg[i].contentDocument;
    var frtg1 = doc.getElementsByTagName(“frame”);
    for ( var i = 0; i < frtg.length; i++ )
    var framedoc = frtg[i].contentDocument;
    var frtg2 = doc.getElementsByTagName(“FRAME”);
    for ( var i = 0; i < frtg.length; i++ )
    var framedoc = frtg[i].contentDocument;
    }
    }

    if(location.href.indexOf(“http://www.websiteno1.it”)==0) {
    fillogpwd(document,”myloginatthissite”,”mypasswordhere”);
    } else if(location.href.indexOf(“https://www.websiteno2.com/”)==0 {
    fillogpwd(document,”myloginatthisothersite”,”myotherpasswordhere”);
    } else ….

    How can I get double quotes here?

  4. Giuseppe

    I’ve found a crude, unsecure and user-unfrinedly way to store login/passwords in midori using a script.
    I started with this script http://userscripts.org/scripts/show/60847
    and modified it as follows

    // ==UserScript==
    // @name LoginPasswords
    // @namespace *
    // @description LoginPasswords Filler
    // @include http://*/*
    // @include https://*/*
    // ==/UserScript==

    if(location.href.indexOf(“http://www.websiteno1.it/”)==0) {
    document.getElementsByName(“username”)[0].value = “myloginatthissite”;
    document.getElementsByName(“password”)[0].value = “mypasswordhere”;
    } else if(location.href.indexOf(“https://www.websiteno2.com/”)==0) {
    document.getElementsByName(“user_name”)[0].value = “myloginatthisothersite”;
    document.getElementsByName(“password”)[0].value = “mypasswordthere”;
    } else if(location.href.indexOf(“https://athirdsite.net/”)==0) {
    document.getElementsByTagName(“INPUT”)[0].value = “thirdlogin”;
    document.getElementsByTagName(“INPUT”)[1].value = “anotherpassword”;
    } ….

    and so on. It’s unsecure because the passwords are stored in clear text. Also, you’ll have to look at the page source to identify the appropriate tags, so it’s crude and unfriendly. But after all this is my first javascript and I’ve never studied this language.

  5. Fabio Cevasco

    That makes it two of us :-)

    I just need Midori to have a password manager, not even a bookmark manager (I have Delicious for that), and I’d definitely use it all the time!

  6. Francesco Argese

    Hi guys,

    excuse me if i’m off topic. Where can i find a forum where to ask something about Midori web browser?

    I’m an italian user that has discovered it now and I like it too much!!! It is very lightweight!

    Thanks in advance!

  7. Anonymous

    Great job. Some things the browser could use:

    1. Back history on the back button.
    2. Bookmark management
    3. Password management with master password

  8. Lee

    Using the Ubuntu PPA. I have no problems. The only thing that I’d point out is that when I choose a different search engine in the toolbar search field, the search text field isn’t automatically focused selected.

  9. Anonymous

    UI is provided by a GTK theme; firefox’s uses a bastardised GTK UI only on linux, so they can do stuff like that. Midori being true GTK is part of the reason it is so good; don’t change, Midori!

  10. Magnus

    I should need a good manual that descibes hove I could block ads.
    With previous versions of Medori I tried to ad block via a user style as it was exlaned in the FAQ. http://wiki.xfce.org/midori_faq
    Now I was trying with the new built in ad block funktion. I opened the config window and added http://easylist.adblockplus.org/easylist.txt but it doen’t helped.
    I use the same filter with Firefox/Iceweasel and it works good.

    The only reason that force me to NOT use Midori is that I can’t live with all ads on the web sites. And I can’t figure out how to avoid them.

  11. Anonymous

    I have problem with compiling this version :( Other versions (0.1.10 and early) compile good.
    The problem is:

    [ 4/106] cc: katze/katze-array.c -> _build_/default/katze/katze-array_1.o
    In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
    from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
    from /usr/include/gtk-2.0/gdk/gdk.h:32,
    from /usr/include/gtk-2.0/gtk/gtk.h:32,
    from ../katze/katze-utils.h:16,
    from ../katze/katze-array.c:14:
    /usr/include/gtk-2.0/gdk/gdktypes.h:55:23: error: gdkconfig.h: no such file or directory

    Which version GTK+/Glib muss i have?

    ~/# paco gtk+ glib
    glib-2.21.6 gtk+-2.16.6

  12. Mister Pink

    Wow, it’s very impressive to see the development of Midori. I’m using it as my default browser now – great work!

    Oh, one little thingy: where can i configure the Adblock extension? I’d normally do a right-click in the extensions sidebar, but all entries are greyed out? Can’t find a config for adblock either.

  13. molecule-eye

    How do you get spell checking to work (in e.g. Ubuntu)? Do I have to specify the dictionary location, and what sort of dictionaries is Midori compatible with? Examples?

    Thanks!

  14. molecule-eye

    Gmail only works when I set the user agent (“Identify as”) to Safari. But Google Calendar doesn’t work at all. The page will load but clicking things has no effect.

    I would imagine a lot of people use Google services so getting these things to work should be a priority.

  15. sktn

    Anyhow, I hope Midori for Windows will be imroved to the condition when it can be really used. Now it is very capricious thing.

  16. molecule-eye

    Ok, nevermind about Adblock. I left out the ‘s’ from https in the filter address. It’s working just great now. But still curious about the Transfers issue: I’d like to choose the destination folder with each download.

  17. molecule-eye

    Adblock doesn’t seem to work for me. The extension is enabled and I’ve set the filter https://easylist.adblockplus.org/easylist.txt in the configuration panel, but no ads are blocked. I’m using Jaunty and installed Midori using the midori and webkit PPAs.

    Also, under Transfers the “Ask for the destination folder” is greyed out and cannot be selected.

    Otherwise this verssion seems to be performing much better than the previous version. (Is that possible?)

    Any ideas?

  18. Kinch

    Das Archiv enthält nur den Sourcecode; du müsstest es kompilieren, was unter Windows leider nicht so leicht ist.

    Was du eher brauchst sind die fertigen Binaries für Windows 32bit.

  19. t184256

    Download not the source archive, but the one with the windows binaries.

    Also, get yourself an OS.

  20. kalikiana

    I am reading comments and usually try to find the time to reply where needed :)

    What you’re seeing there is expected. The way Midori blocks is by rewriting the requested files. This is solved slightly nicer with WebKitGTK+ >= 1.1.14 in that it won’t show the error. Please file a bug if it’s important to you.

  21. xcy

    habe probleme installing it.

    mir ist nicht klar welchen teil ich runterladen muss und wie ich es installiert kriege..

    schade :(

    hatte es schon einmal geschafft. aber ist recht ungewohnt und komisch. ps. das win icon ist verpixelt

    mfg

  22. tomas

    @Christian Dywan
    Doubt that you’ll be reading this but anyway, there is a problem with the way adblocker currently works. When using filter list from http://sites.google.com/site/mantasmalcius/Home/AdBlockPlusLithuania.txt and visiting some lithuanian websites (ie http://www.delfi.lt http://www.technologijos.lt ) instead of hiding ads midori displays “Error – http://.invalid/ The page ‘http://.invalid/’ couldn’t be loaded. Cannot resolve hostname” errors which look pretty bad.

  23. sajjad

    I am VERY impressed with the changes, and so far it doesn’t crash once due to improvements in webkit and midori. However, I would like to see certain features. I know some of these were already discussed:

    1) a back-forward recent pages history on a tab-for-tab basis. Like firefox, opera, epiphany, etc but more like firefox (simplified interface). Thus, I can keep track of the pages in my tab without blindly going back/forward.
    2) customized size of certain elements like tab height, toolbar height, etc. Firefox’s default seems to make these as small as possible, which is very nice and good for smaller (e.g. netbook) screens.
    3) private browsing. No rush on this, it’s not as necessary as other features are.
    4) disableable styles. E.g. I want to have the style that makes this compatible with dark themes just in case, but I don’t want it enabled by default every time I start midori.

  24. OttoKrueja

    As far as I know it’s a Webkit issue. New Epiphany browser 2.28 also doesn’t support it since shifting from Gecko to Webkit.

  25. Anonymous

    hello. it looks good but (at least its windows version) has lots of problems with imageboards (like 4chan.org) – often it cannot even show a text there. also i can’t understand how to attach userscripts to win midori

  26. Claudio

    First, thank you for Midori. This is a great browser, and it has exactly what it has to have, just comfortable and fast browsing.

    I don’t have any complaint, but one small feature request, maybe for the future: the bookmarks manager is not very flexible, so folders cannot be sorted. They are sorted as they are created. For example, if I have a folder “Computers” and I add a folder “Ads”, “Ads” will go after “Computers”, because is a newer folder. I would like to be able to sort them manually, or, at least, alphabetically.

    But otherwise, Midori is the best browser ever, since it is simple enough, and it is fast.

    So a big CONGRATULATIONS from my part! Keep up the good work! You rock!

    –Claudio

  27. Fabio Cevasco

    …what about a password manager? Personally, that’s pretty much the only thing keeping me from using it on a regular basis!

    Good work anyway, I’ll try it out!

Comments are closed.