Re: Disable Open On New Tabs Feature
- From: Michael Catanzaro <mcatanzaro igalia com>
- To: rasika perera <info rasika gmail com>
- Cc: epiphany-list gnome org
- Subject: Re: Disable Open On New Tabs Feature
- Date: Mon, 06 Apr 2015 08:51:20 -0500
On Mon, 2015-04-06 at 11:26 +0530, rasika perera wrote:
Hi all,
I am using epiphany webbrowser in my Raspberry Pi project. According
to the requirement I need to open a link on the same tab using
python webbrowser module. But each time i get a new tab.
import webbrowser
import time
b = webbroser.get('epiphany')
b.open(' http://www.google.com',new=0)
time.sleep(5)
b.open(' https://stackoverflow.com',new=0)
Any way to resolve this? I need to open urls on the same tab. AFAIU
Python module cannot change the default behaviour of the webbrowser.
Is there any way I can disable open on new tabs on epiphany browser?
Hi,
There is currently no way to get the behavior you want from the
command line, sorry. You can open a URL in a new window or in a new
tab, but not in an existing tab.
I'd be surprised if that's possible with most browsers, TBH. How would
the browser know which window and tab to replace?
Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]