At the end of this (https://developer.mozilla.org/en/FUEL/BrowserTab) page there's a code sample, showing how to open a page and modifing it's contents.
I did this simple PoC showing how we could do this kind of thing: http://gist.github.com/21530 On Sat, Nov 1, 2008 at 4:22 AM, Blair McBride <[EMAIL PROTECTED]> wrote: > > That's a great idea - I've added a comment to the ticket I mentioned, > suggesting this course of action. See > http://labs.toolness.com/trac/ticket/390#comment:1 > > This of course means that you'll have to wait until 0.1.3 if you wish to > use that method. > > Another way would be to host a skeleton HTML file on a website > somewhere, open a tab for that, wait for it to load, then make > alterations. But of course, you'd have to do all that manually. 0.1.3 > should have an API function to do all that stuff for you. > > > - Blair > > > > > On 1/11/2008 3:23 AM, yadnem wrote: > > > > actually, one more quick reply. is it possible to put a > > "blank_canvas.html" somewhere inside the ubiquity plugin ? then at > > least there is the option to pull an expected-to-be-there starting- > > point document ... until something else comes along. would that > > work ? > > > > Roger > > > > On Oct 31, 1:22 pm, yadnem<[EMAIL PROTECTED]> wrote: > >> On Oct 31, 5:42 am, Blair McBride<[EMAIL PROTECTED]> wrote: > >> > >>> Sounds likehttp://labs.toolness.com/trac/ticket/390 > >> it does !! exactly my requirements too. > >> > >>> I saw that a couple of days ago, and I still haven't figured out a > >>> robust and easy way of doing it. Its certainly something that Ubiquity > >>> doesn't yet cater for. > >>> I suppose opening about:blank may work, but you'd need to only alter > the > >>> page once the "load" event is fired. I haven't checked this, but that > >>> may mean you won't be able to go through FUEL (ie, > >>> Application.activeWindow.activeTab). > >> i tried about:blank but could'nt get it to work. > >> I suppose I could just grab a 'empty' page from the internet, and then > >> write new content to it. > >> > >> but, then the URL looks confusing for a user ... > >> > >>> I'll have a think on this, and post anything I come up with. > >> that's great. Thanks. > >> > >> Roger > >> > >>> - Blair > >>> On 30/10/2008 9:47 AM, yadnem wrote: > >>>> Hello, > >>>> First, would like to say that ubiquity is a really interesting > >>>> development > >>>> ... looking forward to seeing how it develops further. > >>>> I have a question : I want to open a new (empty) tab and write some > >>>> stuff into it as the result of the command execution. Does someone > >>>> have some example which does this they could kindly share ? I tried a > >>>> number of ways to achieve this, and I looked for an existing command > >>>> as an example, but so, far I didn't crack it. > >>>> Thanks, > >>>> Roger > >> > > > > > > > -- Fernando "Takai" http://flickr.com/photos/supeertakai http://fernandotakai.wordpress.com http://fernandotakai.jaiku.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
