Deutsch English Français Italiano |
<usctb5$15no0$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Dave Royal <dave@dave123royal.com> Newsgroups: comp.mobile.android Subject: Re: How to refresh Android Firefox via http... or to restart Firefox app? Date: Thu, 7 Mar 2024 17:25:56 +0000 (GMT) Organization: news.eternal-september.org Lines: 101 Message-ID: <usctb5$15no0$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> <uscrqm$159ae$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:25:57 -0000 (UTC) Injection-Info: dont-email.me; posting-host="8d6b93ef0b52672a9cc137f86e2d38ad"; logging-data="1236736"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188Mo1h+Heo4rIWsuNJaemO" Cancel-Lock: sha1:M7eAgXkrnNbsK4/4ug0mNwUmIWY= X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16 Bytes: 4410 Dave Royal <dave@dave123royal.com> Wrote in message: > "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") In my tests I eventually put both http and https: // @include http://192.168.1.20/* // @include https://192.168.1.20/* I tested with https-only off, and the desktop icon uses http. But it still calls http (no padlock) and works (closes) even now I have http-only on. Maybe http-only aplies only to URLs _entered_ in the URL bar. -- Remove numerics from my email address.