Ethanabc
Ethanabc

Reputation: 381

How I can stop the webpages refresh itself (at least some portion of the content)?

I am wondering how I can stop the webpage from refreshing itself?

I am using Safari or Chrome to connect to wsj.com or Yahoo finance. I found that the webpage can refresh itself or some number are constantly changing (for example, for wsj.com, the indices at the front of the page change every 5 seconds).

How I might ask my browser to stop refreshing itself except simply close the web browser at all or disconnect the network?

Upvotes: 0

Views: 1750

Answers (2)

jeremy302
jeremy302

Reputation: 828

When you visit a website, you give it permission to run code on a browser tab and communicate between your computer and it's server. thats all the permission it needs. You can go to chrome://flags or edge://flags to turn off stuff like websockets

Upvotes: 0

Struggling Programmer
Struggling Programmer

Reputation: 11

The reason a web page keeps refreshing itself is that it's using a tag that automatically refreshes the page depends on the time provided in the script

E.g.

<head>

  <meta http-equiv="refresh" content="5">

</head>

The Value inside the Content"5" is the seconds it will take the web page to refresh.

reference: W3School https://www.w3schools.com/tags/att_meta_http_equiv.asp

Upvotes: 1

Related Questions