Discussion:
how to automatically reload a firefox page
Steve Kleene
2017-07-24 12:55:42 UTC
Permalink
I'm looking for an automated way to have firefox-esr reload its window at
regular intervals. There's a site to which I like to stay connected that
logs me off if the window is inactive for long.

For the past few years I've been using the ReloadEvery plugin for this. With
the upgrade to firefox-esr 52, though, this stopped working, probably as
explained here:

https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/

I tried the newest ReloadEvery (v45) available online, but it still doesn't
work. Before ReloadEvery, I used to set up a shell command that would
periodically do this:

/usr/bin/iceweasel -remote openurl\([URL]\)

The -remote call also no longer works. Any other ideas on how to do this?
Thanks.
Jan
2017-07-24 15:20:00 UTC
Permalink
Hi Steve

The add-on Tab Mix Plus has an option under Menu to add "Reload every ..." to the tab's context menu. The add-on may be overkill if you just want that reload option, but I do know it works.

Kind regards

Jan
Post by Steve Kleene
I'm looking for an automated way to have firefox-esr reload its window at
regular intervals. There's a site to which I like to stay connected that
logs me off if the window is inactive for long.
For the past few years I've been using the ReloadEvery plugin for this. With
the upgrade to firefox-esr 52, though, this stopped working, probably as
  https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/
I tried the newest ReloadEvery (v45) available online, but it still doesn't
work. Before ReloadEvery, I used to set up a shell command that would
  /usr/bin/iceweasel -remote openurl\([URL]\)
The -remote call also no longer works. Any other ideas on how to do this?
Thanks.
Fungi4All
2017-07-25 09:54:13 UTC
Permalink
Post by Jan
Hi Steve
The add-on Tab Mix Plus has an option under Menu to add "Reload every ..." to the tab"s context menu. The add-on may be overkill if you just want that reload option, but I do know it works.
Kind regards
Jan
I"m looking for an automated way to have firefox-esr reload its window at
regular intervals. There"s a site to which I like to stay connected that
logs me off if the window is inactive for long.
For the past few years I"ve been using the ReloadEvery plugin for this. With
the upgrade to firefox-esr 52, though, this stopped working, probably as
https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/
I tried the newest ReloadEvery (v45) available online, but it still doesn"t
work. Before ReloadEvery, I used to set up a shell command that would
/usr/bin/iceweasel -remote openurl\([URL]\)
The -remote call also no longer works. Any other ideas on how to do this?
Thanks.
How about making a local web page reloadpage.html where you include the
command to reload evert 234 seconds
<meta http-equiv="refresh" content="234; url=~/myhtml/reloadpage.html" />
and make a table which includes the webpage you want to stay active on within your local
page.
Steve Kleene
2017-07-25 16:02:47 UTC
Permalink
Post by Fungi4All
Post by Steve Kleene
I'm looking for an automated way to have firefox-esr reload its window at
regular intervals. There's a site to which I like to stay connected that
logs me off if the window is inactive for long.
How about making a local web page reloadpage.html where you include the
command to reload evert 234 seconds
<meta http-equiv="refresh" content="234; url=~/myhtml/reloadpage.html" />
and make a table which includes the webpage you want to stay active on within
your local page.
Thanks for the nice idea, but I haven't quite succeeded in executing it. The
"refresh" line does indeed get the base page to reload automatically. But
all I've been able to put into a table is a link to the URL I really want to
be refreshed. I have to click on that link to bring up the page. What I
need is for the base page to actually display the contents of the second page
without and clicks (e.g. by calling it up while still staying on the base
page, which gets reloaded).
Jochen Spieker
2017-07-25 18:55:23 UTC
Permalink
Post by Steve Kleene
Post by Fungi4All
How about making a local web page reloadpage.html where you include the
command to reload evert 234 seconds
<meta http-equiv="refresh" content="234; url=~/myhtml/reloadpage.html" />
and make a table which includes the webpage you want to stay active on within
your local page.
Thanks for the nice idea, but I haven't quite succeeded in executing it. The
"refresh" line does indeed get the base page to reload automatically. But
all I've been able to put into a table is a link to the URL I really want to
be refreshed.
You need an iframe:

https://www.w3schools.com/tags/tag_iframe.asp

But beware that sites can tell browsers not to load themselves into
iframes on foreign domains (using an X-Frame-Options header). All recent
browsers adhere to this. If the page you are trying to load returns such
a header, you are out of luck.

You should also be aware that any interaction with the page may be
interrupted by the automatic reload of the parent frame. This approach
is probably only usable for pages you only want to look at. You will
probably even lose your scrolling position inside the iframe when the
parent gets reloaded.

J.
--
Whenever I hear the word 'art' I reach for my visa card.
[Agree] [Disagree]
<http://archive.slowlydownward.com/NODATA/data_enter2.html>
Steve Kleene
2017-07-25 15:55:29 UTC
Permalink
Post by Jan
Post by Steve Kleene
I'm looking for an automated way to have firefox-esr reload its window at
regular intervals. There's a site to which I like to stay connected that
logs me off if the window is inactive for long.
The add-on Tab Mix Plus has an option under Menu to add "Reload every ..." to
the tab's context menu. The add-on may be overkill if you just want that
reload option, but I do know it works.
Thanks. I have this working now. I added Tab Mix Plus 0.5.0.3 and checked
"Reload Tab Every" in both the Tab Context Menu and the Main Context Menu.
Re adding Tab Mix Plus, I agreed to disable the ReloadEvery plugin (although
ReloadEvery's settings still show under about:config).

During installation, a message said, "Firefox 57 drops support for all legacy
add-ons include Tab Mix Plus. From Firefox 57 onwards, Firefox will not
install Tab Mix Plus. It is currently unclear when Tab Mix Plus as a
WebExtension will be ready." I'll worry about that when it happens.

Thanks again.
Loading...