I have JavaScript that is doing activity periodically. When the user is not looking at the site (i.e., the window or tab does not have focus), it'd be nice to not run.  Is there a way to do this using JavaScript?  My reference point: Gmail Chat...
What is the difference between window.location.href and window.open () methods in JavaScript?...
In JavaScript when to use window.opener / window.parent / window.top ?...
I want to run a psychological study for which participants have to look at large images.  The experiment is done on the web and therefore in a browser window. Is it possible to tell the browser to go into fullscreen, for example on button press?  I k...
I want to open popup window when browser closed or closed tabs....
In JavaScript, there is a method window.getSelection(), that lets me get the current selection that the user has made.  Is there a corresponding function, something like window.setSelection(), that will let me set, or clear, the current selection?...
This is not something we'd normally do but we're trying load a video into the blank window opened by a clickTag (from a banner ad) - and make it feel like a modal window as much as possible.  Is it possible to use javascript to self-resize th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.