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

Liste des GroupesRevenir à m android 
Sujet : Re: How to refresh Android Firefox via http... or to restart Firefox app?
De : wuez (at) *nospam* online.de (Wendelin Uez)
Groupes : comp.mobile.android
Date : 07. Mar 2024, 17:53:18
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uscnte$14ghq$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
*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.

Date Sujet#  Auteur
7 Mar 24 * Re: How to refresh Android Firefox via http... or to restart Firefox app?3Wendelin Uez
7 Mar 24 `* Re: How to refresh Android Firefox via http... or to restart Firefox app?2Dave Royal
7 Mar 24  `- Re: How to refresh Android Firefox via http... or to restart Firefox app?1Dave Royal

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal