Achim's Mozilla Extensions » 10 Years «
 
 
 About
 Introduction 
 Contributors 
 Press 
 Links 
 ToDo 
 Sitemap 

 Thunderbird
 Signature Switch 
     » Screenshots 
     » Download 
     » FAQ 
 NestedQuote Remover 
     » Screenshots 
     » Download 
 NewMail Execute 
     » Screenshots 
     » Download 

 Firefox
 Save Link in Folder 
     » Screenshots 
     » Download 
     » FAQ 
 Save Image in Folder 
     » Screenshots 
     » Download 
     » FAQ 

 Contact
 eMail 


Developed withThe best Java IDE
 
Linux Mint
 
 
Signature Switch   Signature Switch - "Fortune Cookie File"

This is how a "Fortune Cookie File" with different signatures should look like:


In the space of one hundred and seventy-six years the Mississippi has
shortened itself two hundred and forty-two miles. Therefore ... in the
Old Silurian Period the Mississippi River was upward of one million
three hundred thousand miles long ... seven hundred and forty-two years
from now the Mississippi will be only a mile and three-quarters long.
... There is something fascinating about science. One gets such
wholesome returns of conjecture out of such a trifling investment of
fact.

    -- Mark Twain
%
In the Top 40, half the songs are secret messages to the teen world to
drop out, turn on, and groove with the chemicals and light shows at
discotheques.

    -- Art Linkletter
%
In those days he was wiser than he is now -- he used to frequently take
my advice.

    -- Winston Churchill

Note: The first and last line shouldn't contain the %-separator-char.

A nice fortune-cookie program plus some data-files can be found here: Fortune4All, Fortune data



Another hint for people that want to use HTML-formatted-signatures in a fortune-cookie-file:
Make sure you don't put any <br>'s (or any other tags, etc.) before or after the %-character!

To achieve HTML-compliant line-breaks in your fc-file, create something like this:


line1 of sig1<br>
line2 of sig1<br>
line3 of sig1
%
line1 of sig2<br>
line2 of sig2<br>
line3 of sig2
%
line1 of sig3<br>
line2 of sig3<br>
line3 of sig3
...
   or   

<pre>
line1 of sig1
line2 of sig1
line3 of sig1
</pre>
%
<pre>
line1 of sig2
line2 of sig2
line3 of sig2
</pre>
%
<pre>
line1 of sig3
line2 of sig3
line3 of sig3
</pre>
...



Now... to get you even more confused... there's another "specialty" you can use on fortune-cookie-files. ;-)

Let's assume you want to have a random fortune-cookie picked each time, but additionally you want to have a "fixed part" before it; then this is how to do it:


Achim Seufert
Website: http://mozext.achimonline.de
$
Fortune-Cookie #1
%
Fortune-Cookie #2
%
Fortune-Cookie #3

Everything above the $-line will be treated as your "fixed part"; below follows the usual fc-file.