Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Nuclear war would really set back cable." -- Ted Turner


computers / comp.mobile.android / How to refresh Android Firefox via http... or to restart Firefox app?

SubjectAuthor
* How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
+- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
+- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
`* Re: How to refresh Android Firefox via http... or to restart Firefox app?VanguardLH
 `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
  +- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
  `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Theo
   `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
    `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
     +- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
     +- Re: How to refresh Android Firefox via http... or to restart Firefox app?Theo
     `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
      `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
       +* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
       |`- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
       `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
        +* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
        |`* Re: How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
        | `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
        |  `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
        |   `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
        |    `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
        |     `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Wendelin Uez
        |      `* Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
        |       `- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal
        `- Re: How to refresh Android Firefox via http... or to restart Firefox app?Dave Royal

Pages:12
How to refresh Android Firefox via http... or to restart Firefox app?

<urq5k3$li4i$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50315&group=comp.mobile.android#50315

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Thu, 29 Feb 2024 15:50:27 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <urq5k3$li4i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Feb 2024 14:50:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fda5fc06cccf5e98b98fb5f967d22abd";
logging-data="706706"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ltjx4rvSO8M3wvpqkOqzz"
Cancel-Lock: sha1:25KStmYvSYsxEcuMHV7xdiajASc=
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
 by: Wendelin Uez - Thu, 29 Feb 2024 14:50 UTC

I make my smartphone Firefox app running a command like http://URL?something
via touching a homescreen icon. This will start the Firefox app, open a new
tab, calling URL and transmitting <something> just as wanted.

But if Firefox has already started and a tab has already been opend with
this URL then the app only switches to this tab but does not send
<something> again. But I would like to force sending the command also if the
tab is already opened.

Is there a setting available or a http command to open an additional tab, or
to close or refresh the existing one, using something like http:URL?......,
or even to close the browser completely by a http command?

What I want to do is to control a WLAN wall socket switching to ON or OFF
mode using two icons on my Android smartphone device, one with
http://<IP-No>?.....ON and http://<IP-No>?.....OFF .This works very fine if
the URL is not already opened. So I need an addtional command to close an
opened tab, in worst case to close an opened Firefox app by touching a third
homescreen icon.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urqcgi$n176$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50316&group=comp.mobile.android#50316

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Thu, 29 Feb 2024 16:48:16 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 36
Message-ID: <urqcgi$n176$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Feb 2024 16:48:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="190cd53449ec48e67a70be6fa3473acc";
logging-data="754918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/z7xJi9QX3Sa5b49NcGy6"
Cancel-Lock: sha1:0WhiYwIhfbke7zGmBo9b9paxsFA=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Thu, 29 Feb 2024 16:48 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> I make my smartphone Firefox app running a command like http://URL?something
> via touching a homescreen icon. This will start the Firefox app, open a new
> tab, calling URL and transmitting <something> just as wanted.
>
> But if Firefox has already started and a tab has already been opend with
> this URL then the app only switches to this tab but does not send
> <something> again. But I would like to force sending the command also if the
> tab is already opened.
>
> Is there a setting available or a http command to open an additional tab, or
> to close or refresh the existing one, using something like http:URL?......,
> or even to close the browser completely by a http command?
>
>
> What I want to do is to control a WLAN wall socket switching to ON or OFF
> mode using two icons on my Android smartphone device, one with
> http://<IP-No>?.....ON and http://<IP-No>?.....OFF .This works very fine if
> the URL is not already opened. So I need an addtional command to close an
> opened tab, in worst case to close an opened Firefox app by touching a third
> homescreen icon.

Not what you asked, but:

In my router (a UK BT Home Hub) I can give names to devices. For example, my RPi which is at 192.168.1.12 is called 'pi'. It has a webserver which I can call with http://pi - which is simpler than http://192.168.1.12

The router is acting as a local DNS. I don't know if this is
common. I don't know if my previous routers could do it - I
discovered it by accident.

If your router can do that, try using the two alternative URLs for
on and off. Firefox on Android opens different tabs for
them.
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urqr94$q689$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50319&group=comp.mobile.android#50319

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Thu, 29 Feb 2024 21:00:18 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 39
Message-ID: <urqr94$q689$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Feb 2024 21:00:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="190cd53449ec48e67a70be6fa3473acc";
logging-data="858377"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6EtInwfyhpLa9O2+UpDY+"
Cancel-Lock: sha1:jYHOyvXs0XRv9HUKSTdFtucLbio=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Thu, 29 Feb 2024 21:00 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> I make my smartphone Firefox app running a command like http://URL?something
> via touching a homescreen icon. This will start the Firefox app, open a new
> tab, calling URL and transmitting <something> just as wanted.
>
> But if Firefox has already started and a tab has already been opend with
> this URL then the app only switches to this tab but does not send
> <something> again. But I would like to force sending the command also if the
> tab is already opened.
>
> Is there a setting available or a http command to open an additional tab, or
> to close or refresh the existing one, using something like http:URL?......,
> or even to close the browser completely by a http command?
>
>
> What I want to do is to control a WLAN wall socket switching to ON or OFF
> mode using two icons on my Android smartphone device, one with
> http://<IP-No>?.....ON and http://<IP-No>?.....OFF .This works very fine if
> the URL is not already opened. So I need an addtional command to close an
> opened tab, in worst case to close an opened Firefox app by touching a third
> homescreen icon.

AFAICT the query string is part of the URL so I don't think it
should behave as you describe. I did a test - Firefox on Android
123.0

