Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34611

Re: open URL in the current tab

References <CAOuJsM=ch3T=L3+7rQ=sg5t_LmA5v_nXJLYYTw7ySD30Vmx+qA@mail.gmail.com> <CAPTjJmp3Hpw9_FW9h2S9ga3bZU4FeULUFUeyWKuOgT8FeRLuxg@mail.gmail.com> <CAOuJsMk6kqH59jK5EjzB=Q9q1OTi9Obn=TE4Y+6AGkYfCfLj7A@mail.gmail.com> <CAPTjJmrzOc_OcNK3ZGynU7kfuq=Wna9jotwb7F0EEk-JSthy7Q@mail.gmail.com>
From Jabba Laci <jabba.laci@gmail.com>
Date 2012-12-11 11:58 +0100
Subject Re: open URL in the current tab
Newsgroups comp.lang.python
Message-ID <mailman.720.1355223554.29569.python-list@python.org> (permalink)

Show all headers | View raw


Dear All,

If someone is interested, I've made a module out of it. Available here:

https://github.com/jabbalaci/jabbapylib/blob/master/jabbapylib/browser/firefox.py

It seems you can program your Firefox instance from your script as you
want through this add-on. I will explore the possibilities in the
future.

Best,

Laszlo

On Tue, Dec 11, 2012 at 1:16 AM, Chris Angelico <rosuav@gmail.com> wrote:
> On Tue, Dec 11, 2012 at 11:05 AM, Jabba Laci <jabba.laci@gmail.com> wrote:
>> Hi,
>>
>>> If this is for use on somebody else's system, *please don't*. My
>>
>> This is for me. I have a simple GUI that produces some URL that I want
>> to open in the current tab. Since I want to verify several URLs, I
>> don't want to open dozens of new tabs.
>>
>> Here is my working solution. It requires the MozRepl Firefox add-on
>> that I mentioned in the previous message.
>
> Looks good! Since it's your own single system, the add-on requirement
> isn't too onerous (but even if it's an all-mine system, I'd hesitate
> to deploy an add-on to more than a handful of computers).
>
> Specific problem, specific solution. I like it.
>
> ChrisA
> --
> http://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: open URL in the current tab Jabba Laci <jabba.laci@gmail.com> - 2012-12-11 11:58 +0100

csiph-web