Code

Changes between Version 2 and Version 3 of GreasemonkeyScriptForSmallTitles


Ignore:
Timestamp:
11/01/06 13:55:25 (8 years ago)
Author:
john.dagostino@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GreasemonkeyScriptForSmallTitles

    v2 v3  
     1== Django Greasemonkey Script == 
     2 
    13When working on a django app, I generally keep a dedicated browser window up with multiple tabs resident on various pages within the django documentation, along with a tab or two on the various ticket reports. The default title on these pages has ''Django | Documentation | '' as a prefix which is enough to overflow the available title width I allocate per tab. The attached [http://greasemonkey.mozdev.org/ Greasemonkey] script will shortten the browser title by basing the title off the URL components following /documentation/  On all other pages outside the doc hierarchy, it simple strips off the generic prefix of ''Django | '' to yield titles like ''Code | New Ticket'' or ''Code | ExampleApps''. 
    24