I called http://192.168.1.12/?a=x
(Welcome to nginx it replied.)
I saved that URL on the home screen.
I then did the same with http://192.168.1.12/?a=y
I close both tabs.
I tap the 'a=x' one - it opens.
I tap the 'a=y' one - it opens a second tab.

In what way does your URL - including the query string -
fundamentally differ from that test?
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<ljt6vw1qqcgg.dlg@v.nguard.lh>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50320&group=comp.mobile.android#50320

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: V...@nguard.LH (VanguardLH)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Thu, 29 Feb 2024 17:20:55 -0600
Organization: Usenet Elder
Lines: 33
Sender: V@nguard.LH
Message-ID: <ljt6vw1qqcgg.dlg@v.nguard.lh>
References: <urq5k3$li4i$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net wnA4sc7OIOda+knY8fC6EQdwaJlLgtWAW1ik6Lx3ilpzG3MuI0
Keywords: VanguardLH,VLH
Cancel-Lock: sha1:YoYNV8oM7TJZNpSZBWpjNFjlRcc= sha256:DRB1RYGrwHpzyFk7kyG6uo7aEAytoaHAnleljyNIELM=
User-Agent: 40tude_Dialog/2.0.15.41
 by: VanguardLH - Thu, 29 Feb 2024 23:20 UTC

Wendelin Uez <wuez@online.de> wrote:

> I make my smartphone Firefox app running a command like
> http://URL?something via touching a homescreen icon. This will start
> the Firefox app, open a new tab, calling URL and transmitting
> <something> just as wanted.
>
> But if Firefox has already started and a tab has already been opend
> with this URL then the app only switches to this tab but does not
> send <something> again. But I would like to force sending the command
> also if the tab is already opened.

That's reusing an existing web session. Does the shortcut let you
specify to open a private instance (incognito) of Firefox? Each private
session gets its own separate session ID. It's how, for example, you
could be logged into a web site, but want another instance of Firefox to
login again, and keep both web sessions active and separate. With
desktop Firefox, you can use the -private command-line arg to open a new
private window for Firefox. You can also use -private-window and
-private-windows <URL>.

While there are command-line args you can specify for loading Firefox on
a desktop (Windows or Linux), Firefox Android is really a different web
browser, and Android apps are often far less robust or more crippled
than their desktop cousins. I've not created shortcuts to load any app
other than the shortcuts the app installers created, so I don't know
what you can tailor in the shortcut.

https://wiki.mozilla.org/Firefox/CommandLineOptions
(no mention of Android or iOS when using mobile Firefox)

Maybe some or all of the desktop Firefox command-line options are
available for the mobile Firefox.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urs27j$14p2q$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50331&group=comp.mobile.android#50331

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Fri, 1 Mar 2024 08:05:05 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 45
Message-ID: <urs27j$14p2q$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Mar 2024 08:05:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6050d0bba93e3ed59f1413470e5f4af0";
logging-data="1205338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hhgPyWTb9bHi8ZavYJ6CV"
Cancel-Lock: sha1:KXFFthD6FEyJxe2hPzbbeuZCeNo=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Fri, 1 Mar 2024 08:05 UTC

VanguardLH <V@nguard.LH> Wrote in message:

> Wendelin Uez <wuez@online.de> wrote:
>
>> I make my smartphone Firefox app running a command like
>> http://URL?something via touching a homescreen icon. This will start
>> the Firefox app, open a new tab, calling URL and transmitting
>> <something> just as wanted.
>>
>> But if Firefox has already started and a tab has already been opend
>> with this URL then the app only switches to this tab but does not
>> send <something> again. But I would like to force sending the command
>> also if the tab is already opened.
>
> That's reusing an existing web session. Does the shortcut let you
> specify to open a private instance (incognito) of Firefox? Each private
> session gets its own separate session ID. It's how, for example, you
> could be logged into a web site, but want another instance of Firefox to
> login again, and keep both web sessions active and separate. With
> desktop Firefox, you can use the -private command-line arg to open a new
> private window for Firefox. You can also use -private-window and
> -private-windows <URL>.
>
> While there are command-line args you can specify for loading Firefox on
> a desktop (Windows or Linux), Firefox Android is really a different web
> browser, and Android apps are often far less robust or more crippled
> than their desktop cousins. I've not created shortcuts to load any app
> other than the shortcuts the app installers created, so I don't know
> what you can tailor in the shortcut.
>
> https://wiki.mozilla.org/Firefox/CommandLineOptions
> (no mention of Android or iOS when using mobile Firefox)
>
> Maybe some or all of the desktop Firefox command-line options are
> available for the mobile Firefox.

No command line options. You set the desktop icon from within Fx
and cannot edit it. The same is true with pinned shortcuts, which
is very irritating because you can edit query strings.

But, as I wrote, I can't see how his ON and OFF icons both reopen
the same tab. So I suspect I misunderstand what this 'webpage'
does or what he's doing.
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urs2ba$14p65$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50332&group=comp.mobile.android#50332

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Fri, 1 Mar 2024 08:07:05 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 50
Message-ID: <urs2ba$14p65$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh> <urs27j$14p2q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Mar 2024 08:07:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6050d0bba93e3ed59f1413470e5f4af0";
logging-data="1205445"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zcz64ZrfvaArTzjuu5Vo7"
Cancel-Lock: sha1:GMqiMenLlpj3DonVicsh69dgO+E=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Fri, 1 Mar 2024 08:07 UTC

Dave Royal <dave@dave123royal.com> Wrote in message:

