Path: csiph.com!usenet.pasdenom.info!aioe.org!rt.uk.eu.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.078 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'url:github': 0.09; 'cc:addr:python-list': 0.10; 'gui': 0.11; '(but': 0.15; 'dec': 0.15; 'subject:URL': 0.16; 'url:py': 0.16; 'wrote:': 0.17; 'instance': 0.17; 'solution.': 0.18; '>>>': 0.18; 'module': 0.19; 'all,': 0.21; 'received:209.85.214.174': 0.21; 'produces': 0.22; "i'd": 0.22; 'cc:2**0': 0.23; 'somebody': 0.23; "i've": 0.23; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'chris': 0.28; 'deploy': 0.29; 'handful': 0.29; 'url:mailman': 0.29; 'system,': 0.32; 'url:python': 0.32; 'url:listinfo': 0.32; 'message.': 0.33; '11,': 0.33; 'hi,': 0.33; 'received:google.com': 0.34; 'problem,': 0.35; 'open': 0.35; 'received:209.85': 0.35; 'url:org': 0.36; 'too': 0.36; 'best,': 0.37; 'previous': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'several': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'url:mail': 0.40; 'your': 0.60; 'here:': 0.62; 'future.': 0.62; 'mentioned': 0.63; 'more': 0.63; 'here': 0.65; 'dear': 0.66; 'hesitate': 0.66; '*please': 0.71; 'add-on': 0.84; 'add-on.': 0.84; "else's": 0.84; 'good!': 0.84; 'url:master': 0.84; 'dozens': 0.91; 'urls,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FFKT3d5mC+WNT3iW8L0XQh8pNk861G3ltgFDPBFyJl4=; b=va5miGfkxKjiNppnPHesRnmktl+SO3Tiv9xm+gbNWtesbxR3c8ljGHmwEX/9IWerpS tRzz3+XFR1KvXUPJOgj2s8+jUupXKpA+SIHTDMX0JlRE21jWsBl0njnCOoqEVNzFRYqm QxFGnfotgNrRiOegWn1BAr16ZlbTieOSk+9R5To2HGoz3iz/JKzTCgLUSXbdvqO892ws TuITHP6UR1FDmVb/Uzcms4XyUe6l4nwWkkzzznMvvGM7m6sNBfTZhJFN2y2pd3XNEEya ewJSiO5BgWGEuTZ9LoFZgGhKqgpXxsijhJ+ICH1EVLpJ3EWt3hCiAkJA0fIBsIT7LiIc H64Q== MIME-Version: 1.0 In-Reply-To: References: From: Jabba Laci Date: Tue, 11 Dec 2012 11:58:44 +0100 Subject: Re: open URL in the current tab To: Chris Angelico Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355223554 news.xs4all.nl 6851 [2001:888:2000:d::a6]:49699 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34611 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 wrote: > On Tue, Dec 11, 2012 at 11:05 AM, Jabba Laci 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