On 18/09/2007, Justin Lilly <[EMAIL PROTECTED]> wrote:
>
> I personally would also like a favicon for the django sites. I took the
> liberty of creating one using django's colors and fonts (stole the d from
> the logo).
>
> http://www.flickr.com/photos/[EMAIL PROTECTED]/1397125183/
I created something very similar for my own use, which combined with a
greasemonkey script to trim the page titles of the documentation ("Django |
Formfields & Manipulators | Django Documentation" -> "Formfields &
Manipulators") makes it a lot easier for me to navigate django docs in
Firefox. (the script is below if anyone is interested.)
My take: If someone has prepared a reasonable icon, why *not* use it?
Rob :)
// ==UserScript==
// @name Django Documentation TabMaster
// @namespace http://onetrackmind.co.nz/greasemonkey_scripts
// @description Simplify the Django documentation page titles so they can
be seen more easily in Tabs
// @include http://www.djangoproject.com/documentation/*
// ==/UserScript==
// Normally page titles are like this: "Django | Formfields & Manipulators |
Django Documentation"
// We change it to be just the Page title and then add an icon to
distinguish it from other tabs
// change the title
var title_parts = document.title.split(' | ');
if (title_parts.length == 3) {
document.title = title_parts[1]
}
// set the favicon
var icon = document.createElement("link");
icon.rel = "shortcut icon";
icon.href = "/path/to/django_favicon.png";
icon.type = "image/png";
document.documentElement.firstChild.appendChild(icon);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---