> VanguardLH <V@nguard.LH> Wrote in message:
>
>> Wendelin Uez <wuez@online.de> wrote:
>>
>>> I make my smartphone Firefox app running a command like
>>> http://URL?something via touching a homescreen icon. This will start
>>> the Firefox app, open a new tab, calling URL and transmitting
>>> <something> just as wanted.
>>>
>>> But if Firefox has already started and a tab has already been opend
>>> with this URL then the app only switches to this tab but does not
>>> send <something> again. But I would like to force sending the command
>>> also if the tab is already opened.
>>
>> That's reusing an existing web session. Does the shortcut let you
>> specify to open a private instance (incognito) of Firefox? Each private
>> session gets its own separate session ID. It's how, for example, you
>> could be logged into a web site, but want another instance of Firefox to
>> login again, and keep both web sessions active and separate. With
>> desktop Firefox, you can use the -private command-line arg to open a new
>> private window for Firefox. You can also use -private-window and
>> -private-windows <URL>.
>>
>> While there are command-line args you can specify for loading Firefox on
>> a desktop (Windows or Linux), Firefox Android is really a different web
>> browser, and Android apps are often far less robust or more crippled
>> than their desktop cousins. I've not created shortcuts to load any app
>> other than the shortcuts the app installers created, so I don't know
>> what you can tailor in the shortcut.
>>
>> https://wiki.mozilla.org/Firefox/CommandLineOptions
>> (no mention of Android or iOS when using mobile Firefox)
>>
>> Maybe some or all of the desktop Firefox command-line options are
>> available for the mobile Firefox.
>
> No command line options. You set the desktop icon from within Fx
> and cannot edit it. The same is true with pinned shortcuts, which
> is very irritating because you can edit query strings.
>
> But, as I wrote, I can't see how his ON and OFF icons both reopen
> the same tab. So I suspect I misunderstand what this 'webpage'
> does or what he's doing.

^^^^^^
_cannot_ edit query strings
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<vuh*cghEz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50334&group=comp.mobile.android#50334

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: 01 Mar 2024 12:11:53 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <vuh*cghEz@news.chiark.greenend.org.uk>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh> <urs27j$14p2q$1@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="7785"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Fri, 1 Mar 2024 12:11 UTC

Dave Royal <dave@dave123royal.com> wrote:
> But, as I wrote, I can't see how his ON and OFF icons both reopen
> the same tab. So I suspect I misunderstand what this 'webpage'
> does or what he's doing.

I'd guess he was two URLs:
https://example.com/pod-bay-doors?state=OPEN
https://example.com/pod-bay-doors?state=CLOSE

The problem is that he presses OPEN and it works, then he presses CLOSE and
it works, but if he presses OPEN again it just shows the already-present
OPEN tab rather than re-fetching the OPEN page again.

