This question already has answers here:
Communication between tabs or windows
(9 answers)
Closed 5 years ago.
is there any way in any programming language to reload the webpage even if that particular browser tab is not active. In simple term i want to reload the web page by doing some other work on different tabs.
you have to check inactivity of user using java script then refresh the same page like
<head>
Related
This question already has answers here:
How can I detect a user about the exit the page? [closed]
(3 answers)
Closed 2 years ago.
Does anyone know if it's possible to show a popup model on page exit(close tab/refresh/go back) with images and text using Javascript/jQuery?
The closest thing I found was beforeunload but it seems to only show an alert prompt with a predefined message.
I don't think modern browsers support a custom message in the beforeunload modal popup. Check this post for a discussion on browser compatibility
This question already has answers here:
How to detect a mobile device using jQuery
(66 answers)
Closed 4 years ago.
For example when someone visit my website he see a page for downloading an app
Use navigator.platform to get the platform of the browser. According to it open different pages.
This question already has answers here:
Hiding the address bar of a browser (popup)
(11 answers)
Closed 6 years ago.
I have a exam on html with php, and i just want disable the address bar and even make it on a full size.
May i change it before the login but, i dont know how to do that by php.
Thank you for you help.
Hit F11.. There is no other way to do this.
This question already has answers here:
How to Detect Browser Window /Tab Close Event?
(8 answers)
Closed 7 years ago.
I know about window.onbeforeunload, but that also executes when the user clicks on a link or refreshes the page, while I want my function to only execute when the browser or tab is closed. Is there a way to do that?
AFAIK the only options are unload and onbeforeunload so I would say the answer to your questions is "no".
https://developer.mozilla.org/en-US/docs/Web/Events/unload
This question already has answers here:
Making a window pop under in chrome
(8 answers)
Closed 7 years ago.
I want to open a pop-under window on click, but I want to open it behind the current window.
I google this and found nothing useful about my problem.
Is there a way to do it?
Perhaps a simple path setting is what you need. Use this within a javascript sequence:
path = window.document.URL;
window.open(path,"_self");