Java script that would force closing of parent window without notifying or asking user for permission.
When parent window close the new window (300 x 200) open at the center of the screen. To find center of the screen java script would read user window width and height and based on that open and position window at the center. The pop-up window should not be resizable but user should be able to move it or close it.
The new pop-up window have to be application window not browser window.
The center of the pop-up window to include html page with following links:
"Continue browsing Internet"
"End all Internet sessions"
When "Continue browsing Internet" is clicked following happens:
open standard browser window
go to user saved home page, if not set go to [url removed, login to view]
replace html page at the center of pop-up window with new one that would display message "Loading Home Page". Under this message add progress bar that would receive real time % of loading user home page.
close pop-up window when 100% loaded or if 100% is not completed in 8 seconds
When "End all Internet sessions" is clicked following happens:
replace center html page of pop-up window with new one that would display message "Good Bye"
if dialup connection was used disconnect modem (build full function to verify this depending on user OS - Linux or Windows)
wait 2 seconds
announce "Good Bye" message
close pop-up window
Important issue is to pay attention on user OS (Linux, Solaris or Windows). If user is using any of above-mentioned OS and 4+ compatible browser this functions must perform as specified. If user is using any other OS or browser other than 4+ this function should be disabled. Also if user is using AOL trough dialup connection regardless on OS or browser version than this function should stay disabled. The reason for it is if the main AOL browser window is closed it can cause modem disconnection.
This project ("close parent window without notifying") requires lot of small functions that need to interact with the hardware and software. Please pay attention to all of them.
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.