Theo

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<ursirv$17ncc$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50338&group=comp.mobile.android#50338

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox
app?
Date: Fri, 1 Mar 2024 12:49:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <ursirv$17ncc$2@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh>
<urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 1 Mar 2024 12:49:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f03080a37fc39a79bffc2dc3511f1f0e";
logging-data="1301900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191nFOS6gUUwQufPybrI1jB"
User-Agent: Pan/0.147 (Sweet Solitude; afc1447
git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:Mh+L9jNZDFQKkto9zcUyu+kRk2o=
 by: Dave Royal - Fri, 1 Mar 2024 12:49 UTC

On Fri, 01 Mar 2024 12:11:53 +0000, Theo wrote:

> Dave Royal <dave@dave123royal.com> wrote:
>> But, as I wrote, I can't see how his ON and OFF icons both reopen
>> the same tab. So I suspect I misunderstand what this 'webpage'
>> does or what he's doing.
>
> I'd guess he was two URLs:
> https://example.com/pod-bay-doors?state=OPEN
> https://example.com/pod-bay-doors?state=CLOSE
>
> The problem is that he presses OPEN and it works, then he presses CLOSE
> and it works, but if he presses OPEN again it just shows the
> already-present OPEN tab rather than re-fetching the OPEN page again.

That's plausible. In that case I'd add some javascript into the page
(greasemonkey runs on Fx/Android) to detect the reopening and resend the
data. Or if there is no suitable tab event, close the page automatically
after a time period. Or something...
--
(Remove any numerics from my email address.)

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<ursnv0$195u5$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50341&group=comp.mobile.android#50341

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Fri, 1 Mar 2024 15:15:40 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <ursnv0$195u5$2@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Mar 2024 14:16:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c00c0663b0caf3fc042a43882ab11795";
logging-data="1349573"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196XQLLrWJfbf6rGF7v/BJ4"
Cancel-Lock: sha1:rYEOmKTfAhozF3QldJMKOlo2Q/g=
X-Priority: 3
In-Reply-To: <ursirv$17ncc$2@dont-email.me>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
 by: Wendelin Uez - Fri, 1 Mar 2024 14:15 UTC

"Dave Royal" <dave@dave123royal.com> schrieb im Newsbeitrag
news:ursirv$17ncc$2@dont-email.me...
> On Fri, 01 Mar 2024 12:11:53 +0000, Theo wrote:
>
>> Dave Royal <dave@dave123royal.com> wrote:
>>> But, as I wrote, I can't see how his ON and OFF icons both reopen
>>> the same tab. So I suspect I misunderstand what this 'webpage'
>>> does or what he's doing.
>>
>> I'd guess he was two URLs:
>> https://example.com/pod-bay-doors?state=OPEN
>> https://example.com/pod-bay-doors?state=CLOSE
>>
>> The problem is that he presses OPEN and it works, then he presses CLOSE
>> and it works, but if he presses OPEN again it just shows the
>> already-present OPEN tab rather than re-fetching the OPEN page again.
>
> That's plausible.

Yes, Theo is right. I really get 2 tabs, one for ON and one for OFF, and an
existing one cannot be overwritten next time.

> In that case I'd add some javascript into the page
> (greasemonkey runs on Fx/Android) to detect the reopening and resend the
> data. Or if there is no suitable tab event, close the page automatically
> after a time period. Or something...

Thank you for greamonkey hint. All what I found for now looks like
greasemonkey could do that, but as I am not familiar with HTML scripting I
must search for examples now. It would be great if I could close
automatically the page sent by the device, I don't need the device's output
and could close the tab immediately.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<ursoml$1995n$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50342&group=comp.mobile.android#50342

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox
app?
Date: Fri, 1 Mar 2024 14:28:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <ursoml$1995n$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh>
<urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk>
<ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 1 Mar 2024 14:28:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f03080a37fc39a79bffc2dc3511f1f0e";
logging-data="1352887"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BlVKshGrXAmJoR0Ri/rY5"
User-Agent: Pan/0.147 (Sweet Solitude; afc1447
git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:Gm3NDDVvuRnSP+Hd3cs9yyKcm5g=
 by: Dave Royal - Fri, 1 Mar 2024 14:28 UTC

On Fri, 01 Mar 2024 15:15:40 +0100, Wendelin Uez wrote:

> "Dave Royal" <dave@dave123royal.com> schrieb im Newsbeitrag
> news:ursirv$17ncc$2@dont-email.me...
>> On Fri, 01 Mar 2024 12:11:53 +0000, Theo wrote:
>>
>>> Dave Royal <dave@dave123royal.com> wrote:
>>>> But, as I wrote, I can't see how his ON and OFF icons both reopen
>>>> the same tab. So I suspect I misunderstand what this 'webpage'
>>>> does or what he's doing.
>>>
>>> I'd guess he was two URLs:
>>> https://example.com/pod-bay-doors?state=OPEN
>>> https://example.com/pod-bay-doors?state=CLOSE
>>>
>>> The problem is that he presses OPEN and it works, then he presses
>>> CLOSE and it works, but if he presses OPEN again it just shows the
>>> already-present OPEN tab rather than re-fetching the OPEN page again.
>>
>> That's plausible.
>
> Yes, Theo is right. I really get 2 tabs, one for ON and one for OFF, and
> an existing one cannot be overwritten next time.
>
>> In that case I'd add some javascript into the page (greasemonkey runs
>> on Fx/Android) to detect the reopening and resend the data. Or if there
>> is no suitable tab event, close the page automatically after a time
>> period. Or something...
>
> Thank you for greamonkey hint. All what I found for now looks like
> greasemonkey could do that, but as I am not familiar with HTML scripting
> I must search for examples now. It would be great if I could close
> automatically the page sent by the device, I don't need the device's
> output and could close the tab immediately.

Can you capture the webpage and any linked files (.js particularly) and
post them somewhere?
--
(Remove any numerics from my email address.)

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<vuh*FdiEz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50346&group=comp.mobile.android#50346

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: 01 Mar 2024 16:34:05 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <vuh*FdiEz@news.chiark.greenend.org.uk>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh> <urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="17739"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Fri, 1 Mar 2024 16:34 UTC

Wendelin Uez <wuez@online.de> wrote:
>
> "Dave Royal" <dave@dave123royal.com> schrieb im Newsbeitrag
> news:ursirv$17ncc$2@dont-email.me...
> > On Fri, 01 Mar 2024 12:11:53 +0000, Theo wrote:
> >
> >> Dave Royal <dave@dave123royal.com> wrote:
> >>> But, as I wrote, I can't see how his ON and OFF icons both reopen
> >>> the same tab. So I suspect I misunderstand what this 'webpage'
> >>> does or what he's doing.
> >>
> >> I'd guess he was two URLs:
> >> https://example.com/pod-bay-doors?state=OPEN
> >> https://example.com/pod-bay-doors?state=CLOSE
> >>
> >> The problem is that he presses OPEN and it works, then he presses CLOSE
> >> and it works, but if he presses OPEN again it just shows the
> >> already-present OPEN tab rather than re-fetching the OPEN page again.
> >
> > That's plausible.
>
> Yes, Theo is right. I really get 2 tabs, one for ON and one for OFF, and an
> existing one cannot be overwritten next time.
>
> > In that case I'd add some javascript into the page
> > (greasemonkey runs on Fx/Android) to detect the reopening and resend the
> > data. Or if there is no suitable tab event, close the page automatically
> > after a time period. Or something...
>
> Thank you for greamonkey hint. All what I found for now looks like
> greasemonkey could do that, but as I am not familiar with HTML scripting I
> must search for examples now. It would be great if I could close
> automatically the page sent by the device, I don't need the device's output
> and could close the tab immediately.

Could you put a button on the ON and OFF page which says 'repeat'. ie you
first visit:

https://example.com/whatever?state=ON

and it works. The second time it just brings this page up again, at which
point you press the Repeat button on the page and it sends the 'ON' action
again.

You could do that by making a second page whose only job it is to fetch the
target, eg via an iframe or similar, and a button to refresh the iframe.

Theo

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<uruku7$1p0rg$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50364&group=comp.mobile.android#50364

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Fri, 1 Mar 2024 20:12:26 +0100
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uruku7$1p0rg$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="utf-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 2 Mar 2024 07:36:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e945c88b5cf6efecbaf65f48a6ef6cdf";
logging-data="1868656"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AQra74VoQL2AdgH7DfUzQ"
Cancel-Lock: sha1:y1Q4pKj8/JyjTXsCHtxMqnEVbLc=
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
In-Reply-To: <ursnv0$195u5$2@dont-email.me>
 by: Wendelin Uez - Fri, 1 Mar 2024 19:12 UTC

As I already wrote the URL controls a WLAN wall socket switching to ON or
OFF via http://127.168.178.99?cmd,,,,ON|OFF .

These commands generate a blank page with text answer {!POWER":"ON|OFF"}
which I cannot modify.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urupgm$1ps1e$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50365&group=comp.mobile.android#50365

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Sat, 2 Mar 2024 08:54:45 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 18
Message-ID: <urupgm$1ps1e$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 2 Mar 2024 08:54:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2cb7f374041cf629272679f3076b629c";
logging-data="1896494"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TQtf2NlHJprkFzgkWNdJf"
Cancel-Lock: sha1:wPR3ZBqZRg9T0hESzsRpR715CUE=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Sat, 2 Mar 2024 08:54 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> As I already wrote the URL controls a WLAN wall socket switching to ON or
> OFF via http://127.168.178.99?cmd,,,,ON|OFF .
>
> These commands generate a blank page with text answer {!POWER":"ON|OFF"}
> which I cannot modify.

Try this:
// ==UserScript==
// @name Close tab after interval
// @version 1
// @include https://127.168.178.99/*
// @grant none
// ==/UserScript==
setTimeout(window.close,5000);
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urv5hr$1rrpa$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50372&group=comp.mobile.android#50372

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox
app?
Date: Sat, 2 Mar 2024 12:20:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <urv5hr$1rrpa$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh>
<urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk>
<ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me>
<uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 2 Mar 2024 12:20:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="85fe22e3bddd44c26ede5c16d258222e";
logging-data="1961770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TLvbc0q84kFjn64NtdKcY"
User-Agent: Pan/0.147 (Sweet Solitude; afc1447
git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:abJVzVX8T6zpIXozhZH894rlezA=
 by: Dave Royal - Sat, 2 Mar 2024 12:20 UTC

On Sat, 02 Mar 2024 08:54:45 +0000, Dave Royal wrote:

> "Wendelin Uez" <wuez@online.de> Wrote in message:
>
>> As I already wrote the URL controls a WLAN wall socket switching to ON
>> or OFF via http://127.168.178.99?cmd,,,,ON|OFF .
>>
>> These commands generate a blank page with text answer
>> {!POWER":"ON|OFF"} which I cannot modify.
>
> Try this:
> // ==UserScript==
> // @name Close tab after interval // @version 1 // @include
> https://127.168.178.99/*
> // @grant none // ==/UserScript== setTimeout(window.close,5000);

Which on PAN/linux will I hope look better like this

// ==UserScript==
// @name Close tab after interval
// @version 1
// @include https://127.168.178.99/*
// @grant none
// ==/UserScript==
setTimeout(window.close,5000);
--
(Remove any numerics from my email address.)

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<urv5qf$1rrpa$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50373&group=comp.mobile.android#50373

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox
app?
Date: Sat, 2 Mar 2024 12:24:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <urv5qf$1rrpa$2@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh>
<urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk>
<ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me>
<uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me>
<urv5hr$1rrpa$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 2 Mar 2024 12:24:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="85fe22e3bddd44c26ede5c16d258222e";
logging-data="1961770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/JsRpw+hPE8Ua/2jFRbg+z"
User-Agent: Pan/0.147 (Sweet Solitude; afc1447
git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:spzAoG6hBWM3Wlh9/HmmlIgdzbg=
 by: Dave Royal - Sat, 2 Mar 2024 12:24 UTC

On Sat, 02 Mar 2024 12:20:11 +0000, Dave Royal wrote:

> On Sat, 02 Mar 2024 08:54:45 +0000, Dave Royal wrote:
>>
>> Try this:
>> // ==UserScript==
>> // @name Close tab after interval // @version 1 // @include
>> https://127.168.178.99/*
>> // @grant none // ==/UserScript== setTimeout(window.close,5000);
>
> Which on PAN/linux will I hope look better like this
>
> // ==UserScript==
> // @name Close tab after interval // @version 1 // @include
> https://127.168.178.99/*
> // @grant none // ==/UserScript==
> setTimeout(window.close,5000);

Which it doesn't.
Oh well, you get the idea.
--
(Remove any numerics from my email address.)

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<us2c5t$2jv5m$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50417&group=comp.mobile.android#50417

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Sun, 3 Mar 2024 18:31:30 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <us2c5t$2jv5m$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 17:31:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9a4953af62804a56a224b78a05130956";
logging-data="2751670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18h0cB6eE5RnzkPdaz/6aMl"
Cancel-Lock: sha1:tAtp231eNgkhy+rVEz20Orsye/U=
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
In-Reply-To: <urupgm$1ps1e$1@dont-email.me>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
 by: Wendelin Uez - Sun, 3 Mar 2024 17:31 UTC

Thank you for the script.

I installed Greasemonkey on my Android smartphone and copied your script
into a .user.js file but I cannot find a Firefox menu entry to select and
load a script file.

Although Greasemonkey is listed under "Add-Ons" what means a successfull
installation there is no menu entry or option or button to load or run a
script, there is only an option button to activate/deactivate the add-on,
another one to include private mode, and two buttons to remove the add-on or
to notify Mozilla about the add-on.

So I first have to find out how I can load and run a .user.js script file in
the smartphone's Firefox app.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<us2fkq$2kqfl$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50418&group=comp.mobile.android#50418

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Sun, 3 Mar 2024 18:30:48 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 36
Message-ID: <us2fkq$2kqfl$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 18:30:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b0041d2bd8d5d924cd098de301e76fc2";
logging-data="2779637"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18p9Z1UM7DLFwP2kn49rgBS"
Cancel-Lock: sha1:l7m58M5kq98rf+wdIWgaBcTWRpw=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Sun, 3 Mar 2024 18:30 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> Thank you for the script.
>
> I installed Greasemonkey on my Android smartphone and copied your script
> into a .user.js file but I cannot find a Firefox menu entry to select and
> load a script file.
>
> Although Greasemonkey is listed under "Add-Ons" what means a successfull
> installation there is no menu entry or option or button to load or run a
> script, there is only an option button to activate/deactivate the add-on,
> another one to include private mode, and two buttons to remove the add-on or
> to notify Mozilla about the add-on.
>
> So I first have to find out how I can load and run a .user.js script file in
> the smartphone's Firefox app.

I've not used a .user.js file with Android. Do it this way:

- Load any website - http://example.com
- Top right menu, Addons, Greasemonkey: Page should say
'Greasemonkey active'
- Select New userscript: page shows a template
- Delete all that and paste my userscript to replace it
- Tap the 'save' diskette icon top left
- Close that tab, open the GM addon again and it should show the
userscript. It will run next time a site matching the 'include'
pattern loads.

You could replace my single include with two - one for the exact
'ON' URL and one for 'OFF'. Then you will be able to access the
device in Firefox without it closing.

I tested it with my printer's status web page.
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<us2uc6$2nvvj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50423&group=comp.mobile.android#50423

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Sun, 3 Mar 2024 22:42:12 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 19
Message-ID: <us2uc6$2nvvj$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Mar 2024 22:42:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b0041d2bd8d5d924cd098de301e76fc2";
logging-data="2883571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Pke8Gjf3czI8Gyd4eSr9l"
Cancel-Lock: sha1:owUfMPSxwj7T62h3Ejpf8nhx+1k=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Sun, 3 Mar 2024 22:42 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> So I first have to find out how I can load and run a .user.js script file in
> the smartphone's Firefox app.

I could find no way of loading a .user.js file from the device
itself now that you cannot use the file:/// protocol, which is
how I did it on firefox desktop.

I could only do it over http(s) like this example:
<https://www.cjoint.com/data/NCdwD5C37v4_close-tab.user.js>
If you have Greasemonkey active that should offer to install the
script.

I don't think the export and import backup works either. I suspect
that's because, here on Android 13, it doesn't have the old
'files' permission.
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<us7bmu$3qh5t$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50432&group=comp.mobile.android#50432

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Tue, 5 Mar 2024 15:54:06 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <us7bmu$3qh5t$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Mar 2024 14:54:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5fe847d612811ad5119604d2c693d5d0";
logging-data="4015293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/B17IbPRnd3pWEVSsGKy9k"
Cancel-Lock: sha1:g9Huc3YvzjshNiSTs0V/6G6SUDY=
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
In-Reply-To: <us2fkq$2kqfl$1@dont-email.me>
X-Priority: 3
 by: Wendelin Uez - Tue, 5 Mar 2024 14:54 UTC

> I've not used a .user.js file with Android. Do it this way:
>
> - Load any website - http://example.com
> - Top right menu, Addons, Greasemonkey: Page should say
> 'Greasemonkey active'
> - Select New userscript:

While there is option "Activated" on true there are only following
options/buttons, and no "Select New Userscript" or similar:
- Option Button "execute in private mode"
- Ifo-Button "Details"
- Info-Button "Rights"
- Touch-Button "Remove"
- Touch-Buttin "Report"
That's all I have.

Firefox 123.0, Android 11

Ok, I'm searching now a more user friendly browser and will test
Greasemonkey there.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<us7cf6$3qjr0$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50433&group=comp.mobile.android#50433

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Tue, 5 Mar 2024 15:07:18 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 29
Message-ID: <us7cf6$3qjr0$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me> <us7bmu$3qh5t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Mar 2024 15:07:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cfb5704b53496c605a0d230e69e886d9";
logging-data="4018016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Lmhzd85q7VNuwRQ+elNee"
Cancel-Lock: sha1:wPD8t2bh0YW5/yWbn/jDesXRhds=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Tue, 5 Mar 2024 15:07 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> > I've not used a .user.js file with Android. Do it this way:
>>
>> - Load any website - http://example.com
>> - Top right menu, Addons, Greasemonkey: Page should say
>> 'Greasemonkey active'
>> - Select New userscript:
>
> While there is option "Activated" on true there are only following
> options/buttons, and no "Select New Userscript" or similar:
> - Option Button "execute in private mode"
> - Ifo-Button "Details"
> - Info-Button "Rights"
> - Touch-Button "Remove"
> - Touch-Buttin "Report"
> That's all I have.
>
> Firefox 123.0, Android 11

You're looking at the Firefox addons page.

You must start with a webpage dusplayed - any webpage, not an
empty browser. Then you will see the monkey icon when you select
Addons.

--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<us7e96$3r1tv$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50434&group=comp.mobile.android#50434

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Tue, 5 Mar 2024 15:38:12 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 21
Message-ID: <us7e96$3r1tv$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me> <us7bmu$3qh5t$1@dont-email.me> <us7cf6$3qjr0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Mar 2024 15:38:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cfb5704b53496c605a0d230e69e886d9";
logging-data="4032447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19k04XQsYkiX/8fwSviiTad"
Cancel-Lock: sha1:7/nDjNbthUj8e6Zi5X9Kw0tgZy0=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Tue, 5 Mar 2024 15:38 UTC

Dave Royal <dave@dave123royal.com> Wrote in message:
>
> You must start with a webpage dusplayed - any webpage, not an
> empty browser. Then you will see the monkey icon when you select
> Addons.
>
Screenshots:
With a webpage displayed select 'addons' in menu
<https://www.cjoint.com/data/NCfpAqOGlA4_Screenshot-20240305-152419-Firefox.jpg>
Tap 'greasemonkey'
<https://www.cjoint.com/data/NCfpClRFng4_Screenshot-20240305-152448-Firefox.jpg>
Select 'new user script'
Replace existing template code with my code
Tap 'save' diskette icon.
Close tab.

When you test it, try it first with another tab open as well - eg
example.com
I'll explain why once you get it working.
--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<usa3ti$ger7$6@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50441&group=comp.mobile.android#50441

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Wed, 6 Mar 2024 16:59:14 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <usa3ti$ger7$6@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me> <us7bmu$3qh5t$1@dont-email.me> <us7cf6$3qjr0$1@dont-email.me> <us7e96$3r1tv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 6 Mar 2024 15:59:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b5c08aa6442b0eaec078290b30181a1";
logging-data="539495"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qitLty0Rgb9ATAnU9u/eK"
Cancel-Lock: sha1:V8hpw9rzDzC6CdadTT8sbT7jQi0=
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
In-Reply-To: <us7e96$3r1tv$1@dont-email.me>
 by: Wendelin Uez - Wed, 6 Mar 2024 15:59 UTC

>> You must start with a webpage dusplayed - any webpage, not an
>> empty browser. Then you will see the monkey icon when you select
>> Addons.

Yes, now I can find the Greasemonkey menu, edit the template and save it. as
CloseTabAfterInterval, and even after restarting Firefox app this script is
still there, as expected, and still activated. So far, so good.

But it still doesn't close the tab after calling URL
http://192.168.178.99......

I tried http as well as https because my local net uses http only.

I suppose "setTimeout(window.close,5000);" should close the tab after 5000
mSec?

For testing I added a second script line "@include https:/google.com", and
nothing closed, too.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<usafjm$j13n$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50443&group=comp.mobile.android#50443

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Wed, 6 Mar 2024 19:19:16 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 32
Message-ID: <usafjm$j13n$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me> <us7bmu$3qh5t$1@dont-email.me> <us7cf6$3qjr0$1@dont-email.me> <us7e96$3r1tv$1@dont-email.me> <usa3ti$ger7$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 6 Mar 2024 19:19:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="62d5bc7046ae768849b6b30bf931bc6b";
logging-data="623735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JpLRscpf1nSe1NCXcxxmG"
Cancel-Lock: sha1:nQYSTtuVhgoR5ex4q/1P2K8BMFE=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Wed, 6 Mar 2024 19:19 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> >> You must start with a webpage dusplayed - any webpage, not an
>>> empty browser. Then you will see the monkey icon when you select
>>> Addons.
>
> Yes, now I can find the Greasemonkey menu, edit the template and save it. as
> CloseTabAfterInterval, and even after restarting Firefox app this script is
> still there, as expected, and still activated. So far, so good.
>
> But it still doesn't close the tab after calling URL
> http://192.168.178.99......
>
> I tried http as well as https because my local net uses http only.
>
> I suppose "setTimeout(window.close,5000);" should close the tab after 5000
> mSec?
>
> For testing I added a second script line "@include https:/google.com", and
> nothing closed, too.
>
Do a step-by-step diagnosis.
1 Edit the script include to http://example.com/" rel="nofollow" target="_blank">http://example.com/* (only)
2 Load another webpage so that you will have > 1 tab open (important).
3 Open a new tab & type http://example.com
4 If it does not close after 5" open the greasmonkey menu.
5 Does it show the script as 'User scripts for this tab'?
If not the include is wrong.
If it does then something else is wrong

--
Remove numerics from my email address.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<uscnte$14ghq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50453&group=comp.mobile.android#50453

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wue...@online.de (Wendelin Uez)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app?
Date: Thu, 7 Mar 2024 16:53:06 +0100
Organization: A noiseless patient Spider
Lines: 83
Message-ID: <uscnte$14ghq$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me> <us7bmu$3qh5t$1@dont-email.me> <us7cf6$3qjr0$1@dont-email.me> <us7e96$3r1tv$1@dont-email.me> <usa3ti$ger7$6@dont-email.me> <usafjm$j13n$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Mar 2024 15:53:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="59ecd57aed59851eeff3c1b29ef9967d";
logging-data="1196602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ueXZiXn66Xck668BwDeF4"
Cancel-Lock: sha1:FItUqUCNa7eOyOcU/jjqA1Kt84A=
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
In-Reply-To: <usafjm$j13n$1@dont-email.me>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671
X-MSMail-Priority: Normal
 by: Wendelin Uez - Thu, 7 Mar 2024 15:53 UTC

*m sorry, it still doesn't work.

I verified Greasemonkey script code for CloseTabAfterInterval:

// ==UserScript==
// @name Close tab after interval
// @version 1
// @include http://example.com
// @grant none
// ==/UserScript==
setTimeout(window.close,5000);

Then I...

- started Firefox app, no old tabs open

- verified Greasemonkey activated

- added new tab 1 and opened http://info.com

- added new tab 2 and opened http://example.com

- tab doesn't close

Then I checked Greasemonkey menu (entries translated from German).
There is no "User scripts for this tab" or similar.

main menu:
# Greasemonkey is activated (checked)
# Greasemonkey Options
# --------------------
# other user concepts
# CloseTabAfterInterval
# --------------------
# New User Script...
# Export...
# Import...
# --------------------
# Greasemonkey Homepage
# Greasemonkey Wiki
# User Scripts in network

selecting main menu CloseTabAfterInterval returns
submenu 1:
# CloseTabAfterInterval
# --------------------
# Activated (checked)
# Edit
# Deinstall
# Userscript Options
# --------------------
# Version 1

selecting main menu Greasemonkey Options returns
submenu 2
# Global Exceptions
-> empty listbox plus a line with
"+ Ignore https://example.com/*"
# Editor
"Use enhanced editor" checked

selecting submenu 1 UserScript Options returns
subpage 1
* automatic update deactivated
* update now
* Userdefined Includes: empty box
- "use only these ones" unchecked
* Userdefined Excludes: empty box
- "use only these ones" unchecked
* Userdefined Matches: empty box
- rest of page invisible because page can not be scrolled up/down

Question:

What do I have to enter in script's last line instead of "setTimeout..."
to test for another function, f.e. displaying a messagebox , loading
a website, or anything else? Maybe only the setTimeout function
does not work here.

Re: How to refresh Android Firefox via http... or to restart Firefox app?

<uscrqm$159ae$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=50455&group=comp.mobile.android#50455

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: How to refresh Android Firefox via http... or to restart
Firefox app?
Date: Thu, 7 Mar 2024 17:00:06 +0000 (GMT)
Organization: news.eternal-september.org
Lines: 93
Message-ID: <uscrqm$159ae$1@dont-email.me>
References: <urq5k3$li4i$1@dont-email.me> <ljt6vw1qqcgg.dlg@v.nguard.lh><urs27j$14p2q$1@dont-email.me> <vuh*cghEz@news.chiark.greenend.org.uk> <ursirv$17ncc$2@dont-email.me> <ursnv0$195u5$2@dont-email.me> <uruku7$1p0rg$1@dont-email.me> <urupgm$1ps1e$1@dont-email.me> <us2c5t$2jv5m$1@dont-email.me> <us2fkq$2kqfl$1@dont-email.me> <us7bmu$3qh5t$1@dont-email.me> <us7cf6$3qjr0$1@dont-email.me> <us7e96$3r1tv$1@dont-email.me> <usa3ti$ger7$6@dont-email.me> <usafjm$j13n$1@dont-email.me> <uscnte$14ghq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Mar 2024 17:00:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8d6b93ef0b52672a9cc137f86e2d38ad";
logging-data="1221966"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++Bkrok8JV8T1pZPeN4m2w"
Cancel-Lock: sha1:YqN/BjgVP3DuPrnPhScKNXoz77A=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
 by: Dave Royal - Thu, 7 Mar 2024 17:00 UTC

"Wendelin Uez" <wuez@online.de> Wrote in message:

> *m sorry, it still doesn't work.
>
> I verified Greasemonkey script code for CloseTabAfterInterval:
>
> // ==UserScript==
> // @name Close tab after interval
> // @version 1
> // @include http://example.com
> // @grant none
> // ==/UserScript==
> setTimeout(window.close,5000);
>
> Then I...
>
> - started Firefox app, no old tabs open
>
> - verified Greasemonkey activated
>
> - added new tab 1 and opened http://info.com
>
> - added new tab 2 and opened http://example.com
>
> - tab doesn't close
>
>
> Then I checked Greasemonkey menu (entries translated from German).
> There is no "User scripts for this tab" or similar.

That means there is no script matching the include

> main menu:
> # Greasemonkey is activated (checked)
> # Greasemonkey Options
> # --------------------
> # other user concepts
> # CloseTabAfterInterval
> # --------------------
> # New User Script...
> # Export...
> # Import...
> # --------------------
> # Greasemonkey Homepage
> # Greasemonkey Wiki
> # User Scripts in network
>
> selecting main menu CloseTabAfterInterval returns
> submenu 1:
> # CloseTabAfterInterval
> # --------------------
> # Activated (checked)
> # Edit
> # Deinstall
> # Userscript Options
> # --------------------
> # Version 1
>
> selecting main menu Greasemonkey Options returns
> submenu 2
> # Global Exceptions
> -> empty listbox plus a line with
> "+ Ignore https://example.com/*"

That suggests the current tab is https
Have you got https-only mode set in Fx settings?
Change include to https

> # Editor
> "Use enhanced editor" checked
>
> selecting submenu 1 UserScript Options returns
> subpage 1
> * automatic update deactivated
> * update now
> * Userdefined Includes: empty box
> - "use only these ones" unchecked
> * Userdefined Excludes: empty box
> - "use only these ones" unchecked
> * Userdefined Matches: empty box
> - rest of page invisible because page can not be scrolled up/down
>
>
> Question:
>
> What do I have to enter in script's last line instead of "setTimeout..."
> to test for another function, f.e. displaying a messagebox , loading
> a website, or anything else? Maybe only the setTimeout function
> does not work here.

alert("Hello")
--
Remove numerics from my email address.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor