How to make Safari warn me with a pop-up window before closing a tab? Whether it is Chrome, Firefox or Safari, I always encounter this problem. I stream this video and let it loads for like 30 minutes so I can watch. Meanwhile, I navigate through my 10 other tabs. At some point I want to check how's the progress on the streaming video download. But all of a sudden, I accidentally click on the little cross that's hidden to close on the video tab and al the download is lost!

I'm using Safari, so I need a fix for this browser, maybe Chrome too. I noticed that if I'm on Safari and the page is a form and I accidentally close the tab, it warns me if I'm sure I want to close the tab. I wish it could do the same for any tab.

Does anyone know a trick or extension that would help?
Instead of using your mouse you can use the keyboard to cycle through the tabs. The keys Ctrl+Tab will go forward through your ten tabs and Ctrl+Shift+Tab will go backward. At no time will these key commands close a tab by mistake.

Should you want to close a tab however you can achieve this with Command+W. Once you've finished using your browser you can close it with Command+Q.

Edit: Further to my answer in the latest version of Safari you have the ability to pin tabs. Once a tab is pinned the only way to close it is to right click it with the mouse and select "close tab" Even the Command + W keyboard combination won't close it.