Opera Hack: Hacking, Mining, and Modifying the Favicons

I'm sure many of you have noticed as you click from web site to web site that some of them have a bit more identity then others. Like my site for instance has a greek key as the logo or Googles new multi-color g. Opera holds all of these icons in a special area so it doesn't have to spend time downloading it later. What does this mean for us? Well it means we are normally holding anywhere from a few hundred to a few hundred thousand icons. Icons that we can change or use in other websites or to change the icon of a shortcut we have on our computer. Let's get started.
First we need to find this cache of icons. For a windows machine they are located in "C:\Program Files\Opera\profile\images" or "C:\Documents and Settings\{user name}\Application Data\Opera\Opera\profile\images". With that out of the way we can now get creative. One thing that is for sure is that this stuff can be used as a kind of history of were you have been. So the easy first option is to delete the contents of the images folder. I only removed icons I have not opened for the last two months. The second option is to mine the icons and use them in other places. For a windows machine this could also mean you first have to convert the image into an icon file. I like using Icon Sushi. It's simple and it can create a high res icons with transparency and alpha channels. The final action we can take with these icons is modifying them. What I mean to say is change the icon the site uses for something else. I use it for some of the search bar icons and also the bookmarks. to do this we have to know a few things first, so let's get to it.
As you are looking through the images folder you should see that it will contain JPEG, PNG, GIF, and ICO files. These of course are the actual favicons that the websites use. It's also important to see that each area of the site you go to will have it's own copy of the favicon. This was done so Opera could quickly and easily find and load the icon needed without a cumbersome database. The folder will also hold however, an IDX file that will be named with the websites address and will hold The HTTP URL of the page as well as the HTTP URL of the icon file. This IDX file will get updated each time you access the web page so first thing we need to do is stop Opera from getting this update. Type in a new Tab "opera:config". Then type in the search box for the Preferences Editor "fav". You should now see the option Always load favicon under Multimedia. Changing the number to 0 will stop Opera from loading the icons at all. A setting of 1 will always download the icons. Lastly a setting of 2 will only use the icons saved in the images folder. So we change the setting to 2 and save the preferences. The last thing you need to do is change the IDX and the icon file to be what you would like instead. Hope you enjoy the hack and if you have anything to add please do so in the comments area. For more info on the opera config settings look here


  1. Any input or questions would be appreciated. How helpful is this blog post for you?

  2. sir how would i change the toolbar icon it shows an opera icon when its on the task bar =)) thanks in advance

  3. The task bar icon can not be changed very easily. The OPERA.EXE file that holds the icon is encrypted so it makes the endeavor pointless.


Post a Comment