[Project_owners] Redirect to a web page after installing and extension
Shivanand Sharma / Varun
varun21 at gmail.com
Tue Aug 12 02:01:07 PDT 2008
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
<silver.surfer444 at gmail.com>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 <
> varun21 at gmail.com> wrote:
>
>> Hi,
>>
>> take a look at firefox showcase extension.
>>
>> re,
>>
>> On Tue, Aug 12, 2008 at 11:55 AM, Silver Surfer <
>> silver.surfer444 at gmail.com> 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
>>> Project_owners at mozdev.org
>>> https://www.mozdev.org/mailman/listinfo/project_owners
>>>
>>>
>>
>>
>> --
>> Cheers!
>> Shivanand Sharma
>> Editor: http://binaryturf.com
>> Technology, Design, Monetization
>>
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners at mozdev.org
>> https://www.mozdev.org/mailman/listinfo/project_owners
>>
>>
>
>
> --
> ~Silver Surfer~
> Surfing through time & space
> http://risingofsilversurfer.blogspot.com/
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
--
Cheers!
Shivanand Sharma
Editor: http://binaryturf.com
Technology, Design, Monetization
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20080812/45e516aa/attachment.html>
More information about the Project_owners
mailing list