/    Sign up×
Community /Pin to ProfileBookmark

Unclosable Window

Hello,

I am developing an application for a company that has an information popup at one point that needs to not be closable by any method (or almost any method) by the user of the web application until they do something very specific on the popup where I can then do a self.close();

Does anyone know how to do this?

to post a comment
JavaScript

11 Comments(s)

Copy linkTweet thisAlerts:
@steelersfan88Mar 18.2004 — why would you want to do this? the user will find a way, and turn off the computer if desperate.

if it an application, why are you using javascript, it wasn't made for applications. You should be using java, c, c++, pascal, basic, etc..
Copy linkTweet thisAlerts:
@Haafiz_DossaauthorMar 18.2004 — the user won't turn off the computer or reboot or anything. they just need to not be able to close it. and the reason it's being done on the web is so that the program is accessable from anywhere in the world without installing software.
Copy linkTweet thisAlerts:
@VladdyMar 18.2004 — You need to adjust your server side logic so that it takes into account user ability to manipulate browser window the way they see fit, that includes closing it.

Programming 101:

"User will find a way... and you better be ready for it" ? ? ?
Copy linkTweet thisAlerts:
@steelersfan88Mar 18.2004 — why not make it an application with ... uh ... Visual BASIC. You don't need software to make it executable (it does cost money, but you take off the control box.

The user might resort to that, if they can't find a way to close it, especially those who don't both with the task manager and are impatient.
Copy linkTweet thisAlerts:
@Haafiz_DossaauthorMar 18.2004 — Well I know that if they really really really REALLY want to they can close it through extreme means such as end proccess, etc... But I just need a way to make it unclosable by stupid users like maybe an alert() or soemthing coming up when they try to close it.
Copy linkTweet thisAlerts:
@VladdyMar 18.2004 — Programming 102:

"Never under-estimate the intelligence of your users"
Copy linkTweet thisAlerts:
@Haafiz_DossaauthorMar 18.2004 — In an international corporation with thousands of employees, I'm sure there are some stupid people that will be using the application. Are you basically saying what I want cant be done?
Copy linkTweet thisAlerts:
@VladdyMar 18.2004 — What I'm telling is that the solution to your problem is on the server side...
Copy linkTweet thisAlerts:
@Haafiz_DossaauthorMar 18.2004 — hmmm... could u give a bit more detail by what you mean by that
Copy linkTweet thisAlerts:
@VladdyMar 18.2004 — If you give me more details about the flow of your application and why that popup can not be closed...
Copy linkTweet thisAlerts:
@Maty_May 28.2008 — Hey,

I need to figure out the same thing.

I am loading questions for an IPT assessment into visual basic.

I want the students to load the program and then not be able to close it (hence, not be able to cheat).

Could someone please help?

Thanks
×

Success!

Help @Haafiz_Dossa spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,
)...