Questions tagged [browser-refresh]

86 questions
60
votes
6 answers

Difference between F5, Ctrl + F5 and click on refresh button?

I have often experienced while developing my web applications that pressing F5 or refresh doesn't produce or refresh the proper result. But when we hit Ctrl + F5 it generates the correct result. What is the basic difference between simple F5 and…
Awais Qarni
  • 17,492
  • 24
  • 75
  • 137
17
votes
5 answers

gif animation not playing on refresh

First time I view the page with an animated .gif it plays fine on page load (lasts about 2 secs). On refresh (F5), the .gif no longer plays and only the last frame of gif animation is shown. Is there anything I can do do to make sure it plays…
Feeney
  • 357
  • 2
  • 4
  • 12
15
votes
3 answers

Does http-equiv="refresh" keep referrer info and metadata?

If I set up a page like this: Will the browser send referrer info and other metadata when the redirection is performed?
Kudu
  • 6,570
  • 8
  • 27
  • 27
10
votes
7 answers

Automatic web-page refresh using xdotool - not sending key after window focus

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 Documentation: xdotool website with…
CODe
  • 2,253
  • 6
  • 36
  • 65
8
votes
3 answers

how to make a refresh button using javascript

Can I make a function to refresh the page using JavaScript (same browser refresh button) Thanks
Bobj-C
  • 5,276
  • 9
  • 47
  • 83
8
votes
3 answers

"location.reload()" loses POST/SESSION data? (F5 / Ctrl+R keeps data?)

I want to create a button to reload a page without losing $_POST data and $_SESSION. On the web, I found this piece of code: onclick="document.location.reload();" And here is the code of my button:
Zorkzyd
  • 929
  • 3
  • 12
  • 30
6
votes
5 answers

How to redirect a page to another page when refresh at second attempt

I tried this code, but it is not working.
sss
  • 61
  • 1
  • 1
  • 2
6
votes
3 answers

Force JSF to refresh page / view / form when opened via link or back button

I have a JSF page which posts data to an external page. The data is loaded from a JSF managed bean which generates a unique ID in the post data. I have an issue where a user clicks on a checkout button then navigates back to the same page and…
DD.
  • 21,498
  • 52
  • 157
  • 246
5
votes
1 answer

I need precompile assets every time I've made any change to see difference in browser

Like as I mentioned in title - I have to precompile assets every time I've made any change to see how it looks like - I've tried config.assets.compile = true, without success. I've also tried RAILS_ENV = 'development' but with same effect. Please…
lukaszkups
  • 5,790
  • 9
  • 47
  • 85
5
votes
1 answer

Use grunt with browser-refresh

I'm currently using browser-refresh to restart my node server every time I make a change to my server file. I want to take this further and have my browser refresh/reload every time I make a change to an HTML file. I'm using handlebars for the…
Farid
  • 1,557
  • 2
  • 21
  • 35
5
votes
1 answer

Browser refresh by Ctrl+F5 in WebDriver using Java

I have refreshed the browser in WebDriver using java as below code: driver.navigate().refresh(); How can I do that by pressing Ctrl+F5 in WebDriver using Java?
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
4
votes
2 answers

Differentiate between F5 and browser close event in flex/actionscript

I am using the following piece of code to determine the closure of browser window and it works perfectly. But the issue arises when the user refreshes the page using "F5" or clicking browser refresh button and even in that case the same piece of…
Arun
  • 311
  • 3
  • 7
  • 15
4
votes
1 answer

Redundant data insert in table from Jsp page

I have one jsp page and after filling that page it goes to another report page which is readonly. On click submit on first form, it goes to second report page and saved data into database. I have back button on report second form ,or i refresh page…
VIvek
  • 81
  • 1
  • 3
3
votes
1 answer

Change URL on click of browser refresh button

I have a login.aspx page. There is a validation in another page say FirstPage.aspx once login successful, and if the validation fails,page will be redirected back to "login.aspx?status=false". Then the error message is assigned a label in Login.aspx…
TEST
  • 31
  • 2
3
votes
1 answer

AngularJS $timeout sometimes works sometimes doesn't

I'm experiencing some problems with AngularJS and $timeout. I need to run some code, after the page is loaded. Http.get() loads items and ng-repeat displays them in table. Then I need to run the code to highlight row when I click it. I found a…
1
2 3 4 5 6