I am writing this guide since Midori is the default browser in Slitaz 3. Your first thought may be to install Firefox and not giving Midori a try because it lacks features. I thought it lacked features or Addon's also until I dug around some. If you want to know the history of Midori visit it's Wiki page: Midori Wiki
Things that I will cover:
Ad Blocking Custom Search Engines Flash Blocking UserScripts Shortcuts
Upon opening Midori click on the “Tools Menu”, Go down to “Extensions” and click on it. This should open up a “panel” that displays boxes that you can check to enable different Extensions or Options. Check only the boxes you wish to enable. I would enable “Statusbar Features” and “Toolbar Editor” right now. Everything involving those two should be self explantory. So no need for a “HowTo”. I would tell you what other things to enable right now, but if someone adds to this wiki then this paragraph would need to be edited. So if anything needs to be enabled it will be mention it as it go along.
In extensions enable: Advertisement blocker
Most people like ad blocking that FireFox has through an extension called Adblock Plus(ABP). Well Midori has an adblocker that uses the well known “easylist” from ABP. Now that you have it enabled we need to edit it. Click on the “Tools Menu”, now click on “Configure Advertisement filters”. This should now open a box looking like this:
From the picture you can see that adding a ruleset is pretty self explanatory. As an example click on Add, then insert this url:
http://easylist-downloads.adblockplus.org/easyprivacy.txt
That is what it should now look like. Now to block a single image just right click the image on the page you want to block. Go down to Block Image and click Add. Now that image is blocked.
No extension needs to be enabled for this feature.
This is one of my favorite things in any browser. I use this for other things then just search engines. I will share that later. Click on the “Tools Menu”, then click on “Manage Search Engines”. Just like Ad blocking you should get a box to pop up that looks like this:
Since I don't really use anything else but google I am just going to add Yahoo! as an example of how to add it and use it. Click add and fill it in to look like this:
Once that is done go up to the URL bar in midori and type: “y slitaz linux” without the quotes. Example:y slitax linux. After pressing Enter you should now see the yahoo search results for slitaz. Yahoo Results Typing “g slitaz” again without the quotes would give you the google results for SliTaz.
Here is what I use it for besides search engines. In Opera when you bookmark something you can make a nickname for the site. I have the letters: fs for http://forum.slitaz.org. So I just type “fs” without the quotes in the urlbar to go to SliTaz's forum. Now I don't see this feature in Midori so I just make a custom search engine like I did for Yahoo!. I am not really adding a search just using it as a shortcut. I think for the pictures I added that it is self explanatory how to add any site you want to make a shortcut for.
For all you twitter users or people that like shortened urls. Add this to custom searches:
http://is.gd/create.php?longurl=
I give mine the Token letter “u”. When I have a big url I want to shorten, I go to the URL bar, go to the left of the “http” in the url, then I type “u”. Then press space then enter it takes me to that site and shortens the url. Example:Shortening URL Result:Shortened URL
For those who hate using the mouse like me and want to shorten url's you can do the same thing above like this:
Ctrl-L, Left Arrow key, type u, spacebar, then enter
If you have javascript enabled then the shortened url should already be highlighted. So a quick Ctrl-c should copy it for you.
To flashblock you need to use a userscript. UserScripts are just custom javascripts to do a range of things. I will cover other UserScripts later in this wiki but flashblock is more then likely gonna be the only one anyone will use.
First we need to make a folder if you don't already have it:
/home/tux/.local/share/midori/scripts
“tux” is just used as an example. If you have a different user name then change accordingly.
These pictures are kind of big so I am just linking to them. Example before FlashBlock: Flash Blocked
Now go to: Flashblock Wannabe . Download FlashBlock.user.js.txt (remove the .txt extension) to the folder we just created. Go to the Tools Menu, and click on UserScripts. You should now see “FlashBlock Wannabe” Make sure there is a checkmark next to it. Sometimes the UserScripts show up right away and other times they don't so I just restart Midori to view the UserScripts. So if it isn't showing then just restart Midori. Now you should have flash blocked unless you click on it like the flashblocker addon for FireFox. It should look like this:
If you already did the Flashblocking part then this should be as easy as downloading them and putting them in the correct folder. No big HowTo here I will just show you some examples of the ones I use and what they do.
Linkify: If you have ever been to a site or forum and someone posted a link that is just text and not clickable then this is for you. It makes all “http” links clickable. It saves you from highlighting and copying and pasting links to a url bar.
Google Image Redirector: If you ever google search for images and click on an image you will notice that it take you to the page but the tiny image is in a frame. This userscript takes you directly to the actual image. Saves you a couple clicks of the mouse.
Google Show Options: Last year google added advanced search options in results. You could click on the “Show Options” and it would list them. This bypasses clicking on it and it shows it right away without have to click it.
Just Show Images: If you have ever clicked on a link from a forum or anything to certain image hosting sites you would notice all the ads. This UserScript just shows the picture you want and little else.
Easy YouTube Downloader: If you would like to download the video from YouTube without going to a seperate site, you can use this script. It adds a download option for multiple video formats on the screen.
In extensions enable: shortcuts
I try to use the mouse as little as possible. So shortcuts come in handy. Here is how to view and/or edit them to your taste. Open up the “Tools Menu” go down to and click on “Customize Shortcuts.” You will get a popup that looks like this:
In the picture you will see an action along with an assigned “shortcut”. Some show an action but are disabled. I will show you how to change a “shortcut” or to enabled one that is disabled. To assign a “shortcut” click on what you would like to change to highlight. Now go to the right and click the mouse where the “shortcut” or word “disabled” is and click. It should change the text to “New accelerator…” Now all you have to do is press a combination of keys you would like to make up your shortcut. Popular choices to start your shortcut with are any of these:
Control, Alt, or either Winkeys
Winkeys will be either “Super L” or “Super R” depending on which you press. Not every keyboard has a “Winkey” or only has just one. I prefer to use the F1 to F12 keys. Here is an example of some of my shortcuts:
Show/Hide Sidepanel F2 Show/Hide Bookmarkbar F3 Show/Hide Menubar F4 Refresh F5 Preferences F7 Focus Current Tab F9 Full Screen F11 Bookmarks Ctrl+B Add Bookmarks Ctrl+D Homepage Ctrl+H Highlight URLbar Ctrl+L Close Tab Ctrl+W Next Tab Ctrl+Page Down Previous Tab Ctrl+Page Up
Just wanted to add that if you want to “disable” a shortcut. Pressing Backspace in “New accelarator…” will disable it.
Page Review Section | |
---|---|
Quality | Good |
Review | Minor Updates |
Priority | Medium |
Problems | add a forum post link |
OR add a lab issue tracker link | |
How to Improve | Suggest briefly |