On Tue, Dec 28, 2010 at 01:18:39PM -0600, Benjamin Slade wrote: > > > On 28 December 2010 09:09, John J. Foerch <[email protected]> wrote: > > > > Try this. It requires the very newest development version of conkeror, so > you should update from git before trying it. > > http://retroj.net/git/conkerorrc/favicon.js > > Working with gui parts of conkeror such as the mode-line is still delicate > and error-prone, so let me know if any problems arise. > > -- > John Foerch > > > > Many thanks, John. > > Here are the problems I've found: > > (1) The icons appear "squished". > (a) Changing the width and height to "17" rather than "16" seems to help. > But: > (b) The icons for some sites still appear a bit odd (like the Wikipedia > icon) > > (2) When a new buffer is opened, the icon doesn't appear. I have to change to > another buffer and then back to see the icon. Likewise, when opening with C-x > C-v the icon of the previous site remains until I change to another buffer and > then back. > > (3) For certain sites which appear to call favicons in their html script (or > their own javascript?), problems arise. For instance, when loading http:// > www.omgubuntu.co.uk, the proper icon initially appears, but then changes to > the > Facebook icon when the page finishes loading. > > > A general question: how to implement these sorts of scripts? I saved your > code > as "modeline-favicon.js" and placed it in "/usr/share/conkeror/modules" and > then added "require("modeline-favicon.js");" to my .conkerorrc. (And I found > that the order of these does matter, so I placed it before "add_hook > ("mode_line_hook", mode_line_adder(buffer_count_widget), true);"). > > Is this the right way of doing this? >
Last question first: Your ~/.conkerorrc can be a directory instead of a file, and all *.js files in that directory will be loaded at startup automatically. This feature will become part of the program once the bugs are ironed out. Thanks for the detailed problem reports. I'll look into these. -- John Foerch _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
