Questions tagged [browser-refresh]

86 questions
0
votes
1 answer

Detect F5 browser refresh from angular-ui-router

Actually, I want to be able to handle page refreshing from AngularJS directly and not from plain JS with the following known solution: window.onbeforeunload = function () { // handle the exit event }; I found that we can detect it with ngRoute…
Alexandre D.
  • 711
  • 1
  • 9
  • 28
0
votes
0 answers

Trying to create a node server that refreshes with file changes , html, js or css

So I have a basic express app and I'm trying to have it refresh with file changes , I've tried reload, supervisor, nodemon and browser-refresh with no luck , any tips. Here's my app.js const path = require('path') const express =…
0
votes
1 answer

Invariant Violation: Objects are not valid as a React child. Check the render method of `Content`

I am getting the above error once I am refreshing the page and reloading the same props by getting it from the state.I am not able to find why is it happening while reload of page , on first load page is loading fine. const Content = (props) => { …
Gorakh Nath
  • 9,140
  • 15
  • 46
  • 68
0
votes
1 answer

How to revert to the home page of the app when user reloaded the browser refresh button?

const confirmExit = (e) => { let dialogText = 'You have unsaved changes. If you leave this page all changes will be lost. Do you wish to continue?'; e.returnValue = dialogText; return dialogText; } window.onbeforeunload…
user3278612
  • 201
  • 2
  • 11
0
votes
1 answer

Detecting browser refresh in meteor

I have a container template called "questionnaire" which displays question one after another on click of next button. When next button is clicked, there is some logic in the background that will provide me the route of next question. And I will just…
user4523328
0
votes
1 answer

i am not able to keep my wicket form fields blank after browser refresh once they are submitted on the page. my fields are present in a group box

I am not able to keep my wicket form fields blank after browser refresh once they are submitted on the page; my fields are present in a group box. I have a wicket form with a group box which is having a date picker and text field. If I am entering…
0
votes
1 answer

How to maintain state of page with tabs on browser refresh

In ExtJs, what is the best way to handle Browser refresh? Say, I've a page with two tabs A and B and the token when tab A is active is #mytoken/:someidforA and the token when tab B is actibe is #mytoken/:someidforB How do we ensure that the page…
Yellen
  • 1,785
  • 16
  • 35
0
votes
1 answer

Apache2 - It seems that rewrite condition is not always applied

I would like to redirect to /lost/index.php only when the image file does not exists. When I try it - it seems that it does not work on browser refresh If I invoke it with a file which exists on the server /images/image1.jpg it shows me a file…
szydan
  • 2,318
  • 1
  • 15
  • 16
0
votes
3 answers

When Refresh the browser previous data loading in gridview in asp.net

I have one asp.net page with two gridview using updatepanel.when i click the submit button data inserting in db and update the gridview. i'm handling duplicate insertion of same data when refresh the page. but the problem is when i refreshing the…
nichu09
  • 882
  • 2
  • 15
  • 44
0
votes
0 answers

refresh / clear / redraw page with content from a different location

I've put together some code to search through a directory and for all the jpg images it finds, display thumbnails and my required iptc and exif info. The problem is that I have many, many directories of photos and as it is I need an index.php file…
0
votes
2 answers

jQuery, Forms, Browser Refreshes

I have a large form with some fields values dependent on previous elements. I use jquery's .trigger event to trigger the dependent field's update functions. When I refresh the page (click reload or click back), the previous values selected are still…
Eric Cope
  • 877
  • 1
  • 12
  • 25
0
votes
1 answer

Refreshing websites and temporary connection loss

I want to display a refeshing external Website continously on a monitor. The Website already contains an internal refresh (let's say every 30 seconds). The Problem that appears right now is that in case of any connection loss the website tries to…
0
votes
1 answer

How would you refresh the page like the act of the refresh button in your browser window?

I have searched in Google and on here as I always do, but I have not found the answer I am seeking. This pertains to a specific example and I will reference question : PHP Trying To Figure out A way to Refresh Session on Browser Refresh as this is…
Yoda
  • 79
  • 6
0
votes
1 answer

How to parse all the elements in Selenium Webdriver using Java for a webpage which is continously refreshing for 4 seconds periodically?

I am trying to find some elements, from a web page which is continuously refreshing for 4 seconds periodically. So when I am trying to detect some of the page elements after parsing the web page,it is throwing exception as…
0
votes
1 answer

WebBrowser.Navigate refresh every X minutes

I am making an application using VB6 in which a WebBrowser window is launched using this code, and it refreshes the page every 3 minutes Private Sub Form_Load() WebBrowser1.Navigate ("http://www.google.com") End Sub Private Sub T_Timer() …
Nizar Bark
  • 17
  • 7