Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to refresh one link on a page?

  • 7 trả lời
  • 1 gặp vấn đề này
  • 16 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

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.

Tất cả các câu trả lời (7)

more options

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.

more options

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.

more options

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);

more options

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

more options

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.

Được chỉnh sửa bởi moz2u vào

more options

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

more options