page-refresh Questions

3

I am currently facing a little problem with HTTP post forms and history pushstate. When my user submits a POST form in example.com/page-1 and then clicks on a link within this page, they are redir...
Spectre asked 30/11, 2012 at 16:58

15

I want to check when someone tries to refresh a page. For example, when I open a page nothing happens but when I refresh the page it should display an alert.
Villainy asked 15/2, 2011 at 14:39

10

Solved

How can I force the web browser to do a hard refresh of the page via JavaScript? Hard refresh means getting a fresh copy of the page AND refresh all the external resources (images, JavaScript, CSS,...
Alagez asked 20/1, 2010 at 5:16

2

Solved

I'm using Vue.js with vue-i18n to switch languages on my project without the need to refresh. However, when i want to switch between Arabic and anything else i need to change the website's design f...
Whitecollar asked 4/8, 2018 at 7:6

18

I need to somehow detect that the user has pressed a browsers back button and reload the page with refresh (reloading the content and CSS) using jquery. How to detect such action via jquery? Becaus...
Boehmenist asked 27/3, 2017 at 9:48

8

Solved

Few days ago, I've changed the favicon of my website: it works well when I open the website: My website is also in my bookmarks, but it shows the old favicon: I already had a look here, but an...
Labroid asked 16/6, 2016 at 12:49

7

Solved

I'm using React js. I need to detect page refresh. When user hits refresh icon or press F5, I need to find out the event. I tried with stackoverflow post by using javascript functions I used java...
Affective asked 25/4, 2018 at 15:25

4

I view local HTML files in my default browser via the file:// protocol. I would like to add some code/script to the HTML file, so that on change of the file (and ideally on change of the sucked-i...
Chaing asked 19/2, 2018 at 2:20

17

Solved

I am building a website which I am publishing with divs. When I refresh the page after it was scrolled to position X, then the page is loaded with the scroll position as X. How can I force the pag...
Densitometer asked 8/9, 2010 at 3:7

2

When I'm using Live Server extension in VS Code, my browser is refreshing every second, even though I do not make nor save any changes in my code file. Why is that happening and how to solve this p...
Carroty asked 25/10, 2021 at 21:2

1

Solved

index.html When I click Authorize, Google signs in, but when I refresh the page, it prompts me to sign in to Google once more. What can I do to stay signed in until the user signs out? Here I trie...

1

I have read several StackOverflow answers about refreshing and/or reloading a page and how to determine. Check if page gets reloaded or refreshed in JavaScript and Check if page gets reloaded o...
Meow asked 10/9, 2019 at 0:17

8

every time I make changes to my website and try to update those changes to the running website, I've to hard refresh browser. is there any way to do it by code i already try to search it but most ...
Fabrice asked 6/7, 2018 at 9:46

2

Basically, there is a specific website I visit that I keep a userscript auto-refresh set on a timer. This specific page changes content every now and then upon being refreshed. I want a sound to be...

1

Solved

I have a Blazor Server app with a page that takes in parameters in the uri. When I click on an anchor tag that has the route setup to hit that page with params (like below) the link works fine, and...
Aholah asked 22/2, 2021 at 20:57

2

Solved

How can I stop Chrome from having its tabs Sleep/Hibernate? I'm running the "revolver" extension and I want the tabs to reload before I cycles to it.. however it seems that chrome's tabs are put in...
Hyperaesthesia asked 19/5, 2017 at 14:7

1

Solved

Currently in my page I am using this to refresh the page each minute: <head> ... <meta http-equiv="refresh" content="60" /> ... </head> How instead, I w...
Tight asked 3/11, 2020 at 8:51

1

I try like this : created() { window.addEventListener('beforeunload', function(event) { event.returnValue = 'Write something' this.$router.push('/') }) }, the message like this : If I cl...
Transportation asked 21/10, 2019 at 22:43

2

Solved

That's realy strange issue, i have quite a lot of plugins and custom scripts in my page and normaly it all works just fine, but if i would try to refresh page, not just click on some link, some of ...
Palate asked 5/2, 2012 at 14:43

3

Solved

I would like to refresh a page after it gets back into focus. For the refreshing part I thought I might just use: location.reload(); The tricky part is how do I determine when to refresh? First th...
Harhay asked 3/7, 2012 at 14:46

3

Solved

I have created a site (can be accessed at http://dev.gkr33.com) which is designed for a smartphone and attempts to use the navigator.geolocation api and grab your position via getCurrentPosition. T...
Selfjustifying asked 14/11, 2012 at 20:44

4

Solved

I'm using .submit() to detect when a form is submitted, but instead of performing its attached function, it's refreshing the page. I'm building a tool for drawing family tree diagrams (using nest...
Watercool asked 6/12, 2010 at 22:17

8

Solved

I am building a single page javascript app and when the application starts I use a single javascript file to load every other file I need on the fly. When I hit refresh, according to firebug, my HT...
Plascencia asked 29/3, 2012 at 2:50

3

Context: I'm going to explain the context of this question, but I think that the answer to the question is not very context specific. I have a background page in chrome a chrome extension. The pag...
Shreeves asked 20/1, 2018 at 5:7

7

Solved

Given: I have Firefox with the [Firefox Page Title] page open on my Ubuntu computer. Here is my command: xdotool search "[Firefox Page Title]" windowactivate --sync key --clearmodifiers ctrl+r...
Loophole asked 19/8, 2012 at 13:46

© 2022 - 2024 — McMap. All rights reserved.