简体   繁体   中英

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..

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM