"Neil M." <[EMAIL PROTECTED]> wrote in news:3C8509F5.6070809
@sympatico.ca:
> Chris Newman wrote:
>> Hiya,
>> Mozilla is absolutely superb. Anyone think that having a feature
>> where you can select multiple home pages would be a good idea ? I'd
>> like Mozilla to rotate on a new browser through a list of home pages,
>> eg. news.com, oreillynet.com, mozilla.org, java.sun.com etc. etc.
>> rather than just always being stuck with one home page all the time.
>
> Couldn't you just put a line of javascript in there to pick a random
> number between 1 and n and then depending on the number display a
> different page?
>
> Bah, I'll just program it here...
>
> javascript:a = Math.round(Math.random() * 3);if (a == 1) {
> document.location="http://www.mozillanews.org";} else if (a == 2) {
> document.location="http://mozilla.org";} else {
> document.location="http://www.mozillazine.org";}
>
> Testing.... yeah it works.
Interesting. How would one go about putting such a script in one's Home
location in Mozilla?