Hi,

sorry, I learnt most of the stuff cutting and pasting code (and
unfortunately most of the time that's how things work :)


   - You'll have to set a boolean preference to know whether you have
   already opened this runonce URL or not. Initially set it to false
   - You need to add an event listener to window.open (or possibly after the
   session has been restored) to run this function that opens the URL
   - Finally in this function you set the preference to true else you'll end
   up triggering the runonce routine everytime firefox starts.

Sorry I don't have code. Because the best place to find it is at
http://developer.mozilla.org

re,


On Tue, Aug 12, 2008 at 2:25 PM, Silver Surfer
<[EMAIL PROTECTED]>wrote:

> I would be pleased if you can give some code snippets or any method to do
> that. It is little hard to find the place where FF Showcase do the
> redirecting in first time use.
>
> thx & rgrds,
> SS
>
> On Tue, Aug 12, 2008 at 11:57 AM, Shivanand Sharma / Varun <
> [EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> take a look at firefox showcase extension.
>>
>> re,
>>
>>   On Tue, Aug 12, 2008 at 11:55 AM, Silver Surfer <
>> [EMAIL PROTECTED]> wrote:
>>
>>>   Hi Friends,
>>> When an extension installed to FF browser and in the next time the
>>> browser start, how can I set to load a predefined page to the browser?
>>> thanks & regards,
>>> --
>>> ~Silver Surfer~
>>> Surfing through time & space
>>> http://risingofsilversurfer.blogspot.com/
>>>
>>> _______________________________________________
>>> Project_owners mailing list
>>> [email protected]
>>> https://www.mozdev.org/mailman/listinfo/project_owners
>>>
>>>
>>
>>
>> --
>> Cheers!
>> Shivanand Sharma
>> Editor: http://binaryturf.com
>> Technology, Design, Monetization
>>
>> _______________________________________________
>> Project_owners mailing list
>> [email protected]
>> https://www.mozdev.org/mailman/listinfo/project_owners
>>
>>
>
>
> --
> ~Silver Surfer~
> Surfing through time & space
> http://risingofsilversurfer.blogspot.com/
>
> _______________________________________________
> Project_owners mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>


-- 
Cheers!
Shivanand Sharma
Editor: http://binaryturf.com
Technology, Design, Monetization
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to