X
Tap here to go to the mobile version of the site.

Support Forum

How to refresh one link on a page?

Posted

There's a button on a website that refreshed just one frame on that page. (Refreshing the whole page doesn't work.) Right clicking, Inspect Element brings up possibilities but I have no idea what to do here. Anybody know? Just want to replicate a click on that link every few seconds.

There's a button on a website that refreshed just one frame on that page. (Refreshing the whole page doesn't work.) Right clicking, Inspect Element brings up possibilities but I have no idea what to do here. Anybody know? Just want to replicate a click on that link every few seconds.
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

More Information

jscher2000
  • Top 10 Contributor
8872 solutions 72600 answers

If it's a frame, try this: right-click a blank part of the framed page, then click This Frame to open the fly-out menu, then click Reload Frame.

If it's a frame, try this: right-click a blank part of the framed page, then click This Frame to open the fly-out menu, then click Reload Frame.
Was this helpful to you?
Quote

Question owner

When I click it there is no "This Frame" in the drop down menu. I need for the frame to automatically load every few seconds. Its easy to get tab reloaders/refreshers but they are loading the entire page which doesn't work on this page unfortunately.

When I click it there is no "This Frame" in the drop down menu. I need for the frame to automatically load every few seconds. Its easy to get tab reloaders/refreshers but they are loading the entire page which doesn't work on this page unfortunately.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8872 solutions 72600 answers

So it's not an actual framed page.

If you can't find an add-on that clicks an identifiable element on a schedule, you could try to find a userscript or write one yourself.

(Userscripts require an extension such as Greasemonkey, Tampermonkey, or Violentmonkey.)

You will need to find a selector for the button such as an id or combination of other criteria to unique identify it. Then you will need to inject your clicker function using window.setInterval().

For example, the Preview button below the post on this page has id="preview" so the code to click that every 30 seconds would be:

var clicker = window.setInterval(function(){document.getElementById('preview').click();}, 30 * 1000);

(That's 30 x 1000 milliseconds)

To stop it:

window.clearInterval(clicker);

So it's not an actual framed page. If you can't find an add-on that clicks an identifiable element on a schedule, you could try to find a userscript or write one yourself. (Userscripts require an extension such as Greasemonkey, Tampermonkey, or Violentmonkey.) You will need to find a selector for the button such as an id or combination of other criteria to unique identify it. Then you will need to inject your clicker function using window.setInterval(). * https://developer.mozilla.org/docs/Web/CSS/CSS_Selectors * https://developer.mozilla.org/docs/Web/API/WindowOrWorkerGlobalScope/setInterval For example, the Preview button below the post on this page has <code>id="preview"</code> so the code to click that every 30 seconds would be: var clicker = window.setInterval(function(){document.getElementById('preview').click();}, 30 * 1000); (That's 30 x 1000 milliseconds) To stop it: window.clearInterval(clicker);
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17759 solutions 160617 answers

Can't you open this frame in its own tab ?

Can't you open this frame in its own tab ?
Was this helpful to you?
Quote

Question owner

When I right click the refresh button and click "Inspect Element" interesting options appear. Can I do something there? Sure would be nice to see a REFRESH option with a time interval! One can only dream....:) What I'm clicking to refresh that frame or part of the page is just a button actually. I wonder if "frame" is the right word though. Its a box that displays updated information while everything else on the page remains the same.

When I right click the refresh button and click "Inspect Element" interesting options appear. Can I do something there? Sure would be nice to see a REFRESH option with a time interval! One can only dream....:) What I'm clicking to refresh that frame or part of the page is just a button actually. I wonder if "frame" is the right word though. Its a box that displays updated information while everything else on the page remains the same.

Modified by moz2u

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8872 solutions 72600 answers

moz2u said

When I right click the refresh button and click "Inspect Element" interesting options appear. Can I do something there?

Interesting options appear on the page, on the context menu, in the Page Inspector tool, or... what?? Did you intend to share a screenshot or ??

''moz2u [[#answer-1277251|said]]'' <blockquote> When I right click the refresh button and click "Inspect Element" interesting options appear. Can I do something there? </blockquote> Interesting options appear on the page, on the context menu, in the Page Inspector tool, or... what?? Did you intend to share a screenshot or ??
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17759 solutions 160617 answers
See also: *https://developer.mozilla.org/en-US/Tools/Page_Inspector/How_to *https://developer.mozilla.org/en-US/Tools/Page_Inspector/How_to/Examine_and_edit_HTML
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.