Re: how to automatically reload a firefox page

2017-07-25 Thread Jochen Spieker
Steve Kleene:
> On Mon, 24 Jul 2017 08:55:42 -0400, I wrote:
> 
>> How about making a local web page reloadpage.html where you include the
>> command to reload evert 234 seconds
>> 
>> 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]
 


signature.asc
Description: PGP signature


Re: how to automatically reload a firefox page

2017-07-25 Thread Steve Kleene
On Mon, 24 Jul 2017 08:55:42 -0400, I wrote:

>> 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.

On Tue Jul 25 05:54:22 2017, Fungi4All  replied:

> How about making a local web page reloadpage.html where you include the
> command to reload evert 234 seconds
> 
> 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).



Re: how to automatically reload a firefox page

2017-07-25 Thread Steve Kleene
On Mon, 24 Jul 2017 08:55:42 -0400, I wrote:

>> 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.

On Mon, 24 Jul 2017 17:20:00 +0200, Jan  replied:

> 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.



Re: how to automatically reload a firefox page

2017-07-25 Thread Fungi4All
>From: phenomena...@yandex.com

> To: debian-user@lists.debian.org 
> 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
> 24.07.2017, 14:56, "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
>> 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.

How about making a local web page reloadpage.html where you include the
command to reload evert 234 seconds

and make a table which includes the webpage you want to stay active on within 
your local
page.

Re: how to automatically reload a firefox page

2017-07-24 Thread 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

24.07.2017, 14:56, "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
> 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.