mapet
mapet

Reputation: 878

How to disable browser close button

is there way to disable browsers close button and it will open after voting my polls. like firefox using JavaScript or jquery? i created an auto open browser using C# for every 10am it will open my intranet web page and i want all viewers to vote my polls before leaving my page..

Upvotes: 0

Views: 2537

Answers (1)

Quentin
Quentin

Reputation: 943207

No. It is absolutely impossible for a webpage to prevent users from closing or otherwise leaving it.

The unscrupulous would love to be able to display an unclosable window of rotating adverts to everyone who visited their website.

Upvotes: 2

Related Questions