Jump to content

Run JavaScript in popup

Mornincupofhate

So basically I already know that JavaScript will just stop if another tab has been opened, but will it stay running if it's in a popup window under the current window the user is in? (Don't have access to a computer rn so I can't test it lel)

Link to comment
Share on other sites

Link to post
Share on other sites

well, i'm no web developer by any stretch of the imagination, so i guess it'd be as if it was a seperate browser window, which at that point depends on how the browser handles seperate windows (which i guess is "keep running on whatever is the selected tab")

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, Mornincupofhate said:

JavaScript will just stop if another tab has been opened

This isn't true. Most browsers will place limits on what an inactive tab can do so as to not waste resources but Javascript will still be running

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×